Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Market looks ok #217

Open
m3a4s opened this issue Sep 24, 2021 · 3 comments
Open

Market looks ok #217

m3a4s opened this issue Sep 24, 2021 · 3 comments

Comments

@m3a4s
Copy link

m3a4s commented Sep 24, 2021

when Market looks ok, bot is running...

this error comes out:

Traceback (most recent call last):
File "c:/Users/pc/Desktop/TradingTry/Binance Detect Moonings.py", line 597, in
orders, last_price, volume = buy()
File "c:/Users/pc/Desktop/TradingTry/Binance Detect Moonings.py", line 294, in buy
volume, last_price = convert_volume()
File "c:/Users/pc/Desktop/TradingTry/Binance Detect Moonings.py", line 255, in convert_volume
volatile_coins, number_of_coins, last_price = wait_for_price()
File "c:/Users/pc/Desktop/TradingTry/Binance Detect Moonings.py", line 139, in wait_for_price
if historical_prices[hsp_head]['BNB' + PAIR_WITH]['time'] > datetime.now() - timedelta(minutes=float(TIME_DIFFERENCE / RECHECK_INTERVAL)):
KeyError: 'BNBUSDT'

what's the solution ?

@Hedgenious
Copy link

Have you found the answer?

@ddkargas
Copy link

ddkargas commented Nov 22, 2021

You must have BNB symbol in files tickers & signalsample, after this ishould work!

Maybe clear cache ( delete files in dir pycache ) help...

@sungseh
Copy link

sungseh commented Aug 31, 2022

Make sure you have BNB as one of the tickers in tickers.txt. It worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants