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.