package
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: Feb 6, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Candle struct {
Ts int64 `bson:"ts" json:"ts"`
OHLCV `bson:",inline"`
}
type OHLC struct {
Open float64 `bson:"o" json:"o"`
High float64 `bson:"h" json:"h"`
Low float64 `bson:"l" json:"l"`
Close float64 `bson:"c" json:"c"`
}
type OHLCV struct {
OHLC `bson:",inline"`
Volume float64 `bson:"v" json:"v"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.