mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix: rename useHeikinAshi to heikinAshi in config
This commit is contained in:
parent
f5007752b2
commit
aa8d188d15
|
@ -4,7 +4,7 @@ sessions:
|
||||||
exchange: binance
|
exchange: binance
|
||||||
futures: true
|
futures: true
|
||||||
envVarPrefix: binance
|
envVarPrefix: binance
|
||||||
useHeikinAshi: false
|
heikinAshi: false
|
||||||
|
|
||||||
exchangeStrategies:
|
exchangeStrategies:
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
sessions:
|
sessions:
|
||||||
binance:
|
binance:
|
||||||
exchange: binance
|
exchange: binance
|
||||||
useHeikinAshi: true
|
heikinAshi: true
|
||||||
envVarPrefix: binance
|
envVarPrefix: binance
|
||||||
|
|
||||||
exchangeStrategies:
|
exchangeStrategies:
|
||||||
|
|
|
@ -213,7 +213,7 @@ type ExchangeSession struct {
|
||||||
|
|
||||||
Exchange types.Exchange `json:"-" yaml:"-"`
|
Exchange types.Exchange `json:"-" yaml:"-"`
|
||||||
|
|
||||||
UseHeikinAshi bool `json:"useHeikinAshi,omitempty" yaml:"useHeikinAshi,omitempty"`
|
UseHeikinAshi bool `json:"heikinAshi,omitempty" yaml:"heikinAshi,omitempty"`
|
||||||
|
|
||||||
// Trades collects the executed trades from the exchange
|
// Trades collects the executed trades from the exchange
|
||||||
// map: symbol -> []trade
|
// map: symbol -> []trade
|
||||||
|
|
Loading…
Reference in New Issue
Block a user