mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
save market object in the trading context
This commit is contained in:
parent
965ab59580
commit
57f4d56ec5
|
@ -12,6 +12,7 @@ type TradingContext struct {
|
|||
Trades []Trade
|
||||
TradeStartTime time.Time
|
||||
Symbol string
|
||||
Market Market
|
||||
}
|
||||
|
||||
func (c *TradingContext) AddKLine(kline KLine) KLineWindow {
|
||||
|
|
Loading…
Reference in New Issue
Block a user