I am using the paper trading API and have successfully placed many thousands of limit orders. I was using 2DP for limit prices, even though that level of precision was not really required for BTC.
Now, quite suddenly the limit orders are failing with
{ code: 42210000, message: 'limit price increment must be > 1' }
This is for BTCUSD. My previously working code just broke. It’s not a problem to change my code. The concern is the breaking change. Is there somewhere that breaking API changes are documented so I can catch them before my app breaks? I googled for the specific error, but did not find any recent mentions.
body: {
symbol: 'BTCUSD',
qty: 0.0031,
side: 'sell',
type: 'limit',
time_in_force: 'gtc',
limit_price: 32748.16,
}
}
{ code: 42210000, message: 'limit price increment must be > 1' }