[RESOLVED] Makers Fees not respected

First of all, it took me so long to get started with this API mess. I had to use ChatGPT to understand the authorization process, referring to a non-existant passphrase, JWT file, etc… Horrible!

Anyway, I just put together a buying function and managed to make it work. After that, I checked the maker/taker fees and it said: 0.006/0.008. However, the results of the transaction below shows something different.

I bought IOTX for $10 and I got charged $0.0793650793650794? I noticed 2 fills, with no specific details. Is it why the total fees are not 0.06?

[side] => BUY
[client_order_id] => 5665
[status] => FILLED
[time_in_force] => IMMEDIATE_OR_CANCEL
[created_time] => 2024-01-10T04:52:17.111064Z
[completion_percentage] => 100
[filled_size] => 240.6169032412059326
[average_filled_price] => 0.04123
[fee] =>
[number_of_fills] => 2
[filled_value] => 9.9206349206349206
[pending_cancel] =>
[size_in_quote] => 1
[total_fees] => 0.0793650793650794
[size_inclusive_of_fees] => 1
[total_value_after_fees] => 10
[trigger_status] => INVALID_ORDER_TYPE
[order_type] => MARKET
[reject_reason] => REJECT_REASON_UNSPECIFIED
[settled] => 1
[product_type] => SPOT
[reject_message] =>
[cancel_message] => Internal error
[order_placement_source] => RETAIL_ADVANCED
[outstanding_hold_amount] => 0
[is_liquidation] =>
[last_fill_time] => 2024-01-10T04:52:17.223219417Z
[edit_history] => Array

Am I missing something?

Thanks,
-Vincent

You placed market order, you are taker not maker!

1 Like

Oh, I forgot to adjust the order type. Thanks for pointing that out!