Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stoqey/aurum-broker-ibkr
IBKR broker implementation for AURUM
https://github.com/stoqey/aurum-broker-ibkr
aurum broker broker-api ibkr-broker interactive-brokers
Last synced: 21 days ago
JSON representation
IBKR broker implementation for AURUM
- Host: GitHub
- URL: https://github.com/stoqey/aurum-broker-ibkr
- Owner: stoqey
- License: mit
- Created: 2020-05-05T03:02:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T05:01:31.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T11:35:31.352Z (8 months ago)
- Topics: aurum, broker, broker-api, ibkr-broker, interactive-brokers
- Language: TypeScript
- Size: 563 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
IBKR LIVE TRADING (AURUM)
A broker implementation for aurum using IBKRProduction-ready 😎😎😎
#### [Aurum broker API v0.0.7](https://github.com/stoqey/aurum-broker-spec)
## Broker methods| Method | Progress |
| ----------------- | -------- |
| init | ✅ |
| getAccountSummary | ✅ |
| getOpenOrders | ✅ |
| getAllPositions | ✅ |
| enterPosition | ✅ |
| exitPosition | ✅ |
| searchSymbol | ❌ |
| quoteSymbol | ❌ |
| getMarketData | ✅ |
| getPriceUpdate | ✅ |## Broker events
| Method | Progress |
| ------------- | -------- |
| onReady | ✅ |
| onPortfolios | ✅ |
| onOrder | ✅ |
| onMarketData | ✅ |
| onPriceUpdate | ✅ |### Installation
```bash
npm i @stoqey/aurum-broker-ibkr
```### Usage
```ts
import { IbkrBroker } from '@stoqey/aurum-broker-ibkr';const broker = new IbkrBroker();
// register events
broker.when('onReady', async () => {
console.log('IBKR broker is ready');// Get price updates
broker.getPriceUpdate({ symbol: "AAPL" });
});broker.when("onPriceUpdate", async ({ symbol, close, ...others }) => {
console.log('on price updates data is', symbol);
});// start the broker
broker.init();```
## Other implementations
- [Mille paper trading broker](https://github.com/stoqey/aurum-broker-mille)STOQEY INC