summaryrefslogtreecommitdiff
path: root/test/account-response.json
diff options
context:
space:
mode:
authorDan Rostovtsev <dan@rostovtsev.org>2026-04-06 15:48:14 -0400
committerDan Rostovtsev <dan@rostovtsev.org>2026-04-06 15:48:14 -0400
commit0716a22d1fab76a18606ec031d33914ccbc56633 (patch)
treed63cc7ee4fd73bac935a776d09dc0ec78c8335e2 /test/account-response.json
parent2c6cf786c151118232533a6cfbc769ce1514aa9e (diff)
First working IBKR API implementation.HEADmain
* 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/account-response.json')
-rw-r--r--test/account-response.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/account-response.json b/test/account-response.json
new file mode 100644
index 0000000..f0c048c
--- /dev/null
+++ b/test/account-response.json
@@ -0,0 +1,33 @@
+[
+ {
+ "id": "U1234567",
+ "PrepaidCrypto-Z": false,
+ "PrepaidCrypto-P": false,
+ "brokerageAccess": true,
+ "accountId": "U1234567",
+ "accountVan": "U1234567",
+ "accountTitle": "",
+ "displayName": "U1234567",
+ "accountAlias": null,
+ "accountStatus": 1644814800000,
+ "currency": "USD",
+ "type": "DEMO",
+ "tradingType": "PMRGN",
+ "businessType": "IB_PROSERVE",
+ "ibEntity": "IBLLC-US",
+ "faclient": false,
+ "clearingStatus": "O",
+ "covestor": false,
+ "noClientTrading": false,
+ "trackVirtualFXPortfolio": true,
+ "parent": {
+ "mmc": [],
+ "accountId": "",
+ "isMParent": false,
+ "isMChild": false,
+ "isMultiplex": false
+ },
+ "desc": "U1234567"
+ }
+]
+