Changes

Jump to navigation Jump to search

Why There Is Mismatch On Strategy Positions Tab

32 bytes added, 11:59, 4 August 2017
=== FA accounts from Interactive Brokers ===
Interactive Brokers don’t API does not provide cumulative broker position for FA accounts through their API , that is why the broker position is for the F master account can be reflected as '''zero''' on the Open Positions/Strategy Positions tab tabs of the Order and Position Tracker.If a strategy’s calculation depends on the net position at broker for multiple accounts, then the [[GetPositionQuantity]] command can be used to calculate the net position across the required accounts for the specified instrument. If autotrading is to be reastartedrestarted, it is possible to manually assign the total position for the strategy on start, or use the [[ChangeMarketPosition]] to assign the calculated position and average entry price to the strategy.
After that is done - [[MarketPosition_at_Broker_for_The_Strategy]] and [[CurrentContracts]] will return the strategy position.

Navigation menu