Expand description
Client configuration: the refresh token, the contour, the timeout and the base URLs.
Structs§
- Alor
Config - 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.