We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4092a01 commit 8e33a0fCopy full SHA for 8e33a0f
sysbrokers/IB/ib_contract_position_data.py
@@ -91,7 +91,7 @@ def _get_contract_position_for_raw_entry(self, position_entry) -> contractPositi
91
92
def _get_instrument_code_from_ib_position_entry(self, position_entry) -> str:
93
94
- ib_contract = position_entry.ib_contract
+ ib_contract = position_entry["ib_contract"]
95
instrument_code = self.futures_instrument_data.get_instrument_code_from_broker_contract_object(
96
ib_contract
97
)
0 commit comments