Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistorySnaphsot ¶ added in v0.3.1
type HistorySnaphsot struct { Price candle.HistoryFloat32 BuyBestCount candle.HistoryFloat32 SellBestCount candle.HistoryFloat32 BuyBestVolume candle.HistoryFloat32 SellBestVolume candle.HistoryFloat32 BestAsk candle.HistoryFloat32 BestBid candle.HistoryFloat32 VolumeClusters []map[float64]float64 }
type Strategy ¶
type Strategy interface { Name() string BuySignal(snap HistorySnaphsot) bool SellSignal(snap HistorySnaphsot) bool }
Click to show internal directories.
Click to hide internal directories.