-
Notifications
You must be signed in to change notification settings - Fork 622
Impossible to check real buy price #105
Comments
It's impossible because their API is shitty |
You can get the real buy price from this list of order fills:
But if you use this API, there is no list with Fills in the Order object. |
@luxel1103 Just found out it does not support list with Fills, trying to add it myself now lol |
@Willthegod Please let me know if you succeed in this, would be interested in the code for that. |
Hello,
When i want to buy for example 1 ethereum for 0.055 bitcoin with a limitBuy while the actual price on binance is 0.0549 bitcoin, the order will buy 1 ethereum for 0.0549 instead of 0.055.
Now we can receive the order information and buy price with:
Order order = client.getOrderStatus(new OrderStatusRequest(symbol,"12345L")); String buyPrice = order.getBuyPrice();
At this moment the buyPrice is 0.055 instead of 0.0549 and there seems to be no way to receive the real buy price from this order.
Is there an other way to receive this information or is this not possible with this API?
The text was updated successfully, but these errors were encountered: