Documentation
¶
Index ¶
- func ConvertRecords(_base, _quote []model.Record) []model.Record
- func GenerateReport(_b IBot, _records []model.Record, _bridge []model.Record) float64
- func LoadData(_b IBot) map[string]map[string][]model.Record
- func SaveData(_b IBot)
- func SortCoins(_b IBot, _quote string, _bridge string)
- type BinanceBot
- type Bot
- type IBot
- type OkBot
- type ZbBot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateReport ¶
Types ¶
type BinanceBot ¶
type BinanceBot struct {
Bot
// contains filtered or unexported fields
}
func (*BinanceBot) GetPairs ¶
func (_b *BinanceBot) GetPairs() map[string][]string
func (*BinanceBot) GetRecords ¶
func (_b *BinanceBot) GetRecords(_base, _quote string) (records []model.Record, err error)
func (*BinanceBot) Init ¶
func (_b *BinanceBot) Init()
type OkBot ¶
type OkBot struct {
Bot
// contains filtered or unexported fields
}
func (*OkBot) GetRecords ¶
type ZbBot ¶
type ZbBot struct {
Bot
// contains filtered or unexported fields
}
func (*ZbBot) GetRecords ¶
Click to show internal directories.
Click to hide internal directories.