The Bittrex API has a request to get the market history:
https://bittrex.com/api/v1.1/public/getmarkethistory?market=BTC-DOGE
which gives a response containing the following fields:
- "Id"
- "TimeStamp"
- "Quantity"
- "Price"
- "Total"
- "FillType"
- "OrderType"
"OrderType"
can be one of "BUY"
or "SELL"
. What does this refer to?
Let's assume it has a value of "SELL". Does this mean:
- The person who initially placed the order was selling (Seller is Maker).
- The person who closed the order was selling (Seller is Taker)