customized-take-profit
π Boost Your Profit by 10% with One Line? How to Use custom_roi for Precise Take Profit
custom_roi for Precise Take ProfitβοΈ custom_roi Function Overview
custom_roi Function Overviewdef custom_roi(self, trade, current_profit: float, current_time) -> float | None:
"""
Custom take profit strategy
Parameters:
- trade: Current trade object with position info
- current_profit: Current profit (float)
- current_time: Current timestamp
Returns:
- float ROI target, or None to use default ROI
"""
passπ Example: Dynamic Take Profit Based on Hold Time and Profit
β Does minimal_roi Still Apply When Using custom_roi?
minimal_roi Still Apply When Using custom_roi?β
Practical Tips
π§ Summary
PreviousSell Only When You Should! Freqtrade Quantitative Custom Exit Guide β Precise Exits, Profit WithoutNextdynamic-stop-loss
Last updated