Bitcoin Forum

Economy => Exchanges => Topic started by: holepauvre on November 01, 2017, 03:41:30 PM



Title: Informations given par Bittrex API
Post by: holepauvre on November 01, 2017, 03:41:30 PM
Hi all,

Could you please explain the following informations given by this web service (https://bittrex.com/api/v1.1/public/getmarketsummary?market=btc-ltc) for example :
- Volume
- BaseVolume
- OpenBuyOrders
- OpenSellOrders
- PrevDay

Many thanks  ;)


Title: Re: Informations given par Bittrex API
Post by: OmegaStarScream on November 02, 2017, 07:40:43 AM
- Volume should represent how many LTC (in this case) has been traded in the last 24 hours
- Base volume is more like the first pair (In this case BTC as Its BTC/LTC). It's the total value traded (doesn't matter If it's a buy or sell order).
- How many buy/sell orders are available
- The price in BTC (for this case) of the previous day (I believe its needed to calculate the last 24 hours % changes)


Title: Re: Informations given par Bittrex API
Post by: holepauvre on November 02, 2017, 09:55:26 AM
- Volume should represent how many LTC (in this case) has been traded in the last 24 hours
- Base volume is more like the first pair (In this case BTC as Its BTC/LTC). It's the total value traded (doesn't matter If it's a buy or sell order).
- How many buy/sell orders are available
- The price in BTC (for this case) of the previous day (I believe its needed to calculate the last 24 hours % changes)

Thank you for these informations. So, for example, tradingview use the property "volume" to draw the bellow volume indicator ?

https://img4.hostingpics.net/pics/631500Screenshot5.png


Title: Re: Informations given par Bittrex API
Post by: Xavier59 on November 04, 2017, 05:07:49 PM
- Volume should represent how many LTC (in this case) has been traded in the last 24 hours
- Base volume is more like the first pair (In this case BTC as Its BTC/LTC). It's the total value traded (doesn't matter If it's a buy or sell order).
- How many buy/sell orders are available
- The price in BTC (for this case) of the previous day (I believe its needed to calculate the last 24 hours % changes)

Thank you for these informations. So, for example, tradingview use the property "volume" to draw the bellow volume indicator ?

https://img4.hostingpics.net/pics/631500Screenshot5.png

That's incorrect. The informations you are looking for (volume) are only given for the previous 24 hours.
You can't know how tradingview is getting the informations, it could be either :
- A parteneriat between bittrex and tradingview so that tradingview is getting some informations you can't get.
- A calculation made by tradingview based on all the trades. (listening to the socket api)

If you are looking to do the same thing, you should either contact bittrex for some "special" access (unlikely except if you are from a company) or use sockets to listen to all the trades and adds them up to calculate the volume.