Guides¶
Use these guides to understand how FiveTwenty works or solve an integration problem. For a first connection, start with the tutorials.
Understand the library¶
- SDK architecture: how requests, response models and streams fit together.
- Async and sync clients: choose a client and manage connections and streams.
- Configuration: supply credentials and learn which settings take priority.
- Practice and live environments: select and verify the target account.
- Application patterns: connection reuse, decimal arithmetic and error handling.
Understand OANDA data¶
- Forex concepts: instruments, units, prices, margin and currency conversion.
- Market data and streaming: snapshots, sampled pricing updates and transaction records.
- Order types: pending orders, position effects and dependent orders.
Complete an API task¶
- Configure live access.
- Handle connection failures.
- Close a trade or position.
- Create, replace and cancel orders.
- Manage stop-loss orders.
- Configure multiple accounts.
Measure and improve performance¶
The performance guides explain how to reuse connections, keep up with streams, control memory usage and measure latency. Start with measurements from your application to decide which changes will help.
Use the API reference alongside these guides when you need a full parameter table or return type.