data

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2018 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BarEventFromCSVFile

type BarEventFromCSVFile struct {
	gbt.Data
	FileDir string
}

BarEventFromCSVFile loads the market data from csv files. It expands the underlying data struct.

func (*BarEventFromCSVFile) Load

func (d *BarEventFromCSVFile) Load(symbols []string) (err error)

Load single data events into the stream ordered by date (latest first).

type BarEventFromSQLiteData

type BarEventFromSQLiteData struct {
	gbt.Data
	FileDir string
}

BarEventFromSQLiteData loads the market data from a SQLite database. It expands the underlying data struct.

func (*BarEventFromSQLiteData) Load

func (d *BarEventFromSQLiteData) Load(symbols []string) error

Load single data events into a stream ordered by date (latest first).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL