Repository navigation
Releases
Releases · ystemsrx/easy-binance
Easy Binance 0.1.0
Release Notes — v0.1.0
Initial release of easy-binance — a unified CLI and Python library for Binance derivatives APIs, designed as an Agent Skill for AI coding agents.
Supported Products
| Product | Aliases | APIs |
|---|---|---|
| USDS-M Futures | usdm, usds |
REST, WebSocket API, Streams |
| COIN-M Futures | coinm, coin |
REST, WebSocket API, Streams |
| Options | option |
REST, Streams |
| Portfolio Margin | pm |
REST, Streams |
| Portfolio Margin Pro | pm-pro, pmp |
REST, Streams |
Testnet supported for USDS-M Futures, COIN-M Futures, and Portfolio Margin.
CLI
easy-binance products # list products
easy-binance apis <product> # list API types
easy-binance methods <product> <api> # list methods
easy-binance describe <product> <api> <method> # show signature
easy-binance credentials # check credentials
easy-binance call <product> <api> <method> [--param K=V] # execute call
easy-binance listen <product> <method> [--duration N] # stream dataOutput formats: --output json/yaml/table. Global flags for credentials, timeouts, proxy, testnet, URL overrides, etc.
Python API
from easy_binance import EasyBinance
client = EasyBinance(api_key="...", api_secret="...", testnet=True)
client.list_methods("usds-futures", "rest")
client.call("usds-futures", "rest", "exchange_information")
client.call("usds-futures", "websocket-api", "order_book", params={"symbol": "BTCUSDT"})
client.listen("usds-futures", "aggregate_trade_streams",
params={"symbol": "btcusdt"}, duration=5, max_messages=10)Credentials loaded from: explicit args → .env file → environment variables.
Installation
pip install easy-binanceLicense: Apache 2.0