demo

PNG of one demo setup

Returns the PNG of one current setup on a demo symbol, as the keyed chart route would. setup_id comes from the demo patterns route; symbols outside the demo set answer 404 not_a_demo_symbol. No key is needed; keyless calls are limited per IP. The demo MCP tool returns the first setup's chart inline instead of taking a setup_id.

get/demo/{symbol}/chart.png

Request

  • Base URL: https://api.tradingpal.io/api/v1
  • URL: https://api.tradingpal.io/api/v1/demo/{symbol}/chart.png
  • Auth: one of:
    • none
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.tradingpal.io/oauth/authorize, token URL https://api.tradingpal.io/oauth/token, scopes: patterns)

Path parameters

symbolstring required

Exchange symbol, upper case (BRK.B, not BRK-B). Lower case is accepted and upper-cased.

Query parameters

setup_idstring required

A setup_id from the patterns route for the same symbol (the demo patterns route for demo charts). Setups change nightly; an id that is no longer current answers 404 setup_not_found.

Response

PNG image of the setup: candles, both lines, trigger, stop and target.

Changes

No recorded changes to this operation across all 1 revision of this API.