API reference¶
The API pages are generated from docstrings. Each covers one module's classes and functions with their parameters. Find a page with search or the table below.
| You want to | Page |
|---|---|
| Connect, read the account, place orders | AccountClient |
| Write your own broker adapter | Broker interface |
| Talk to ArenaX directly, including its clock | ArenaX client |
| Know what the Sinopac adapter does | Sinopac adapter |
| Write a strategy file | Strategy authoring, Loading strategy files |
| Write a class-based strategy | BaseStrategy, Built-in strategies, Strategy parameters |
| Get prices from any source | Market data |
| Know the fields of an order, bar or position | Models |
| Backtest in memory | Backtest engine, Cost model |
| Check orders before they are sent | Risk gate |
| Indicators, reports, news, fundamentals, LLMs, charts | Analytics section |
| Settings and where files go | Configuration and paths |
| Build a form for a script | Forms |
Page conventions:
- Each heading labelled
classorfuncis one class or function. Its first paragraph describes it; Parameters lists the arguments, Returns the return value, Raises the exceptions. - Source code under an entry expands its implementation.
- Names starting with
_are internal and omitted.
The Get started pages cover the same objects with worked examples.