Loading...
Loading...
Comprehensive trading skills for the Revolut X Crypto Exchange API. Use this skill to authenticate, fetch market data, manage orders, and execute trades on Revolut X. Includes API documentation and a Python client wrapper.
npx skill4agent add jasonviipers/revolut-x-crypto revolut-tradingscripts/revolut_client.pyfrom scripts.revolut_client import RevolutClient
# Initialize the client
client = RevolutClient(
private_key_path="path/to/private_key.pem",
api_key="your_api_key"
)
# Get all currencies
currencies = client.get_currencies()
print(currencies)
# Get account balances
balances = client.get_balances()
print(balances)
# Place a limit order
order = client.place_order(
client_order_id="unique_id_123",
symbol="BTC-USD",
side="buy",
order_configuration={
"limit": {
"price": "50000",
"base_size": "0.001"
}
}
)
print(order)Get All TickersGet Order BookGet Historical OHLCV CandlesGet All BalancesPlace Orderclient_order_idGet Order By IDGet Active Orders400 Bad Request401 Unauthorized429 Too Many Requests