Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CsvDataLoader ¶
type CsvDataLoader struct {
// contains filtered or unexported fields
}
func NewCsvDataLoader ¶
func NewCsvDataLoader(filename string) *CsvDataLoader
func (*CsvDataLoader) HasMoreData ¶
func (l *CsvDataLoader) HasMoreData() bool
func (*CsvDataLoader) ReadData ¶
func (l *CsvDataLoader) ReadData() (result []*OrderBook)
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
func NewCsvData ¶
func (*Data) GetMaxIndex ¶
func (*Data) GetOrderBook ¶
func (d *Data) GetOrderBook() *OrderBook
type DataLoader ¶
type DataLoader interface { ReadData() []*OrderBook HasMoreData() bool }
Click to show internal directories.
Click to hide internal directories.