1: client() activate ccxt ccxt->>okx: 1.1.1: okx-->>ccxt: 1.1.1: deactivate ccxt ctms-admin->>ctms-gateway: 2: send() activate ctms-gateway ctms-gateway->>ccxt: 2.1: watch() activate ccxt ccxt->>okx: 2.1.1: subscribe() okx-->>ccxt: 2....
exchange = ccxt.okcoin()# 默认idokcoin1 = ccxt.okcoin({'id':'okcoin1'}) okcoin2 = ccxt.okcoin({'id':'okcoin2'}) id_ ='okcoin'okcoin3 =eval('ccxt.%s()'% id_) okcoin4 =getattr(ccxt,'okcoin')() exchange_id ='binance'exchange_class =getattr(ccxt, exchange_id) exchange...
服务端准备一个用户授权的接口,假设接口链接为http://test.dev.com/user/authorization,此接口接受如下参数 code:微信登陆接口返回的登陆凭证,用户获取session_key iv:微信小程序登陆接口返回的向量,用于数据解密 encrypted_data : 微信获取用户信息接口的返回的用户加密数据,用于后端的接口解析 signature加密数据 接口返回...
exchange = ccxt.okcoin()# 默认idokcoin1 = ccxt.okcoin({'id':'okcoin1'}) okcoin2 = ccxt.okcoin({'id':'okcoin2'}) id_ ='okcoin'okcoin3 =eval('ccxt.%s()'% id_) okcoin4 =getattr(ccxt,'okcoin')() exchange_id ='binance'exchange_class =getattr(ccxt, exchange_id) exchange...