-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Finalize Trades #1342
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Enhancement description
I have a bit of an issue with how if one sets
finalize_trades=Falsethe BT algo does not do/open the last trade, even if the signals are there for it to BUY/SELL, it does not implement it becauseFalsedoes not allow it to close the trade, hence it skips it altogether.I think a change should be made here. If you set
finalize_trades=Falseit should do the trade with_tradehistory showing theEntryPrice, withExitPriceof course being blank (since it has not trade signal to close).It would be a great improvement I think, in helping algo traders a lot.
Code sample
Additional info, images
No response