External data source cannot be called

Author: gaoyaxing24, Created: 2021-12-03 11:59:33, Updated: 2021-12-03 12:00:16

Configuration parameters are as follows:'' backtested Start: 2021-09-04 00:00:00 This is the latest version of the game. End: 2021-12-02 period: 1d basePeriod: 1h exchanges: [{eid:Huobi,currency:BTC_USDT,feeder:http://171.???.???.176:8000}] 'Wow.

Please use the code:

def main():
    Log(exchange.GetAccount())
    Log(exchange.GetTicker())

** Results of the survey: **

2021-09-04 00:00:00		错误	品种订阅失败 ETH_USDT_OKEX
2021-09-04 00:00:00		信息	{'Balance': 10000.0, 'FrozenBalance': 0.0, 'Stocks': 3.0, 'FrozenStocks': 0.0}

Interface response results:

{"schema":["time","open","high","low","close","vol"],"data":[[1633276800000,3404240000,3487650000,3271000000,3322460000,651045368230523],[1633363200000,3322090000,3473950000,3310220000,3418410000,542846992534053],[1633449600000,3418570000,3630740000,3341560000,3613450000,983445094291440],[1633536000000,3612710000,3641660000,3472000000,3585080000,684538257703793],[1633622400000,3585080000,3670200000,3545340000,3620480000,564951393418883],[1633708800000,3620110000,3646720000,3533330000,3600010000,389192127575613],[1633795200000,3600010000,3609090000,3482560000,3557440000,451505089887205],[1633881600000,3557440000,3621580000,3371420000,3593560000,662805336135916],[1633968000000,3593380000,3601370000,3403800000,3505370000,635862976758461],[1634054400000,3505090000,3532240000,3412060000,3485010000,440569625792859],[1634140800000,3485510000,3818450000,3476320000,3808010000,763274554717094],[1634227200000,3808010000,3860000000,3734410000,3790930000,605280070311598],[1634313600000,3790850000,3970000000,3788440000,3907290000,583565933228981],[1634400000000,3907290000,3919280000,3758390000,3788200000,435941894673365],[1634486400000,3788200000,3893810000,3640360000,3760600000,718030641094620],[1634572800000,3760700000,3862990000,3695580000,3774690000,465370040685930],[1634918400000,3966450000,4097350000,3890000000,4086110000,640319909991479],[1635004800000,4086110000,4186000000,3983740000,3999700000,556350486153852],[1635091200000,3999690000,4212000000,3961690000,4209880000,469628800899727],[1635177600000,4209890000,4257890000,4133010000,4186820000,374507391996595],[1635264000000,4186820000,4313000000,3932060000,3993590000,1290044162352029],[1636819200000,4679910000,4701990000,4567990000,4583990000,278347848524744],[1636905600000,4583990000,4768570000,4515000000,4648990000,524983830693040],[1636992000000,4648990000,4659990000,4105260000,4286090000,1177163056441276],[1637078400000,4285780000,4330180000,4063410000,4174190000,703326277035765]]}

The question describes:After the current interface is written according to the , it is not a problem to call the interface directly and get the data.And the data interface received no requests.If you are interested in learning more about the API, please contact us at:


More

gaoyaxing24The first is: http://171.???.???.176:8000 Access has a data response, the path is: http://171.???.???.176:8000/data The second. I've tried to do this test, and the reference is just to get a better understanding, so I tried: 1. BTC_USDT 2. ETH_USDT A. HUOBI B. OKEX C. Bian D. BITFINEX I have tried all the combinations of numbers and letters, and the only thing that stuck is that it was saved. The key point is that no matter how the request is made, the server does not respond.

The Little Dreamhttp://171.???.???.176:8000 This address is in your local browser. Also, here it shows: Variety subscription failed ETH_USDT_OKEX is OK. What is the configuration of the token? exchanges:

The Little DreamTo refresh the page, first configure the custom data source address: http://171.???.???.176:8000/data, and then add the exchange object.