KLineEntity.fromCustom constructor

KLineEntity.fromCustom({
  1. required double amount,
  2. required double open,
  3. required double close,
  4. double? change,
  5. double? ratio,
  6. int? time,
  7. required double high,
  8. required double low,
  9. required double vol,
  10. double? mac_high,
  11. double? mac_upper,
  12. double? mac_low,
  13. double? mac_lower,
  14. double? mac_high_1,
  15. double? mac_upper_1,
  16. double? mac_low_1,
  17. double? mac_lower_1,
  18. double? rsi,
  19. double? rsi_signal,
  20. String? rsi_flag,
  21. String? stochastic_kd_flag,
  22. double? moving_average,
  23. double? top_box,
  24. 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,
});