question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nothing happens when 'markets' contains a large amount of symbol

See original GitHub issue

Check this or we will delete your issue. (fill in the checkbox with an X like so: [x])

  • I have searched for other issues with the same problem or similar feature requests.

Select one:

  • Bug
  • Feature Request
  • Technical Help
  • Other

Environment

  • Are you using the module on a VPS or other Cloud hosting?
  • If so, have you tried running the code on your local machine?

Hardware

  • Raspberry Pi

Operating System? (include version)

  • macOS
  • Windows
  • Linux (include flavour)

Python Version Requirement

  • x] I am using Python 3.5.3 or above

Exact Python Version?

3.7.0

Pip Version?

19.1.1

UNICORN Binance WebSocket API Version?

Did you upgrade to the latest release version with `pip install unicorn-binance-websocket-api --upgrade`?

Yes, the latest version I used

Description of your issue

Nothing happened when I tried to fetch all Binance streams. It worked with 100+ symbols, but not with 500. Is there any solution? What is the maximum number of channels?

channels = {'depth20', 'miniTicker'}

markets = ['ethbtc', 'ltcbtc', 'bnbbtc', 'neobtc', 'qtumeth', 'eoseth', 'snteth', 'bnteth', 'gasbtc', 'bnbeth', 'btcusdt', 'ethusdt', 'oaxeth', 'dnteth', 'mcoeth', 'mcobtc', 'wtcbtc', 'wtceth', 'lrcbtc', 'lrceth', 'qtumbtc', 'yoyobtc', 'omgbtc', 'omgeth', 'zrxbtc', 'zrxeth', 'stratbtc', 'strateth', 'snglsbtc', 'snglseth', 'bqxbtc', 'bqxeth', 'kncbtc', 'knceth', 'funbtc', 'funeth', 'snmbtc', 'snmeth', 'neoeth', 'iotabtc', 'iotaeth', 'linkbtc', 'linketh', 'xvgbtc', 'xvgeth', 'mdabtc', 'mdaeth', 'mtlbtc', 'mtleth', 'eosbtc', 'sntbtc', 'etceth', 'etcbtc', 'mthbtc', 'mtheth', 'engbtc', 'engeth', 'dntbtc', 'zecbtc', 'zeceth', 'bntbtc', 'astbtc', 'asteth', 'dashbtc', 'dasheth', 'oaxbtc', 'btgbtc', 'btgeth', 'evxbtc', 'evxeth', 'reqbtc', 'reqeth', 'vibbtc', 'vibeth', 'trxbtc', 'trxeth', 'powrbtc', 'powreth', 'arkbtc', 'arketh', 'yoyoeth', 'xrpbtc', 'xrpeth', 'enjbtc', 'enjeth', 'storjbtc', 'storjeth', 'bnbusdt', 'yoyobnb', 'powrbnb', 'kmdbtc', 'kmdeth', 'nulsbnb', 'rcnbtc', 'rcneth', 'rcnbnb', 'nulsbtc', 'nulseth', 'rdnbtc', 'rdneth', 'rdnbnb', 'xmrbtc', 'xmreth', 'dltbnb', 'wtcbnb', 'dltbtc', 'dlteth', 'ambbtc', 'ambeth', 'ambbnb', 'batbtc', 'bateth', 'batbnb', 'bcptbtc', 'bcpteth', 'bcptbnb', 'arnbtc', 'arneth', 'gvtbtc', 'gvteth', 'cdtbtc', 'cdteth', 'gxsbtc', 'gxseth', 'neousdt', 'neobnb', 'poebtc', 'poeeth', 'qspbtc', 'qspeth', 'qspbnb', 'btsbtc', 'btseth', 'btsbnb', 'xzcbtc', 'xzceth', 'xzcbnb', 'lskbtc', 'lsketh', 'lskbnb', 'tntbtc', 'tnteth', 'fuelbtc', 'fueleth', 'manabtc', 'manaeth', 'bcdbtc', 'bcdeth', 'dgdbtc', 'dgdeth', 'iotabnb', 'adxbtc', 'adxeth', 'adxbnb', 'adabtc', 'adaeth', 'pptbtc', 'ppteth', 'cmtbtc', 'cmteth', 'cmtbnb', 'xlmbtc', 'xlmeth', 'xlmbnb', 'cndbtc', 'cndeth', 'cndbnb', 'lendbtc', 'lendeth', 'wabibtc', 'wabieth', 'wabibnb', 'ltceth', 'ltcusdt', 'ltcbnb', 'tnbbtc', 'tnbeth', 'wavesbtc', 'waveseth', 'wavesbnb', 'gtobtc', 'gtoeth', 'gtobnb', 'icxbtc', 'icxeth', 'icxbnb', 'ostbtc', 'osteth', 'ostbnb', 'elfbtc', 'elfeth', 'aionbtc', 'aioneth', 'aionbnb', 'neblbtc', 'nebleth', 'neblbnb', 'brdbtc', 'brdeth', 'brdbnb', 'mcobnb', 'edobtc', 'edoeth', 'navbtc', 'naveth', 'navbnb', 'lunbtc', 'luneth', 'appcbtc', 'appceth', 'appcbnb', 'vibebtc', 'vibeeth', 'rlcbtc', 'rlceth', 'rlcbnb', 'insbtc', 'inseth', 'pivxbtc', 'pivxeth', 'pivxbnb', 'iostbtc', 'iosteth', 'steembtc', 'steemeth', 'steembnb', 'nanobtc', 'nanoeth', 'nanobnb', 'viabtc', 'viaeth', 'viabnb', 'blzbtc', 'blzeth', 'blzbnb', 'aebtc', 'aeeth', 'aebnb', 'ncashbtc', 'ncasheth', 'ncashbnb', 'poabtc', 'poaeth', 'poabnb', 'zilbtc', 'zileth', 'zilbnb', 'ontbtc', 'onteth', 'ontbnb', 'stormbtc', 'stormeth', 'stormbnb', 'qtumbnb', 'qtumusdt', 'xembtc', 'xemeth', 'xembnb', 'wanbtc', 'waneth', 'wanbnb', 'wprbtc', 'wpreth', 'qlcbtc', 'qlceth', 'sysbtc', 'syseth', 'sysbnb', 'qlcbnb', 'grsbtc', 'grseth', 'adausdt', 'adabnb', 'gntbtc', 'gnteth', 'gntbnb', 'loombtc', 'loometh', 'loombnb', 'xrpusdt', 'repbtc', 'repeth', 'repbnb', 'btctusd', 'ethtusd', 'zenbtc', 'zeneth', 'zenbnb', 'skybtc', 'skyeth', 'skybnb', 'eosusdt', 'eosbnb', 'cvcbtc', 'cvceth', 'cvcbnb', 'thetabtc', 'thetaeth', 'thetabnb', 'xrpbnb', 'tusdusdt', 'iotausdt', 'xlmusdt', 'iotxbtc', 'iotxeth', 'qkcbtc', 'qkceth', 'agibtc', 'agieth', 'agibnb', 'nxsbtc', 'nxseth', 'nxsbnb', 'enjbnb', 'databtc', 'dataeth', 'ontusdt', 'trxbnb', 'trxusdt', 'etcusdt', 'etcbnb', 'icxusdt', 'scbtc', 'sceth', 'scbnb', 'npxsbtc', 'npxseth', 'keybtc', 'keyeth', 'nasbtc', 'naseth', 'nasbnb', 'mftbtc', 'mfteth', 'mftbnb', 'dentbtc', 'denteth', 'ardrbtc', 'ardreth', 'ardrbnb', 'nulsusdt', 'hotbtc', 'hoteth', 'vetbtc', 'veteth', 'vetusdt', 'vetbnb', 'dockbtc', 'docketh', 'polybtc', 'polybnb', 'hcbtc', 'hceth', 'gobtc', 'gobnb', 'paxusdt', 'rvnbtc', 'rvnbnb', 'dcrbtc', 'dcrbnb', 'mithbtc', 'mithbnb', 'bchabcbtc', 'bchabcusdt', 'bnbpax', 'btcpax', 'ethpax', 'xrppax', 'eospax', 'xlmpax', 'renbtc', 'renbnb', 'bnbtusd', 'xrptusd', 'eostusd', 'xlmtusd', 'bnbusdc', 'btcusdc', 'ethusdc', 'xrpusdc', 'eosusdc', 'xlmusdc', 'usdcusdt', 'adatusd', 'trxtusd', 'neotusd', 'trxxrp', 'xzcxrp', 'paxtusd', 'usdctusd', 'usdcpax', 'linkusdt', 'linktusd', 'linkpax', 'linkusdc', 'wavesusdt', 'wavestusd', 'wavespax', 'wavesusdc', 'bchabctusd', 'bchabcpax', 'bchabcusdc', 'ltctusd', 'ltcpax', 'ltcusdc', 'trxpax', 'trxusdc', 'bttbtc', 'bttbnb', 'bttusdt', 'bnbusds', 'btcusds', 'usdsusdt', 'usdspax', 'usdstusd', 'usdsusdc', 'bttpax', 'btttusd', 'bttusdc', 'ongbnb', 'ongbtc', 'ongusdt', 'hotbnb', 'hotusdt', 'zilusdt', 'zrxbnb', 'zrxusdt', 'fetbnb', 'fetbtc', 'fetusdt', 'batusdt', 'xmrbnb', 'xmrusdt', 'zecbnb', 'zecusdt', 'zecpax', 'zectusd', 'zecusdc', 'iostbnb', 'iostusdt', 'celrbnb', 'celrbtc', 'celrusdt', 'adapax', 'adausdc', 'neopax', 'neousdc', 'dashbnb', 'dashusdt', 'nanousdt', 'omgbnb', 'omgusdt', 'thetausdt', 'enjusdt', 'mithusdt', 'maticbnb', 'maticbtc', 'maticusdt', 'atombnb', 'atombtc', 'atomusdt', 'atomusdc', 'atompax', 'atomtusd', 'etcusdc', 'etcpax', 'etctusd', 'batusdc', 'batpax', 'battusd', 'phbbnb', 'phbbtc', 'phbusdc', 'phbtusd', 'phbpax', 'tfuelbnb', 'tfuelbtc', 'tfuelusdt', 'tfuelusdc', 'tfueltusd', 'tfuelpax', 'onebnb', 'onebtc', 'oneusdt', 'onetusd', 'onepax', 'oneusdc', 'ftmbnb', 'ftmbtc', 'ftmusdt', 'ftmtusd', 'ftmpax', 'ftmusdc']

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
oliver-zehentleitnercommented, Apr 27, 2020

Binance made some restrictions 😕 https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/45#issuecomment-619419025

to stream everything from binance without much effort you can use this script: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/master/example_stream_everything.py

It works with unicorn-binance-websocket-api 1.12.0!

1reaction
oliver-zehentleitnercommented, Feb 13, 2020

This idea with “virtual stream interface” is solved with update 1.10.0: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/38

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identifying Market Trends - Investopedia
It is safe to say that if the ROC is rising, it gives a short-term bullish signal, and a bearish sign would have...
Read more >
The Efficient Market Hypothesis and its Critics
There have been several studies that suggest that “value” stocks have higher returns than so-called “growth” stocks. The most common two methods of...
Read more >
Using futures as an indicator - Fidelity Investments
The futures will move based on the section of the world that is open at that time, so the 24-hour market must be...
Read more >
Macro Notes 1: Aggregate Demand
But we assume that the market will not remain long in this situation, because firms will raise prices in response to apparent excess...
Read more >
10 Best Stocks You've Never Heard Of | Kiplinger
This lack of coverage may have nothing to do with the quality of the ... With the major stock market indices down double-digits...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found