Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Finance, Invoices & Accounting

Finance, Invoices & Accounting

Binance Market Data Tool with OpenAI

When another workflow calls it, an OpenAI agent fetches the Binance current price, 24-hour stats, order book and candles for a trading pair.

What it does

## getKlines (Multi-Timeframe) Type: toolHttpRequest Endpoint: https://api.binance.com/api/v3/klines Inputs: Executed 4 times, once for each timeframe: json { "symbol": "BTCUSDT", "interval": "15m", "limit": 1 } { "symbol": "BTCUSDT", "interval": "1h", "limit": 1 } { "symbol": "BTCUSDT", "interval": "4h", "limit": 1 } { "symbol": "BTCUSDT", "interval": "1d", "limit": 1 } Returns OHLCV for each interval’s most recent candle.

The steps

  1. getCurrentPrice
  2. get24hrStats
  3. getOrderBook
  4. getKlines
  5. OpenAI Chat Model
  6. Simple Memory
  7. When Executed by Another Workflow
  8. Binance SM Price-24hrStats-OrderBook-Kline Agent

Similar automations