Skip to content

session ​

Properties ​

is_first_bar ​

Type: series bool

Returns true if the current bar is the first bar of the day's session, false otherwise.


is_first_bar_regular ​

Type: series bool

Returns true on the first regular session bar of the day, false otherwise.


is_last_bar ​

Type: series bool

Returns true if the current bar is the last bar of the day's session, false otherwise.


is_last_bar_regular ​

Type: series bool

Returns true on the last regular session bar of the day, false otherwise.


is_market ​

Type: series bool

Returns true if the current bar is a part of the regular trading hours (i.e. market hours), false otherwise.


is_postmarket ​

Type: series bool

Returns true if the current bar is a part of the post-market, false otherwise.


is_premarket ​

Type: series bool

Returns true if the current bar is a part of the pre-market, false otherwise.