data

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BarEventFromCSVFile

type BarEventFromCSVFile struct {
	backtest.Data
	FileDir string
}

BarEventFromCSVFile is a data struct, which 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 loads single data endpoints into a stream ordered by date (latest first).

type BarEventFromSQLiteData

type BarEventFromSQLiteData struct {
	backtest.Data
	FileDir string
}

BarEventFromSQLiteData is a data struct, which 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 loads single data endpoints 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