Open a chart

Changed

open_chartChanges the chartSafe to repeat

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#

NameTypeRequiredDescription
symbolstringRequiredTicker or pair, for example BTCUSDT or AAPL.
venuestringOptionalOptional venue, for example BINANCE, COINBASE, BITSTAMP or NASDAQ. BINANCE is Binance spot, not Binance futures.
kindstringOptionalOptional. spot or perp. Omit to open a spot market. Perpetuals are only opened when kind is perp or the venue is a futures venue.
timeframestringOptionalOne of 1H, 4H, 1D, 1W, 1M. Example: 1D.
layoutstringOptionalLayout 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.