ChartRiskRewardFixedRiskType.AmountType
property · ChartRiskRewardFixedRiskType · cAlgo.API Since 5.2
DesktopCLICloud
Gets or sets amount mode.
Definition
public ChartRiskRewardAmountType AmountType {get;}
chartRiskRewardFixedRiskType.AmountType: ChartRiskRewardAmountType
Returns ChartRiskRewardAmountType
Examples
var riskType = new ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.Money, 100);
Print("Risk amount type: {0}", riskType.AmountType);
riskType = ChartRiskRewardFixedRiskType(ChartRiskRewardAmountType.Money, 100)
api.Print(f"Risk amount type: {riskType.AmountType}")