gobacktest: github.com/dirkolbrich/gobacktest/data Index | Files

package data

import "github.com/dirkolbrich/gobacktest/data"

Index

Package Files

data-csv.go data-sqlite.go

type BarEventFromCSVFile Uses

type BarEventFromCSVFile struct {
    gbt.Data
    FileDir string
}

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

func (*BarEventFromCSVFile) Load Uses

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

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

type BarEventFromSQLiteData Uses

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 Uses

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

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

Package data imports 10 packages (graph) and is imported by 1 packages. Updated 2018-08-03. Refresh now. Tools for package owners.