Library reference
The reference hierarchy mirrors the library interface. Choose the layer that matches your intent before choosing a namespace.
| Layer | Mental model | Namespaces | Methods |
|---|---|---|---|
| Operations | One faithful typed IG call. | 16 | 51 |
| Workflows | A multi-operation journey composed from operations. | 4 | 8 |
| Types and exceptions | Objects constructed, returned, streamed, or raised by those two layers. | 4 categories | - |
Every method documents its parameters, sync and async examples, recursive response shape, response example, limitations, and exceptions.
- Parameter and response tables use public Python field names.
- Nested request fields include Pydantic defaults and declared constraints.
ValidationErrorispydantic.ValidationError; all other named failures are exported byig_trading_lib.- Mutation workflows retain
DealConfirmationError.deal_reference; reconcile it instead of replaying the mutation.