IContext
Integration guide · Reference index
Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.
symbol
symbol: ISymbolInstrument;Use the type signature above and the integration guide for the owning capability.
new_sym
new_sym(
tickerid: string,
period: string,
currencyCode?: string,
unitId?: string,
subsessionId?: string,
): ISymbolInstrument;Use the type signature above and the integration guide for the owning capability.
| Parameter | Type | Required |
|---|---|---|
tickerid | string | Yes |
period | string | Yes |
currencyCode | string | No |
unitId | string | No |
subsessionId | string | No |
select_sym
select_sym(i: number): void;Use the type signature above and the integration guide for the owning capability.
| Parameter | Type | Required |
|---|---|---|
i | number | Yes |
new_var
new_var(value?: number): IPineSeries;Use the type signature above and the integration guide for the owning capability.
| Parameter | Type | Required |
|---|---|---|
value | number | No |
new_unlimited_var
new_unlimited_var(value?: number): IPineSeries;Use the type signature above and the integration guide for the owning capability.
| Parameter | Type | Required |
|---|---|---|
value | number | No |
new_ctx
new_ctx(): IContext;Use the type signature above and the integration guide for the owning capability.
is_main_symbol
is_main_symbol(symbol: ISymbolInstrument | undefined): boolean;Use the type signature above and the integration guide for the owning capability.
| Parameter | Type | Required |
|---|---|---|
symbol | ISymbolInstrument | undefined | Yes |