JonPizza / trade-ogre-trader

GNU General Public License v3.0
4 stars 10 forks source link

"TypeError: 'NoneType' object is not subscriptable" #2

Open oti5 opened 8 months ago

oti5 commented 8 months ago
Traceback (most recent call last):
  File "/home/farcry/trade-ogre-trader/trader.py", line 177, in <module>
    algo_one()
  File "/home/farcry/trade-ogre-trader/trader.py", line 164, in algo_one
    buy_low(c)
  File "/home/farcry/trade-ogre-trader/trader.py", line 151, in buy_low
    price = get_day_low(coin) + 0.00000001
  File "/home/farcry/trade-ogre-trader/trader.py", line 138, in get_day_low
    binance_day_low = float(binance.get_market_info(coin)['lowPrice'])
TypeError: 'NoneType' object is not subscriptable
oti5 commented 8 months ago
[ 202437 14:54 ] [!] Order cancelled for all