Skip to content

Commit

Permalink
Resolve invalid account code for non-FA accounts (#55)
Browse files Browse the repository at this point in the history
* Debug experiments

* Only subscribe to account pnl for "All" accounts if this is an FA account.

Resolves #54.
  • Loading branch information
chipkent authored May 11, 2022
1 parent c7dee3c commit 74d56eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deephaven_ib/_tws/tws_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,9 @@ def _subscribe(self) -> None:
# self.requestFA(2) # request PROFILE. See FaDataTypeEnum.
self.requestFA(3) # request ACCOUNT ALIASES. See FaDataTypeEnum.

self.request_account_pnl("All")

self.request_account_summary("All")
self.request_account_pnl("All")
self.request_account_overview("All")
self.request_account_positions("All")
self.reqManagedAccts()
Expand Down

0 comments on commit 74d56eb

Please sign in to comment.