fix: rename useHeikinAshi to heikinAshi in config

This commit is contained in:
zenix 2022-06-17 11:38:36 +09:00
parent f5007752b2
commit aa8d188d15
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ sessions:
exchange: binance
futures: true
envVarPrefix: binance
useHeikinAshi: false
heikinAshi: false
exchangeStrategies:

View File

@ -2,7 +2,7 @@
sessions:
binance:
exchange: binance
useHeikinAshi: true
heikinAshi: true
envVarPrefix: binance
exchangeStrategies:

View File

@ -213,7 +213,7 @@ type ExchangeSession struct {
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
// map: symbol -> []trade