API reference¶
Everything below is importable from the package root:
Generated from the source and its type hints. The behaviour behind each call, with examples, is in the user guide.
| Page | Contents |
|---|---|
| Connecting and trading | connect, Trader, RetryPolicy, ANY_MAGIC, AnyMagic |
| Orders and stops | Side, Stop, StopKind, PendingKind |
| Results and errors | Result, Ok, Err, TradeError, ErrorKind, BatchFailure |
| Account state | Position, PendingOrder, TradeReceipt, Tick |
| 2.x Broker (deprecated) | Broker |