THE TRADING EXCHANGE FOR AI AGENTS

Build Your AI Hedge Fund.
We handle the rest.

Trade BTC. Short Google. Buy memecoins. Bet on elections. Copy top wallets. All through one API. Authenticate your agent once — it handles the rest.

See it work ↓
Hyperliquid L1 — Live
12 endpoints
Perps + Spot
Avg <50ms latency
Get Started with OpenFinance
Choose how you want to connect.
$ Visit openfinance.tech/skill.md to create your account and get an API key.
1. Sign up & create an agent wallet
2. Fund your wallet with USDC
3. Use your API key in any language
Read openfinance.tech/skill.md and follow the instructions to start trading.
1. Ingest the skill.md file
2. Authenticate with your API key
3. Call /orders — you're live

Try it — this is the actual API
1# Get live mid prices — no auth needed
2curl openfinance.tech/api/agent/trading/market/mids
3
4# Check your portfolio
5curl openfinance.tech/api/agent/trading/portfolio \
6 -H "x-api-key: $YOUR_KEY"
7
8# Long 0.01 BTC at 96k — one request
9curl -X POST openfinance.tech/api/agent/trading/orders \
10 -H "x-api-key: $YOUR_KEY" \
11 -d '{"orders":[{"a":0,"b":true,"p":"96000","s":"0.01","t":{"limit":{"tif":"Gtc"}}}]}'
1import requests
2
3API = "https://openfinance.tech/api/agent/trading"
4KEY = "your_api_key"
5
6# Fetch BTC price
7prices = requests.get(f"{API}/market/mids").json()
8print(f"BTC: {prices['BTC']}")
9
10# Place a limit order
11order = requests.post(
12 f"{API}/orders",
13 headers={"x-api-key": KEY},
14 json={"orders": [{
15 "a": 0, "b": True,
16 "p": "96000", "s": "0.01",
17 "t": {"limit": {"tif": "Gtc"}}
18 }]}
19)
1// POST /trading/orders → 200 OK
2{
3 "status": "ok",
4 "response": {
5 "type": "order",
6 "data": {
7 "statuses": [{
8 "resting": { "oid": 88421 }
9 }]
10 }
11 }
12}
13
14// Error example → 200 (Hyperliquid style)
15{
16 "status": "err",
17 "response": "Insufficient margin"
18}
Live Portfolio
Account$24,891
PnL+$1,247
Positions3 open
BTCLong 0.5

The Problem

Building an agent that trades crypto is a nightmare

Wallet key management. Transaction signing. RPC failures. Nonce tracking. Every agent builder hits the same wall — you spend 80% of your time on infra and 20% on strategy.

OpenFinance abstracts all of it. Your agent sends HTTP requests. We handle the rest.

Without OpenFinance → With OpenFinance
Manage private keys
One API key
Sign every transaction
We sign for you
Handle nonces & RPCs
Just POST /orders
Build from scratch
skill.md → go
Market DataPUBLIC

Mid prices, L2 books, funding rates, volume. No auth needed.

GET /market/mids
PortfolioAUTH

Positions, margin, PnL, perp + spot balances.

GET /portfolio
OrdersAUTH

Place, cancel, batch. Limit & trigger orders.

POST /orders
TWAPAUTH

Time-weighted execution with randomized intervals.

POST /twap
DEX AbstractionAUTH

HIP-3 permission layer for delegated trading.

POST /dex-abstraction/enable
60-Second Quickstart

Three commands to your first trade

1

Get your key

Create agent wallet & API key

curl openfinance.tech/skill.md
2

Read the market

Fetch live prices — no auth

curl openfinance.tech/api/agent/trading/market/mids
3

Place a trade

Your agent is now live

curl -X POST .../orders -H "x-api-key: $KEY" -d '{...}'
Demos

See what agents actually build

Real strategies. Real code. Every demo runs on the OpenFinance API — fork them and ship your own.

live
$ curl /market/mids
→ {"BTC":"97241","ETH":"3891"}
$ node arb-scanner.js
→ spread detected: +0.34%

Cross-Exchange Arb Scanner

Monitors price discrepancies between Hyperliquid perps and spot across CEXs. Fires market orders when spread exceeds threshold.

ArbitrageMulti-Exchange
live
$ python sentiment.py
→ CT bullish score: 0.82
→ opening long ETH 2x...
→ order filled oid:91204

Sentiment-Driven Trader

Scrapes Crypto Twitter, scores sentiment with an LLM, and auto-executes trades when conviction crosses a threshold. Full AI-in-the-loop.

LLM-PoweredSentiment
live
$ node grid-bot.js
→ grid: 94k–100k / 12 levels
→ placed 12 limit orders
→ monitoring fills...

Grid Trading Bot

Sets a grid of buy/sell limit orders across a price range. Automatically replaces filled orders. Prints money in sideways markets.

Grid StrategyLimit Orders
live
$ python copy-trade.py
→ watching: 0xd8a1...
→ whale longed SOL 5x
→ mirroring @ 0.1x size

Whale Copy Trader

Monitors top Hyperliquid wallets via the API. When a whale opens a position, your agent mirrors it at your configured size ratio.

Copy TradingOn-Chain
live
$ python rebalance.py
→ target: 50% BTC 30% ETH 20% SOL
→ drift: BTC +4.2% over target
→ TWAP selling 0.003 BTC...

Portfolio Rebalancer

Maintains target allocations across multiple assets. Uses TWAP execution to rebalance without market impact when drift exceeds threshold.

TWAPMulti-Asset
live
$ node funding-arb.js
→ ETH funding: +0.042%/8h
→ shorting perp, longing spot
→ delta-neutral ✓

Funding Rate Arbitrage

Captures funding payments by going delta-neutral — short the perp when funding is positive, hedge with spot. Pure yield extraction.

YieldDelta-Neutral

Stop building infra.
Ship the strategy.

Read the skill.md. Get your key. Your agent trades Hyperliquid in 60 seconds.