-
Hello guys, thank you for wonderful tool! In my strategy I want to close trades by achievement certain conditions or modify "tp", "sl" into specific trade. For demonstration, I take the sample from "backtesting.py" and print Orders and Trades:
The output:
Q: How can I obtain access to each trade? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
By default, order size is ~1.0 meaning 100% of equity. Reduce size to 10% ( |
Beta Was this translation helpful? Give feedback.
By default, order size is ~1.0 meaning 100% of equity. Reduce size to 10% (
self.buy(size=.1, ...)
) or 10 units (self.buy(size=10, ...)
) and you should see three trades.