After placing a market order, I got its order_id & checked its status via this end point /v1/order/status and I got the following:
Array
(
[id] => 18141116927
[cid] => 43611135723
[cid_date] => 2018-10-17
[gid] =>
[symbol] => iotusd
[exchange] => bitfinex
[price] => 0.51251
[avg_execution_price] => 0.51234
[side] => sell
[type] => market
[timestamp] => 1539778090.0
[is_live] =>
[is_cancelled] =>
[is_hidden] =>
[oco_order] =>
[was_forced] =>
[original_amount] => 20.0
[remaining_amount] => 0.0
[executed_amount] => 20.0
[src] => api
)
In this array, I don't see exchange fees for this order. Also the above order is closing a margin position and I was expecting to see fees associated to margin like borrowing costs etc.
How do I get these information via API?
Thanks