Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Indicator ¶ added in v0.0.10
type Indicator interface { Name() string Overlay() bool Metrics() []IndicatorMetric Load(dataframe *model.Dataframe) }
type IndicatorMetric ¶ added in v0.0.11
type Option ¶
type Option func(*Chart)
func WithIndicators ¶ added in v0.0.10
func WithPaperWallet ¶ added in v0.0.14
func WithPaperWallet(paperWallet *exchange.PaperWallet) Option
type Order ¶
type Order struct { ID int64 `json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Status string `json:"status"` Price float64 `json:"price"` Quantity float64 `json:"quantity"` Type string `json:"type"` Side string `json:"side"` Profit float64 `json:"profit"` // Only for OCO Orders Stop *float64 `json:"stop"` OCOGroup *int64 `json:"oco_group"` RefPrice float64 `json:"ref_price"` }
Click to show internal directories.
Click to hide internal directories.