open_missing_position#
API documentation for tradeexecutor.strategy.account_correction.open_missing_position Python function.
- open_missing_position(strategy_universe, state, pricing_model, correction)[source]#
“We have tokens for a trading pair, but no position is closed.
Fix by initialising a new open position
- Parameters:
strategy_universe (TradingStrategyUniverse) –
state (State) –
pricing_model (PricingModel) –
correction (AccountingBalanceCheck) –