Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamedOrder ¶ added in v0.14.17
func (*NamedOrder) Clear ¶ added in v0.14.17
func (o *NamedOrder) Clear()
type Order ¶ added in v0.14.17
type Order struct { Id uint64 `bson:"_id"` ClientOrderId string `bson:"clientOrderId"` Type string `bson:",omitempty"` Price string `bson:",omitempty"` StopPrice string `bson:"stopPrice,omitempty"` Amount string `bson:",omitempty"` Total string `bson:",omitempty"` Time string `bson:",omitempty"` // created (not submitted), // submitted, // partial-filled, filled, // partial-canceled, canceled Status string `bson:",omitempty"` Trades []Trade `bson:",omitempty"` Updated time.Time `bson:",omitempty"` }
for mongodb
type ReinforceOrder ¶ added in v0.14.17
type ReinforceOrder = NamedOrder
type SellStopOrder ¶ added in v0.14.17
type SellStopOrder = NamedOrder
type SqueezeMomentumConfig ¶ added in v0.11.11
type SqueezeMomentumConfig struct { Exchange hs.ExchangeConf Mongo hs.MongoConf Strategy SqueezeMomentumStrategyConf Robots []hs.BroadcastConf }
type SqueezeMomentumStrategyConf ¶ added in v0.11.11
type SqueezeMomentumTrader ¶ added in v0.11.11
Click to show internal directories.
Click to hide internal directories.