Gunthy

GUNBOT: The automatic profit generator => Beginners & Help => Topic started by: coinewb182 on November 19, 2017, 08:42:40 PM

Title: Undefined RSI and NaNs all around at BBRSI strategy
Post by: coinewb182 on November 19, 2017, 08:42:40 PM
I set up BBrsi strategy for the first time today on poloniex.

Log doesnt look normal to me. Many "NaN" values and one RSI with "undefined" value, as seen below

[90m2017/11/19 21:32:41[39m[33m: USDT_ETC Last Bid/Ask 17.87000001/17.95999760[39m
[90m------------------------------------------------------------------------------------------------[39m
EMA1: 17.91717106 === EMA2: 17.94524083
[90m------------------------------------------------------------------------------------------------[39m
[90m------------------------------------------------------------------------------------------------[39m
HIGH BB: 18.06110839 == SMA: 17.92764845 == LOW BB: 17.79418851
[90m------------------------------------------------------------------------------------------------[39m
[90m------------------------------------------------------------------------------------------------[39m
RSI: undefined
[90m------------------------------------------------------------------------------------------------[39m
[90m2017/11/19 21:32:42[39m[33m: Got Trading History[39m
[90m2017/11/19 21:32:42[39m[36m: Checking Open Orders[39m
[90m2017/11/19 21:32:42[39m[33m: Price to buy: NaN[39m
[90m2017/11/19 21:32:42[39m[33m: Last Bid/Strategy Exit Point: 17.87000001/NaN[39m
[90m2017/11/19 21:32:42[39m[36m: Last Ask/Strategy Entry Point: 17.95999760/NaN[39m
[33mNo new opportunities found...[39m

Undefined RSI happens once in a while but can anybody tell me what are this NaN values?
Is bot trading at all if NaN value pops in a pairs log?

Please help a newbie.
Coinewb