easyai / binance_api Goto Github PK
View Code? Open in Web Editor NEWContains the following binance apis: MARGIN, SPOT (normal), WEBSOCKET, WAPI, USER DATA STREAM
License: MIT License
Contains the following binance apis: MARGIN, SPOT (normal), WEBSOCKET, WAPI, USER DATA STREAM
License: MIT License
Hi,
using ur tool https://github.com/EasyAI/Simple-Binance-Trader will produce the following error in binance_api :
2020-12-10 22:30:38,746:root:update: True, type: SIGNAL, status: {'S': None, 'B': 'PLACED'}
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/root/xxx/v1/core/trader.py", line 246, in _main
books_data = self.depth_endpoint(sock_symbol)
File "/root/xxx/v1/binance_api/socket_master.py", line 85, in get_live_depths
ask_Price_List = self._orderbook_sorter_algo(copy.deepcopy(self.book_data[key]['a']), 'ask')
File "/usr/lib/python3.5/copy.py", line 155, in deepcopy
y = copier(x, memo)
File "/usr/lib/python3.5/copy.py", line 242, in _deepcopy_dict
for key, value in x.items():
RuntimeError: dictionary changed size during iteration
2020-12-10 22:30:42,047:root:quantity: 8.162372
How to reproduce:
Insert four (4) or more pairs in "TRADING_MARKETS" parameter under "settings" file and start the server (python3 run.py)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.