Unofficial Golang SDKs and integration utilities for Kraken products.
Currently, only the REST and the Websocket SDKs for the Kraken spot exchange are fully implemented and have unit tests and/or integration tests. Integration tests are designed to use validation features: No order should be created and no fee should be charged (please, verify). It is recommended to run the tests with a separate account as target as cancel requests, especially the Cancel All Orders ones, can cancel orders.
go test -cover -short ./...
export KRAKEN_API_KEY="SECRET"
export KRAKEN_API_SECRET="SECRET"
export KRAKEN_API_OTP="SECRET"
go test -p 1 -cover ./...
Hint: The second factor is optional. Use KRAKEN_API_OTP only if you defined a password second factor for your API key.
- Based only on standard Go libraries and on some self-developped frameworks (gosette & gowse)
- Fully configurable, all spare parts are visible and customizable
- Built-in observability with the OpenTelemetry framework
- Data feeds (ticker, ohlc, ...) use CloudEvent to encapsulate received data and enable end to end traceability with OpenTelemetry.
- All security options provided by Kraken (password second factor) are supported