-
Notifications
You must be signed in to change notification settings - Fork 283
API Results Interpretation
{
'success': True,
'message': '',
'result': [{
'Opened': '2017-12-10T23:12:04.75',
'QuantityRemaining': 554.73426096,
'Exchange': 'BTC-OMG',
'OrderUuid': 'xxxx',
'Quantity': 554.73426096,
'Limit': 0.001055,
'Price': 0.0,
'CancelInitiated': False,
'CommissionPaid': 0.0,
'PricePerUnit': None,
'ImmediateOrCancel': False,
'OrderType': 'LIMIT_SELL',
'Uuid': None,
'Closed': None,
'Condition': 'NONE',
'ConditionTarget': None,
'IsConditional': False
}]
}
(Thanks to @slazarov for this writeup in Issue #103)
Limit
: this is the price you set initially
PricePerUnit
: the actual price the order got filled at (it might have been filled at a better price)
Price
: Limit * PricePerUnit i.e total value,
until your order gets partially/fully filled,
PricePerUnit
will stay as None and since Price
is a function of it it wil be 0.
Quantity
- the initial order quantity
QuantityRemaining
- if you put an order for 100 units of something and the opposite demand/supply for that ticker at that price is less than the 100 units, say only 50. Your QuantityRemaining
will be 50 while your Quantity
will be 100. Note that the order will be still active, but partially filled.
Unless you have 554 units of BTC, then it is OMG :).
In the finance world, the ticker quoting convention is usually like that: X/Y - 1 unit of X buys/sells N units of Y Example: EUR/USD 1.20 - 1 EUR buys/sells 1.20 USD Now in the case of Bittrex, they quote it in the opposite manner. So: BTC/OMG translates to 1 OMG for N units of BTC.