Bentrix Docs
HomePricingDashboard

Assay reference: request — other timeframes, markets and data

runs as written · runs with Bentrix's own convention, said in its note · refused by name, the note says what Bentrix lacks · not yet built.

Functions

request.currency_rate#

runs — Bentrix's own convention
request.currency_rate(from: string, to: string, ignore_invalid_currency: bool?) → float

A unit of from in to at the bar's moment, by the route the bench converts its own money through: a minute's rate, never a day's; no route stops the script unless ignored

fromstringrequired
tostringrequired
ignore_invalid_currencybooloptional

request.dividends#

runs — Bentrix's own convention
request.dividends(ticker: string, field: string?, gaps: any?, lookahead: any?, ignore_invalid_symbol: bool?, currency: any?) → float

No source in this build: a share's figures were read from an exchange's own lists

tickerstringrequired
fieldstringoptional
gapsanyoptional
lookaheadanyoptional
ignore_invalid_symbolbooloptional
currencyanyoptional

request.earnings#

runs — Bentrix's own convention
request.earnings(ticker: string, field: string?, gaps: any?, lookahead: any?, ignore_invalid_symbol: bool?, currency: any?) → float

No source in this build: a share's figures were read from an exchange's own lists

tickerstringrequired
fieldstringoptional
gapsanyoptional
lookaheadanyoptional
ignore_invalid_symbolbooloptional
currencyanyoptional

request.economic#

runs — Bentrix's own convention
request.economic(country_code: string, field: string, gaps: any?, ignore_invalid_symbol: bool?) → float

The newest release of a country's series, from the economic calendar of the person's own MetaTrader, each release read from the first bar that opens after it, never at the period it describes; the field is the terminal's own code or a common name

country_codestringrequired
fieldstringrequired
gapsanyoptional
ignore_invalid_symbolbooloptional

request.financial#

runs — Bentrix's own convention
request.financial(symbol: string, financial_id: string, period: string, gaps: any?, ignore_invalid_symbol: bool?, currency: any?) → float

No source in this build: a share's figures were read from an exchange's own lists

symbolstringrequired
financial_idstringrequired
periodstringrequired
gapsanyoptional
ignore_invalid_symbolbooloptional
currencyanyoptional

request.quandl#

refused

Request.quandl has no source in Bentrix

request.security#

runs — Bentrix's own convention
request.security(symbol: string, timeframe: string, expression: any, gaps: any?, lookahead: any?, ignore_invalid_symbol: bool?, currency: any?, calc_bars_count: int?) → T

The chart's own market on a coarser timeframe folded out of the chart's own bars: lookahead off reads the study's own rule (the last closed candle while it waits for the candle to close), one rule across history and the live edge; lookahead on with [1] reads the closed candle before; lookahead on otherwise reads the future and runs only under Settings › Assay; another market of the laboratory bench the chart is on, its bars cut at the chart's; a timeframe the chart's bars cannot hold, later; currency converts at the laboratory's own conversion pairs

symbolstringrequired
timeframestringrequired
expressionanyrequired
gapsanyoptional
lookaheadanyoptional
ignore_invalid_symbolbooloptional
currencyanyoptional
calc_bars_countintoptional

request.security_lower_tf#

runs — Bentrix's own convention
request.security_lower_tf(symbol: string, timeframe: string, expression: any, ignore_invalid_symbol: bool?, currency: string?, ignore_invalid_timeframe: bool?, calc_bars_count: int?) → arr<T>

An array of the expression's value on each finer candle inside the chart bar, folded from the market's minutes (the newest 100,000) on a laboratory bench; never finer than the minute

symbolstringrequired
timeframestringrequired
expressionanyrequired
ignore_invalid_symbolbooloptional
currencystringoptional
ignore_invalid_timeframebooloptional
calc_bars_countintoptional

request.seed#

refused

Request.seed has no source in Bentrix

request.splits#

runs — Bentrix's own convention
request.splits(ticker: string, field: string?, gaps: any?, lookahead: any?, ignore_invalid_symbol: bool?) → float

No source in this build: a share's figures were read from an exchange's own lists

tickerstringrequired
fieldstringoptional
gapsanyoptional
lookaheadanyoptional
ignore_invalid_symbolbooloptional

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed