2021-03-19 17:23:33 +00:00
|
|
|
[questrade]
|
|
|
|
refresh_token = ""
|
|
|
|
access_token = ""
|
|
|
|
api_server = "https://api06.iq.questrade.com/"
|
|
|
|
expires_in = 1800
|
|
|
|
token_type = "Bearer"
|
|
|
|
expires_at = 1616095326.355846
|
|
|
|
|
|
|
|
[kraken]
|
|
|
|
key_descr = "api_0"
|
2021-10-29 19:51:41 +00:00
|
|
|
api_key = ""
|
|
|
|
secret = ""
|
2021-03-19 17:23:33 +00:00
|
|
|
|
2021-07-27 12:28:44 +00:00
|
|
|
[ib]
|
2022-06-06 02:05:00 +00:00
|
|
|
hosts = [
|
|
|
|
"127.0.0.1",
|
|
|
|
]
|
|
|
|
# XXX: the order in which ports will be scanned
|
|
|
|
# (by the `brokerd` daemon-actor)
|
|
|
|
# is determined # by the line order here.
|
|
|
|
# TODO: when we eventually spawn gateways in our
|
|
|
|
# container, we can just dynamically allocate these
|
|
|
|
# using IBC.
|
|
|
|
ports = [
|
|
|
|
4002, # gw
|
|
|
|
7497, # tws
|
|
|
|
]
|
2021-03-19 17:23:33 +00:00
|
|
|
|
2022-05-27 12:01:57 +00:00
|
|
|
# XXX: for a paper account the flex web query service
|
|
|
|
# is not supported so you have to manually download
|
|
|
|
# and XML report and put it in a location that can be
|
|
|
|
# accessed by the ``brokerd.ib`` backend code for parsing.
|
|
|
|
flex_token = '666666666666666666666666'
|
|
|
|
flex_trades_query_id = '666666' # live account
|
|
|
|
|
2022-05-15 15:27:38 +00:00
|
|
|
# when clients are being scanned this determines
|
|
|
|
# which clients are preferred to be used for data
|
|
|
|
# feeds based on the order of account names, if
|
|
|
|
# detected as active on an API client.
|
|
|
|
prefer_data_account = [
|
|
|
|
'paper',
|
|
|
|
'margin',
|
|
|
|
'ira',
|
|
|
|
]
|
|
|
|
|
2022-06-06 02:05:00 +00:00
|
|
|
[ib.accounts]
|
2022-05-15 15:27:38 +00:00
|
|
|
# the order in which accounts will be selectable
|
|
|
|
# in the order mode UI (if found via clients during
|
|
|
|
# API-app scanning)when a new symbol is loaded.
|
2022-06-06 02:05:00 +00:00
|
|
|
paper = "XX0000000"
|
|
|
|
margin = "X0000000"
|
|
|
|
ira = "X0000000"
|