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.
GET
https://saylorinnovations.com/api/crypto/rebalanceUptime100% 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
- saylorinnovations.com/api/ai/hf-datasetsSearch Hugging Face datasets by keyword - downloads, likes, gated flag, last modified, description and tags, sorted by downloads, likes or trending0.01
- saylorinnovations.com/api/ai/hf-modelHugging Face model detail by id - licence, parameter count and precision, downloads, likes, gated status, base model, languages, weight files and tags0.01
- saylorinnovations.com/api/ai/hf-modelsSearch Hugging Face models by keyword and task - downloads, likes, pipeline task, library, creation date and tags, sorted by downloads, likes or trending0.01
- saylorinnovations.com/api/ai/hf-spacesSearch Hugging Face Spaces (demo apps) by keyword - likes, SDK (Gradio, Streamlit, Docker), creation date, tags and URL, sorted by likes or trending0.01
- saylorinnovations.com/api/alerts/germanyActive German civil-protection warnings from NINA - flood, contamination, weather and emergency alerts with severity, urgency, source and validity0.01
- saylorinnovations.com/api/algorand/accountAlgorand account lookup - ALGO balance, minimum and spendable balance, online status, pending rewards, assets and apps opted in and created0.01
- saylorinnovations.com/api/aptos/accountAptos account lookup - APT balance, sequence number meaning transactions sent, and the authentication key, from an Aptos Labs fullnode0.01
- saylorinnovations.com/api/archive/searchSearch the Internet Archive for books, audio, films, software and images - title, creator, date, download count, size and item link, sorted by popularity0.01
- saylorinnovations.com/api/argentina/seriesOfficial Argentina time series from datos.gob.ar by series id - INDEC inflation index, wages, activity and exchange rates with dates and values0.01
- saylorinnovations.com/api/astronomy/julian-dateJulian date, modified Julian date, day number, Greenwich mean sidereal time and local sidereal time for a timestamp and longitude0.01
- saylorinnovations.com/api/astronomy/meteor-showersUpcoming meteor showers with peak date, zenithal hourly rate, parent body, speed and the moon illumination at peak with a viewing quality rating0.01
- saylorinnovations.com/api/astronomy/moonMoon phase name, phase angle and illumination percent plus moonrise, moonset, highest and lowest points for any location and date, from MET Norway0.01
