Risk Management

Use following methods to manage risks.

Risk management is a necessary part of every successful trading strategy. In principle, you have to define how much you are willing to lose, in case a particular trade causes you to lose your capital. For these purposes, Signals Framework offers you an easy way to define this with the SetStopLoss()method. You also have to know when to close a position, when a trade is already profitable and your strategy has earned enough. In this scenario, the SetProfitTarget() method is useful for automating such behavior.


SetProfitTarget() Set a profit target to exit a trade in a profitable position.

SetStopLoss() Set a stop loss to exit a trade if price decreases by specified amount.