You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Runs well in Gekko UI but get the follow error in gekkoga.. Not sure if it's user error or bug..
The Talib error get thrown also when run successfully in gekko ui.. " TALIB indicators could not be loaded, they will be unavailable." Which makes me think this is not my issue.
So Seems like it's specifically not passing a value to gekko params throw tulindError + paramName + ' needs to be a number';
hmmmmm.... I added a try catch to the strat and it fixed my issue... That's kinda wacky..
try {
this.addTulipIndicator('maSlow', 'sma', { optInTimePeriod: this.settings.SMA_long });
this.addTulipIndicator('maFast', 'sma', { optInTimePeriod: this.settings.SMA_short });
this.addTulipIndicator('BULL_RSI', 'rsi', { optInTimePeriod: this.settings.BULL_RSI });
this.addTulipIndicator('IDLE_RSI', 'rsi', { optInTimePeriod: this.settings.IDLE_RSI });
this.addTulipIndicator('BEAR_RSI', 'rsi', { optInTimePeriod: this.settings.BEAR_RSI });
this.addTulipIndicator('ROC_val', 'roc', { optInTimePeriod: this.settings.ROC });
} catch (error) {
console.log(error);
}
My guess is that gekkoga is trying to start papertrader.js before advisor has finished so it doesn't have the optInTimePeriod and throws error..As we are async.. Maybe try catch slow it down enough to get the results first... Or try catch prevent an blocking error somehow. ...(edited)
I'm using strat NEO..
Runs well in Gekko UI but get the follow error in gekkoga.. Not sure if it's user error or bug..
The Talib error get thrown also when run successfully in gekko ui..
" TALIB indicators could not be loaded, they will be unavailable."
Which makes me think this is not my issue.So Seems like it's specifically not passing a value to gekko params
throw tulindError + paramName + ' needs to be a number';
Would really appreciate some help.
Config is
conf.txt
Error :
err.txt
The text was updated successfully, but these errors were encountered: