repair_trade#
- repair_trade(portfolio, t)[source]#
Repair a trade.
Make a counter trade for bookkeeping
Set the original trade to repaired state (instead of failed state)
- Parameters:
portfolio (Portfolio) –
t (TradeExecution) –
- Return type:
Repair a trade.
Make a counter trade for bookkeeping
Set the original trade to repaired state (instead of failed state)
portfolio (Portfolio) –
t (TradeExecution) –