Documentation ¶
Index ¶
- func CleanupDummyDataDir(root string)
- func MakeDummyCurrencyDir(root string, withdata, withGaps bool) map[string]int
- func MakeDummyStockDir(root string, withdata, withGaps bool) map[string]int
- func ParseT(s string) time.Time
- func WriteDummyData(f *os.File, year, tf string, makeGap, isStock bool) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupDummyDataDir ¶
func CleanupDummyDataDir(root string)
func MakeDummyCurrencyDir ¶
MakeDummyCurrencyDir makes dummy data directories for 3 symbols * 6 timeframes * 3 years (= 54 directories) and insert data. symbols: ["EURUSD", "USDJPY", "NZDUSD"] timeframes: ["1Min", "5Min", "15Min", "1H", "4H", "1D"] attribute group: OHLC years: [2000, 2001, 2002] returns: map[string]int key: absolute path to a data file for the bucket, value: how many dummy records are written
func MakeDummyStockDir ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.