Skip to content

Commit

Permalink
Fixed call to the correct accounts endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ystxn committed Sep 14, 2024
1 parent d303041 commit 23f7727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_positions(self):
}

try:
client.portfolio_accounts()
client.receive_brokerage_accounts()
marketdata = client.live_marketdata_snapshot(
conids = [ str(item['conid']) for item in full_positions ],
fields = list(marketdata_fields.keys())
Expand Down

0 comments on commit 23f7727

Please sign in to comment.