Bitcoin Forum
June 28, 2024, 03:46:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can you get real time market history from Bittrex Api?  (Read 180 times)
randomdark (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 08, 2018, 10:04:19 AM
 #1

Hey,

During the weekend I've created a simple bot that uses Bittrex's public API
to get the market history for a specific coin. I'm using it to measure volumes.

I've written it in python using the Bittrex python api wrapper. For some reason
I see a 20-25s lag between requests. Is this normal? Is the api throttled?

If i'm tracking a high activity coin i can lose data.
https://bittrex.com/api/v1.1/public/getmarkethistory?market=
It only returns the 100 latest ones.

Any ideas?
mocacinno
Legendary
*
Offline Offline

Activity: 3444
Merit: 5039


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
January 08, 2018, 10:10:41 AM
 #2

Hey,

During the weekend I've created a simple bot that uses Bittrex's public API
to get the market history for a specific coin. I'm using it to measure volumes.

I've written it in python using the Bittrex python api wrapper. For some reason
I see a 20-25s lag between requests. Is this normal? Is the api throttled?

If i'm tracking a high activity coin i can lose data.
https://bittrex.com/api/v1.1/public/getmarkethistory?market=
It only returns the 100 latest ones.

Any ideas?

https://bittrex.com/home/api only gives information about a limit for the amount of new and open orders you can generate trough their api on a given day:
Quote
We are currently restricting orders to 500 open orders and 200,000 orders a day. We reserve the right to change these settings as we tune the system. If you are affected by these limits as an active trader, please email support@bittrex.com.

I'd suggest you contact their support dept with your question, they'll be the only ones that can really help you

They also indicate the following:
Quote
/public/getmarkethistory
Used to retrieve the latest trades that have occured for a specific market.
They don't specifiy the number of latest trades, but it's well possible this number is 100. There seems to be no parameter available to request more trades. So if you want to have this changed, you'll have to mail their support dept.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
randomdark (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 09, 2018, 06:43:00 AM
 #3

Thanks for the reply, I see your point I will contact their support. Have good one
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!