Known Issues
Issues listed here: python-kraken-sdk/issues
Futures Trading
The Kraken API returns 500 - INTERNAL_SERVER_ERROR for some endpoints if
order_idororderId,cliOrdIdseems to work in all cases.Kraken’s API doesn’t seem to know the
trailing_stoporder 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-ordertrailing_stoporder type not working in Kraken Futures1from kraken.futures import Trade 2 3Trade(key="api-key", secret="secret-key").create_order( 4 orderType="trailing_stop", 5 size=10, 6 side="buy", 7 symbol="PI_XBTUSD", 8 limitPrice=12000, 9 triggerSignal="mark", 10 trailingStopDeviationUnit="PERCENT", 11 trailingStopMaxDeviation=10, 12) 13""" Output: 14{ 15 "status": "BAD_REQUEST", 16 "result": "error", 17 "errors": [{ 18 "code": 11, 19 "message": "invalid order type" 20 }], 21 "serverTime":"2023-04-07T19:26:41.299Z" 22} 23""""