Open a chart
The app opens a market on your chart.
Details#
Open a symbol and timeframe on a layout, and on the member's open chart tab. Opens exactly the venue you pass: BINANCE is Binance spot, not a perpetual, and a missing market is an error (the chart is not switched to another venue). Example: symbol BTC/USDT, venue BINANCE, timeframe 1D.
Inputs#
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | Required | Ticker or pair, for example BTCUSDT or AAPL. |
| venue | string | Optional | Optional venue, for example BINANCE, COINBASE, BITSTAMP or NASDAQ. BINANCE is Binance spot, not Binance futures. |
| kind | string | Optional | Optional. spot or perp. Omit to open a spot market. Perpetuals are only opened when kind is perp or the venue is a futures venue. |
| timeframe | string | Optional | One of 1H, 4H, 1D, 1W, 1M. Example: 1D. |
| layout | string | Optional | Layout name from list_layouts, or "Default" (the member's own chart). Omit to use the layout the member has open, or Default when no chart is open. |