Kraken · Arazzo Workflow
Kraken Balance-Aware Spot Buy
Version 1.0.0
Read the account balance and live ticker, then branch on funding before buying.
View Spec
View on GitHub
CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedOAuthPublic APIsArazzoWorkflows
Provider
Workflows
balance-aware-buy
Place a spot buy only when the account holds enough of the quote asset.
Reads balances and the current ticker, branches on whether the funding asset balance is greater than zero, and places a buy order when funded.
1
readBalance
getAccountBalance
Read all asset balances. Private Spot endpoints are signed and accept application/x-www-form-urlencoded bodies.
2
readTicker
getTickerInformation
Read the live ticker for the pair to price the buy against the current ask.
3
placeBuy
addOrder
Submit the buy order via AddOrder once funding has been confirmed.