repair_tx_missing#

API documentation for tradeexecutor.state.repair.repair_tx_missing Python function.

repair_tx_missing(portfolio, t)[source]#

Repair a trade which failed to generate new transactions..

  • Make a counter trade for bookkeeping

  • Set the original trade to repaired state (instead of planned state)

Parameters:
Return type:

TradeExecution