diff options
| author | Dan Rostovtsev <dan@rostovtsev.org> | 2026-04-06 15:48:14 -0400 |
|---|---|---|
| committer | Dan Rostovtsev <dan@rostovtsev.org> | 2026-04-06 15:48:14 -0400 |
| commit | 0716a22d1fab76a18606ec031d33914ccbc56633 (patch) | |
| tree | d63cc7ee4fd73bac935a776d09dc0ec78c8335e2 /test/order-example.json | |
| parent | 2c6cf786c151118232533a6cfbc769ce1514aa9e (diff) | |
* doc/ibkr.org: Docs for using the IBKR API.
* manifest.scm: Guix Manifest of all project dependencies.
* scripts/run-gateway.bash: A script for building and deploying the
IBKR Client Gateway.
* src/ibkr/api.scm: Support for specific endpoints, and generic tools
for using the IBKR API.
* src/ibkr/types.scm: Basic types for the IBKR endpoints. Orders,
positions, securities, etc.
* test/*.json: IBKR response and request examples for testing.
* test/api.scm: Response handling and endpoint construction.
* test/types.scm: Tests JSON parsing of IBKR requests and responses.
Diffstat (limited to 'test/order-example.json')
| -rw-r--r-- | test/order-example.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/order-example.json b/test/order-example.json new file mode 100644 index 0000000..43f5a02 --- /dev/null +++ b/test/order-example.json @@ -0,0 +1,32 @@ +{ + "acctId": "U1234567", + "conid": 265598, + "conidex": "265598@SMART", + "manualIndicator": true, + "extOperator":"person1234", + "secType": "265598@STK", + "cOID": "AAPL-BUY-100", + "parentId": "None", + "orderType": "TRAILLMT", + "listingExchange": "NASDAQ", + "isSingleGroup": false, + "outsideRTH": true, + "price": 185.50, + "auxPrice": 183, + "side": "BUY", + "ticker": "AAPL", + "tif": "GTC", + "trailingAmt": 1.00, + "trailingType": "amt", + "referrer": "QuickTrade", + "quantity": 100, + "useAdaptive": false, + "isCcyConv": false, + "strategy": "Vwap", + "strategyParameters": { + "MaxPctVol":"0.1", + "StartTime":"14:00:00 EST", + "EndTime":"15:00:00 EST", + "AllowPastEndTime":true + } +} |
