Skip to content

Commit 8e33a0f

Browse files
author
rob
committed
fix error in commit
1 parent 4092a01 commit 8e33a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sysbrokers/IB/ib_contract_position_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _get_contract_position_for_raw_entry(self, position_entry) -> contractPositi
9191

9292
def _get_instrument_code_from_ib_position_entry(self, position_entry) -> str:
9393

94-
ib_contract = position_entry.ib_contract
94+
ib_contract = position_entry["ib_contract"]
9595
instrument_code = self.futures_instrument_data.get_instrument_code_from_broker_contract_object(
9696
ib_contract
9797
)

0 commit comments

Comments
 (0)