|Top Previous Next|
value = object.BuyThreshold
object.BuyThreshold = value
The property is valid only if loaded model represents a trading strategy.
After model is loaded using OpenModel method, the BuyThreshold property returns a value used by ChaosHunter during model optimization. The property is read/write meaning that you can set a different buy threshold before calling the Predict method if you feel that the new buy threshold may work better.