Binance Trading
Inspect Binance spot account state and place signed orders
Binance is a cryptocurrency exchange with a Spot API for signed account access and order management.
In Agent Forge, the Binance Trading block lets workflows inspect balances, open orders, trade history, and place or cancel spot orders across Binance live, Spot Testnet, and Binance Demo environments. Start on a non-live environment, validate order payloads with Test New Order, then move to live trading only after careful review.
Usage Instructions
Provide a Binance API key and secret, choose an environment, then select an operation. Order write operations require a trading pair symbol and order parameters such as side, type, quantity, and price.
Trading actions can move funds or modify live orders. Use Spot Testnet or Binance Demo first, restrict API key permissions where possible, and verify all workflow inputs before deploying automated trading workflows.
Tools
Account
binance_get_account- Get account information and balancesbinance_get_open_orders- List open orders for a symbol or all symbolsbinance_get_all_orders- List historical orders for a symbolbinance_get_my_trades- List account trades for a symbol
Trading
binance_test_new_order- Validate an order without submitting itbinance_create_order- Create a live spot orderbinance_cancel_order- Cancel an open order
Common Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Binance API key |
apiSecret | string | Yes | Binance API secret |
environment | string | No | live, testnet, or demo (default: testnet) |
operation | string | Yes | Binance operation to execute |
symbol | string | Operation-specific | Trading pair such as BTCUSDT |
side | string | For orders | BUY or SELL |
type | string | For orders | Binance order type such as LIMIT or MARKET |
quantity | string | For orders | Base asset quantity |
price | string | For limit orders | Order price |
orderId | number | For cancel / filters | Binance order ID |
limit | number | No | Maximum records to return |
Output
| Parameter | Type | Description |
|---|---|---|
data | json | Binance response payload |
status | number | HTTP status code |
headers | json | Response headers |
errorCode | number | Binance error code when present |
errorMessage | string | Binance error message when present |
Notes
- Category:
tools - Type:
binance_trading - See the Binance Spot API docs for order type and parameter details.