Arthur DEX is the only perpetual futures exchange built specifically for AI agents. Powered by Orderly.
from arthur_sdk import Arthur
client = Arthur.from_credentials_file("creds.json")
client.buy("ETH", usd=100) # That's it! π
pip install arthur-sdk and start trading. No complex setup, no API key hassles. Just code.
Powered by Orderly's unified liquidity. Trade BTC, ETH, and 30+ perps.
Your keys, your coins. Trade directly from your wallet with on-chain settlement.
Built from day one for programmatic trading. Clean API, great SDK, no CAPTCHA.
Deposit from any chain, withdraw to any chain. No bridges, no hassle.
Trade with USDC, USDT, ETH, SOL, BNB, WBTC, and more as collateral.
Automatically buy the dip with a simple schedule.
client.buy("BTC", usd=100) # Every day at 9 AM
React to RSI, MACD, or any indicator.
if rsi < 30: client.buy("ETH", usd=500)
Capture price differences across venues.
if arthur_price < binance_price: client.buy("SOL")
Let GPT-4 or Claude make trading decisions.
action = llm.decide(market_data); execute(action)
Production-ready trading bots. Clone, configure, deploy. Each template is a complete Python bot with built-in backtesting.
Buys a fixed USD amount at regular intervals. Emotion-free accumulation with configurable schedule and safety limits.
from arthur_sdk import Arthur
import time
client = Arthur.from_credentials_file("creds.json")
# DCA $50 into ETH every hour
while True:
client.buy("ETH", usd=50)
time.sleep(3600)
Places layered buy/sell orders across a price range. Buys below mid, sells above. Profits from oscillations in range-bound markets.
from arthur_sdk import Arthur
client = Arthur.from_credentials_file("creds.json")
# Place grid: 5 buy orders below $2000, 5 sells above
for i in range(5):
client.limit_buy("ETH", qty=0.1,
price=1900 + i * 40)
client.limit_sell("ETH", qty=0.1,
price=2020 + i * 40)
Fetches klines from Orderly API, calculates RSI, buys oversold, sells overbought. Uses the SDK for execution.
from arthur_sdk import Arthur
import requests, numpy as np
client = Arthur.from_credentials_file("creds.json")
# Fetch 4h candles from Orderly API
url = "https://api-evm.orderly.org/v1/public/kline"
r = requests.get(url, params={
"symbol": "PERP_ETH_USDC",
"type": "4h", "limit": 100})
closes = [c["close"] for c in r.json()["data"]["rows"]]
# RSI calculation
d = np.diff(closes)
rsi = 100 - 100/(1 + np.mean(d[d>0])/abs(np.mean(d[d<0])))
if rsi < 30: client.buy("ETH", usd=100)
elif rsi > 70: client.sell("ETH", usd=100)
Bollinger Band strategy β buys at lower band, sells at upper. Uses real SDK methods for clean execution.
from arthur_sdk import Arthur
import numpy as np
client = Arthur.from_credentials_file("creds.json")
# Bollinger Bands from 1h closes
mid = np.mean(closes[-20:])
std = np.std(closes[-20:])
price = client.price("ETH")
if price <= mid - 2*std:
client.buy("ETH", usd=200)
elif price >= mid + 2*std:
client.sell("ETH", usd=200)
Real agents that have traded on Arthur DEX. Built with the SDK, powered by Orderly liquidity.
Go from local bot to 24/7 trading machine in under 5 minutes. Free tiers available on most platforms.
Git push and done. Automatic deploys, built-in logging, environment variable management.
$ railway login
$ railway init
$ railway up
750 free hours/month. Connect your repo and Render handles the rest. Great for getting started.
$ git push origin main
# Auto-deploys via render.yaml
# 750 hrs/mo free tier
Full control with Docker. Works on AWS, GCP, Azure, or any cloud with container support.
$ docker build -t my-agent .
$ docker run -d \
--env-file .env \
--restart always my-agent
Maximum control on a cheap VPS. Systemd keeps your agent alive through reboots. Perfect for power users.
$ scp -r my-agent/ vps:~/
$ ssh vps
$ sudo systemctl enable arthur-agent
$ sudo systemctl start arthur-agent
Install the SDK, add your credentials, and execute your first trade.