Skip to main content

Module config

Module config 

Source
Expand description

Client configuration: the refresh token, the contour, the timeout and the base URLs.

Structs§

AlorConfig
Configuration of the HTTP and WebSocket clients.

Enums§

AlorEnv
Which contour of the broker a client talks to. The two are isolated: a token of one is useless in the other.

Constants§

PROD_AUTH_BASE_URL
The authorization server of the production contour (the access token is issued here).
PROD_HTTP_BASE_URL
The production contour: real exchanges, real money. Orders go to the exchange.
PROD_WS_BASE_URL
The WebSocket host of the production contour.
TEST_AUTH_BASE_URL
The authorization server of the test contour.
TEST_HTTP_BASE_URL
The test contour: simulated data and a test account, no effect on the market.
TEST_WS_BASE_URL
The WebSocket host of the test contour.