ericsomdahl / python-bittrex

Python bindings for bittrex
MIT License
585 stars 283 forks source link

Latest Candle #126

Closed haythamabutair closed 6 years ago

haythamabutair commented 6 years ago

When trying to get the latest candle for a given market, I receive the following:

self.my_bittrex_2.get_latest_candle(market, 'oneMin') viewitems():

what exactly does 'BV' stand for?

Is 'V' the current traded volume for that minute? Or the total volume in the market?

Thanks in advance!

robaleman commented 6 years ago

Hey mate. V refers to 'volume' while BV refers to 'base volume'. Volume refers to the amount of that currency that has been traded in that candle (ie, if your market is 'BTC-XRP', then it would be the amount of XRP bought or sold), while base volume refers to the total value traded in the base currency during that candle's interval (ie, if your market is 'BTC-XRP', then it would be the BTC amount traded in that particular market).

haythamabutair commented 6 years ago

@robaleman - Makes perfect sense. Thanks mate!

If anything comes up, i'll follow up on this thread.

haythamabutair commented 6 years ago

@robaleman - Just a quick follow up. Is there a way to get my sell/buy order to be on the first to execute? I see there is a queue depending on who placed it first. Worth a shot to ask :)

robaleman commented 6 years ago

@haythamabutair Sorry, not sure man. I don't really work with buy/sell calls.

ericsomdahl commented 6 years ago

@haythamabutair nope - the bittrex execution engine does what it pleases. the only concrete thing you can do to get faster execution is submit a better price