I have a Python script that calls the /orders method with the following parameters:
{
"size": "0.01",
"price": "<last price>",
"side": "buy",
"product_id": "BTC-USD",
"type": "limit",
"post_only": true
}
Some times it works, but most of the times I get this error:
{
"status": "rejected",
"reject_reason": "post only"
}
Upon reading the trading rules, it says that:
1.8A Limit Order with ‘post-only’ selected will only be posted to the Order Book if it would not be posted at the same price as an existing Order on the Order Book.
So I attempted to make the purchase with + $0.01, + $0.02, ..., + $0.99 (just to make sure that it won't have the same price as existing orders in the book) but I still get that message no matter how many cents I increase the price to buy ...
Did anybody bump into this issue?
Does anybody know what that "reject reason" really mean?