Binance币安交易所Websocket SDK-Python版

本文介绍Binance币安交易所Websocket SDK-Python版

# -*- coding: utf-8 -*-
#author: 比特量化

import websocket
import time,datetime
import json

if __name__ == '__main__':

    _ws_url = "wss://stream.binance.com:9443/ws/"

    symbol = "xrpusdt"
    channel = "ticker" # ticker / depth / depth5

    

猜你喜欢

转载自blog.csdn.net/bitquant/article/details/105792192