Skip to content
Fourohtwo

saylorinnovations.com/api/crypto/rebalance

Buy and sell amounts that bring a crypto portfolio to target weights, with optional new cash, drift band and fees, plus turnover and the biggest drift.

SolanaAnswering
GEThttps://saylorinnovations.com/api/crypto/rebalance

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/crypto/rebalance?holdings=BTC%3A6000%2CETH%3A3000%2CSOL%3A1000&new_cash_usd=500&target_weights=BTC%3A50%2CETH%3A30%2CSOL%3A20"

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "holdings": "BTC:6000,ETH:3000,SOL:1000",
  "new_cash_usd": "500",
  "target_weights": "BTC:50,ETH:30,SOL:20"
}

More from Saylor Innovations Data Desk