transfer_away_assets_without_position#

API documentation for tradeexecutor.strategy.account_correction.transfer_away_assets_without_position Python function.

transfer_away_assets_without_position(correction, unknown_token_receiver, tx_builder)[source]#

Transfer away non-reserve assets that cannot be mapped to an open position.

TODO: Correct approach would be to open a new trading position directly in the correction, but it’s complicated and we do not want to get there yet.

Parameters: