Skip to content

Issue with POST/getMarketData #1

@sarmahsubhan

Description

@sarmahsubhan

While using the getMarketData endpoint with the following body I am getting internal server error

event_types = {
"candleType": "d",
"count": 1,
"format": "Quote",
"fromTime": "2020-12-15T00:00:01.000Z",
"toTime": "2020-12-31T23:59:59.000Z",
"type": "COMPACT"
}
symbols = ["BTC/USD"]
account = "str"
body = swagger_client.Body(account = account, event_types = event_types, symbols = symbols)

Exception:
Exception when calling OperationsApi->get_market_data: (500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Date': 'Sat, 02 Jan 2021 14:42:09 GMT', 'Content-Length': '0', 'Connection': 'keep-alive', 'Set-Cookie': '__cfduid=dc0d3d6f8b754f979d90469218c0c4ba01609598529; expires=Mon, 01-Feb-21 14:42:09 GMT; path=/; domain=.cex.io; HttpOnly; SameSite=Lax; Secure', 'Strict-Transport-Security': 'max-age=15724800; includeSubDomains', 'CF-Cache-Status': 'DYNAMIC', 'cf-request-id': '07652587970000506967b3a000000001', 'Expect-CT': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', 'Server': 'cloudflare', 'CF-RAY': '60b53eb8fa405069-BOM'})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions