KLineEntity.fromCustom constructor
KLineEntity.fromCustom({
- required double amount,
- required double open,
- required double close,
- double? change,
- double? ratio,
- int? time,
- required double high,
- required double low,
- required double vol,
- double? mac_high,
- double? mac_upper,
- double? mac_low,
- double? mac_lower,
- double? mac_high_1,
- double? mac_upper_1,
- double? mac_low_1,
- double? mac_lower_1,
- double? rsi,
- double? rsi_signal,
- String? rsi_flag,
- String? stochastic_kd_flag,
- double? moving_average,
- double? top_box,
- double? bottom_box,
Implementation
KLineEntity.fromCustom({
required this.amount,
required this.open,
required this.close,
this.change,
this.ratio,
this.time,
required this.high,
required this.low,
required this.vol,
this.mac_high,
this.mac_upper,
this.mac_low,
this.mac_lower,
this.mac_high_1,
this.mac_upper_1,
this.mac_low_1,
this.mac_lower_1,
this.rsi,
this.rsi_signal,
this.rsi_flag,
this.stochastic_kd_flag,
this.moving_average,
this.top_box,
this.bottom_box,
});