Getting multiple OHLCV candles with API with one request

Getting multiple OHLCV candles with API with one request

Manage alerts

Loading saved threads...

Leonardo Fernandes · External communityPost link
External question — Bitcoin Stack Exchange Author: Leonardo Fernandes Original post: https://bitcoin.stackexchange.com/questions/66432 License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/ Adaptation: HTML converted to plain text; contact email addresses removed. i don't know if this is the right place to ask this, but i haven't found a proper one to do so, so here we go : I wanna get only the LAST OHLCV candle from multiple markets with the cryptocompare api using only one request. Is that possible ? For example : I can get multiple coin prices using only one request by doing this : https://min-api.cryptocompare.com/data/pricemulti?fsyms=NXT,OK,XRP,LTC,1ST,PAY,XVG,XLM,BCH&tsyms=BTC&e=Bittrex I want to do the same thing, but getting the last OHLCV (1 min, 5 min, 15 min...etc) instead. Is that possible ? If it is, can someone explain me how to do it ? If cryptocompare does not support this, is there any other API that allow me to do this ? Thanks in advance!
Quote
Report
Laser-Lance · External communityPost link
External answer — Bitcoin Stack Exchange Author: Laser-Lance Original post: https://bitcoin.stackexchange.com/a/73478 License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/ Adaptation: HTML converted to plain text; contact email addresses removed. You can do this with ClueDex . By default, all Bittrex markets are returned in a single query. You can specify how many candle data you wish to get with the "periodqty" parameter. In your case, you make periodqty equal to 1 for the last period. Additionally, you can create your own period, you aren't limited to the standard periods. For example, if you wanted 30-second periods, you just specify the "period" parameter as 30S. If you had a need to go back in time Cluedex also has the capability to do that, too. The only drawback is, if it even is one, is that it's not a free API, it's premium. However, the prices are reasonable and the data isn't cached.
Quote
Report
Digital Ebook's · External communityPost link
External answer — Bitcoin Stack Exchange Author: Digital Ebook's Original post: https://bitcoin.stackexchange.com/a/121215 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. Additionally, you can create your own period, you aren't limited to the standard periods. For example, if you wanted 30-second periods, you just specify the "period" parameter as 30S. If you had a need to go back in time Cluedex also has the capability to do that, too
Quote
Report

Post Reply

Checking account access…