ctrader
OfficialcTrader Open API integration for PyneCore (multi-broker)
- Broker
- CLI
- Live data
- Data provider
pip install pynesys-pynecore-ctrader
- Package
pynesys-pynecore-ctrader- Version
- 0.9.1
- Requires PyneCore
>=6.6.0- Requires Python
>=3.11- Author
- PYNESYS LLC
- Downloads (30d)
- 173
- Last release
- Jul 24, 2026
About
cTrader Open API data provider + broker + pyne ctrader CLI.
One open-source plugin serving every broker on the cTrader platform (Pepperstone, IC Markets, FxPro, …). It connects with the user's own cTrader Open API application credentials — there is no shared PyneSys secret and PyneSys never relays the trading socket.
Supported
pyne ctrader auth— OAuth2 loopback consent, storing the tokenpyne data download ctrader --list-brokers— the user's broker titlespyne data download ctrader:<broker> --list-symbols— a broker's symbols- Historical OHLCV via paged trendbar requests, and live OHLCV from spot events
- Live order execution (
pyne run --broker): MARKET / LIMIT / STOP entries, native position-attribute TP/SL/trailing brackets, atomic amends, and theProtoOAExecutionEventPUSH order stream
Multi-broker — the broker segment of the provider string
(ctrader:pepperstoneuk:EURUSD@60) selects the trading account by broker
slug (ProtoOATrader.brokerName); account_id in the config
disambiguates multiple accounts at one broker.
Broker capabilities
What the plugin's broker side delivers, as the plugin itself declares it.
- Stop orders Native
- Trailing stop Native
- TP/SL bracket Native
- Partial bracket exit Emulated
- Partial bracket exit (pyramiding) Emulated
- OCA cancel Emulated
- Amend order Partial
- Cancel all Emulated
- Reduce-only Emulated
- Order stream Native
- Fetch position Native
- Idempotency Partial
- Short selling Native
Entry points
The names PyneCore registers this package under — this is what you type in the CLI.
ctraderpynecore_ctrader:CTrader