backtesting.py
backtesting.py copied to clipboard
Added TP and SL into stats file.
When an algorithmic trader seeks to analyze a trading strategy, the Take Profit (TP) and Stop Loss (SL) values emerge as pivotal considerations within that strategy. Thus, an inclusion of these significant values into the stats file becomes paramount.
Agree. I ended up using the .tag and custom StrategyTrade class to accumulate all this information.