Broker API apps, samples and open source code
9 apps. 0 have a recorded end to end run on a demo account. The rest read Test pending until one is recorded.
Independent and unofficial
Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.
Our apps
- PipDeckOur Stream Deck plugin for MetaTrader 5 and TradeLocker, built as a TypeScript monorepo of six packages. The repo is private for now and goes public soon.Going public, TypeScript monorepo, six packages
- PipDeck for the IG APIStream Deck keys wired to IG's REST API. Planned as open source; the repo is not public yet. Your API key would stay on your machine and trading keys stay off until you arm them.Planned, Stream Deck plugin, planned as open source
- Trade Exporter for the IG APIPulls balances, open positions, activity and transactions from the IG REST API into four CSV files. It runs on your own computer.Built, Python
Sample apps by broker
- Capital.com demo order with stop and limitLogs in to the Capital.com demo host, opens one position with a stop and a limit, then reads it back.Test pending, JavaScript
- cTrader OAuth to first orderRuns the cTrader Open API OAuth 2.0 flow against the demo environment, then places one small market order on a demo account.Test pending, Python
- IBKR paper account position monitorConnects to IB Gateway on the paper port with readonly=True and prints positions and the account summary on a timer.Test pending, Python (ib_async)
- IG positions and P&L to CSVReads your open positions and realised P&L from IG and writes a CSV you can open in any spreadsheet.Test pending, Python
- MT5 trade journal exportConnects to your running MetaTrader 5 terminal, reads closed deals and writes a trade journal CSV.Test pending, Python
- OANDA streaming price loggerOpens one HTTP price stream on the fxTrade Practice host and appends each price to a CSV file.Test pending, Python