Name

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > TradingHours >

Name

Previous page Return to chapter overview Next page

Definition

Indicates the name of the trading hours template applied to the Bars series object.
 

 

Property Value

A string representing the name of the trading hours template.

 

Syntax
Bars.TradingHours.Name

 

Examples

ns

protected override void OnBarUpdate()
{                  
  Print(TradingHours.Name);
  //Output if applied to the ES with 'use instrument settings':  CME US Index Futures ETH
}