double_position#

API documentation for tradeexecutor.cli.double_position Python module in Trading Strategy.

Module description#

Check for double positions.

Functions#

check_double_position(state[, printer])

Check that we do not have multiple positions open for the same trading pair.