QUESTION ABOUT SLOW API

QUESTION ABOUT SLOW API

do you know about api requests cryptocurrency exchanges? Simple ticker request may be viewed like this: https://api.kucoin.com/v1/open/tick or like this: https://www.okex.com/api/v1/ticker.do?symbol=ltc_btc

Different: in first case we get info about all currencies in one request and then pick up certain symbols and parameters, we need. Symbols are the keys of dictionaries or lists and other params are their values.

In second case I should create new request for each currencies I considering. Is it neccesary? If I consider, for instance 60 symbols, and do operations with them in Python - programm bot become slow enough. One-two ticker requests are long about 30 sec - for compare, in first case - 5 sec.

How can I solve this problem? Thanks.

http://ift.tt/2HpiAM0

Comments

Popular posts from this blog

Bitfinex & Market Synergy To Offer Institutional Calibre Cryptocurrency Connectivity

error : incorrect rpcuser or rpcpassword (authorization failed)