Python中的Upstox WebSocket数据



WhatsApp @ + 91-7795780804,用于程序化交易和定制交易解决方案:https://api.whatsapp.com/send?phone=917795780804

跟随URL进行代码输入:https://www.profitaddaweb.com/2019/06/upstox-websocket-data-in-python.html

开设在线Upstox帐户进行程序交易,请访问:https://upstox.com/open-account/?f=36K0

开设在线Zerodha帐户进行程序交易,请访问:https://zerodha.com/open-account?c=ZMPEIG

支持Profit Adda,请访问:http://www.profitaddaweb.com/p/blog-page.html

开设在线交易账户以自动执行交易策略访问http://www.profitaddaweb.com/p/open-online-trading-acccount.html

尝试使用DigitalOcean自动化云平台中的交易获得免费信用访问:-https://m.do.co/c/82bbc4706da3

开设一个Binance CryptoCurrency交易账户以自动执行交易策略访问https://www.binance.com/?ref=28666653

订阅我们的YouTube频道以获取更多视频:https://www.youtube.com/profitadda

有关更多信息,请访问http://www.profitaddaweb.com

有关电报的最新消息,请加入我们的频道,访问https://t.me/profitaddaweb

在Facebook上关注我们:-https://www.facebook.com/profitaddaweb

在Linkedin上关注我们:-https://www.linkedin.com/in/profitadda/

在Twitter上关注我们:-https://twitter.com/profitadda。

6 comments
  1. Hi, Firstly, thanks for your video. I haven't seen any video regarding web sockets. I have used the same code in my account but it won't print anything in my console. could you please let me know, how to resolve this ?

  2. I have write same code but generate Exception " Exception in thread Thread-1 (most likely raised during interpreter shutdown): "

  3. How to setup a websocket without a specific exchanges installer package?

    I'm new python, I've been trying setup a websocket with bybit. I've got it to work and print a data stream with asyncio but I don't understand the asyncio package.

    I'm trying to establish the websocket, update the variable (or seperate variables) when each message us received, parase that data and send it to the appropriate table in my PostgreSQL database as each message is received.

Comments are closed.