mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
bbgo: add deprecation warning
This commit is contained in:
parent
31e9aa8c22
commit
334204b46a
|
@ -503,6 +503,8 @@ func (session *ExchangeSession) Indicators(symbol string) *IndicatorSet {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (session *ExchangeSession) StandardIndicatorSet(symbol string) *StandardIndicatorSet {
|
func (session *ExchangeSession) StandardIndicatorSet(symbol string) *StandardIndicatorSet {
|
||||||
|
log.Warnf("StandardIndicatorSet() is deprecated in v1.49.0 and which will be removed in the next version, please use Indicators() instead")
|
||||||
|
|
||||||
set, ok := session.standardIndicatorSets[symbol]
|
set, ok := session.standardIndicatorSets[symbol]
|
||||||
if ok {
|
if ok {
|
||||||
return set
|
return set
|
||||||
|
|
Loading…
Reference in New Issue
Block a user