Long and Short Ratio Candles avatar

Long and Short Ratio Candles

Pricing

$0.05 / long and short ratio candles

Go to Apify Store
Long and Short Ratio Candles

Long and Short Ratio Candles

Retrieve historical long and short ratio candles for an exchange and trading pair. Export timestamped open, high, low and close observations as JSON.

Pricing

$0.05 / long and short ratio candles

Rating

0.0

(0)

Developer

Grass Tech

Grass Tech

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Retrieve historical long and short ratio candles for an exchange and trading pair. Export timestamped open, high, low and close observations as JSON.

What this Actor does

Build your own chart from ratio observations over the requested interval. This product returns ratio candles, not price candles or trade recommendations.

Input

FieldTypeRequiredDescription
exchangestringYesExchange selector. Verified example: Binance.
symbolstringYesTrading-pair symbol. Verified example: BTCUSDT.
intervalstringYesQuery interval. Keep the spelling shown in the example; supported intervals depend on the query.
endTimestringYesEnd timestamp in Unix milliseconds, supplied as a string. The example uses a fixed historical timestamp, not the current time.
sizestringYesRequested number of observations, supplied as a string. Verified example: 10.
typestringYesRatio selector. Verified value: longShortPerson.

Example input

{
"endTime": "1789544653328",
"exchange": "Binance",
"interval": "1h",
"size": "10",
"symbol": "BTCUSDT",
"type": "longShortPerson"
}

This input was used for the saved successful run on September 16, 2026. Historical timestamps are examples; update them for your desired period. Supported markets and data coverage depend on the selected parameters. Unsupported combinations can return empty data or errors.

Output

The response contains code, success and data. Observed candle rows include id, begin, open, high, low and close. The verified example uses the longShortPerson selector. Units and timestamps are preserved as returned.

Example output

Abbreviated from the September 16, 2026 response. This is historical data, not a current quote. Rows, series and fields have been omitted for readability.

{
"code": "1",
"success": true,
"data": [
{
"begin": 1789509600000,
"close": 1.8114,
"high": 1.8114,
"id": "6aa9c004d9643a9c2fb023d8",
"low": 1.7956,
"open": 1.7956
}
]
}

A successful run saves its JSON result under OUTPUT. Open the Output tab to inspect response status, fields and available timestamps.

Pricing

One request event is $0.05. Review the current Pricing panel and set a maximum run charge that covers the event. Check any platform usage displayed before starting.

How to run

  1. Review the required fields and update the example input.
  2. Check the current price and run budget.
  3. Start one run and wait for its final status.
  4. Open Output and inspect the response before using it in a report or workflow.

Scope and troubleshooting

Each run performs one data query. Data availability and freshness vary by market and query parameters. This Actor does not execute trades, move funds or maintain a live subscription.

If a run fails, inspect its status and log before retrying. For support, open an Actor Issue with the Run ID and sanitized input; omit credentials and private keys. Financial data is informational, not investment advice.