Issues listed here: `python-kraken-sdk/issues`_
The Kraken API returns 500 - INTERNAL_SERVER_ERROR for some endpoints if
order_id
ororderId
,cliOrdId
seems to work in all cases.Kraken's API doesn't seem to know the
trailing_stop
order type and raises an error if this type is part of an order. This order type is documented here https://docs.kraken.com/api/docs/futures-api/trading/send-orderfrom kraken.futures import Trade Trade(key="api-key", secret="secret-key").create_order( orderType="trailing_stop", size=10, side="buy", symbol="PI_XBTUSD", limitPrice=12000, triggerSignal="mark", trailingStopDeviationUnit="PERCENT", trailingStopMaxDeviation=10, ) """ Output: { "status": "BAD_REQUEST", "result": "error", "errors": [{ "code": 11, "message": "invalid order type" }], "serverTime":"2023-04-07T19:26:41.299Z" } """"