Directories
¶
| Path | Synopsis |
|---|---|
|
01: who you are (the key, its access and limits) and your accounts.
|
01: who you are (the key, its access and limits) and your accounts. |
|
02: the markets and their rules, then a quote (bid, ask, last) from the market stream.
|
02: the markets and their rules, then a quote (bid, ask, last) from the market stream. |
|
03: live market data: prices for two markets and the trades of one, until 20 frames came.
|
03: live market data: prices for two markets and the trades of one, until 20 frames came. |
|
04: a limit order far from the market, found again by your own id, then canceled.
|
04: a limit order far from the market, found again by your own id, then canceled. |
|
05: a market order with its exits: a take profit 1% away and a stop loss 0.5% away, placed by the API the moment it fills and kept on its servers.
|
05: a market order with its exits: a take profit 1% away and a stop loss 0.5% away, placed by the API the moment it fills and kept on its servers. |
|
06: a position whose stop loss trails the price by 0.5% and moves to break-even once the price has gone 0.5% your way, all on the API's servers.
|
06: a position whose stop loss trails the price by 0.5% and moves to break-even once the price has gone 0.5% your way, all on the API's servers. |
|
07: what an order would do now, without placing it: fill or rest, the price, the fee, the margin, the position after.
|
07: what an order would do now, without placing it: fill or rest, the price, the fee, the margin, the position after. |
|
08: a live copy of your accounts' positions and working orders: the snapshot first, then every event applied once.
|
08: a live copy of your accounts' positions and working orders: the snapshot first, then every event applied once. |
|
09: an account's history: the equity curve by day, the result of each trading day, closed positions and fills.
|
09: an account's history: the equity curve by day, the result of each trading day, closed positions and fills. |
|
10: the last 100 closed one-minute candles of a market and the one forming (final false), written to candles.csv.
|
10: the last 100 closed one-minute candles of a market and the one forming (final false), written to candles.csv. |
|
11: receive webhooks: every delivery is checked (its signature and its time) before it is trusted.
|
11: receive webhooks: every delivery is checked (its signature and its time) before it is trusted. |
|
12: what failures look like: each has a family (errors.Is), the API's code, the request id to quote to support, and details.
|
12: what failures look like: each has a family (errors.Is), the API's code, the request id to quote to support, and details. |
Click to show internal directories.
Click to hide internal directories.