Giter Site home page Giter Site logo

Comments (6)

 avatar commented on June 17, 2024 1

if you're on windows, syncing with time.nist.gov solved the issue for me.

from binance-volatility-trading-bot.

jsbots avatar jsbots commented on June 17, 2024

Just sync time of your OS with time servers, solved for me.

from binance-volatility-trading-bot.

Eugnis avatar Eugnis commented on June 17, 2024

If you run in WSL2, it's known bug. Run sudo hwclock -s
Fixed with latest windows 10 insiders build

from binance-volatility-trading-bot.

gabtech722 avatar gabtech722 commented on June 17, 2024

Testing bot on testnet and just got this error:

TRXUSDT has gained 15.023% in the last 5 minutes, calculating volume in USDT
preparing to buy 698.8 TRXUSDT
Traceback (most recent call last):
File "/initrd/mnt/dev_save/BUGHUNTER/BINANCE/Binance-volatility-trading-bot/Binance-Detect.py", line 356, in
orders, last_price, volume = buy()
File "/initrd/mnt/dev_save/BUGHUNTER/BINANCE/Binance-volatility-trading-bot/Binance-Detect.py", line 228, in buy
test_order = client.create_test_order(symbol=coin, side='BUY', type='MARKET', quantity=volume[coin])
File "/usr/local/lib/python3.8/dist-packages/binance/client.py", line 1578, in create_test_order
return self._post('order/test', True, data=params)
File "/usr/local/lib/python3.8/dist-packages/binance/client.py", line 240, in _post
return self._request_api('post', path, signed, version, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/binance/client.py", line 202, in _request_api
return self._request(method, uri, signed, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/binance/client.py", line 197, in _request
return self._handle_response()
File "/usr/local/lib/python3.8/dist-packages/binance/client.py", line 230, in _handle_response
raise BinanceAPIException(self.response)
binance.exceptions.BinanceAPIException: APIError(code=-1021): Timestamp for this request was 1000ms ahead of the server's time.

from binance-volatility-trading-bot.

L0Y4L avatar L0Y4L commented on June 17, 2024

Same for me @gabtech722

from binance-volatility-trading-bot.

m3a4s avatar m3a4s commented on June 17, 2024

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 ?

from binance-volatility-trading-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.