Skip to content

Conversation

aligheshlaghi97
Copy link
Contributor

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.

@kjpou1
Copy link

kjpou1 commented Feb 17, 2024

Agree. I ended up using the .tag and custom StrategyTrade class to accumulate all this information.

@kernc kernc force-pushed the master branch 5 times, most recently from 428c361 to 0ce6cab Compare January 21, 2025 07:25
@kernc kernc merged commit a58e899 into kernc:master Jan 22, 2025
4 checks passed
mmortall pushed a commit to mmortall/backtesting-ext.py that referenced this pull request Feb 3, 2025
* Added TP and SL into stats file.

* Update column order and add test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants