Message: RenkoBarParameters

File: WebAPI/historical_2.proto

Description

Parameters of a Renko bar request.

Used in

NonTimedBarRequest

Fields

brick_size

Type: uint32

Description: Size of single brick.

Note: Can take a value from 1 to 1000000000.

max_null_bricks

Type: uint32

Description: Maximum number of null bricks that can be generated as a single brick in the case of price gaps.

Note: Can take a value from 0 to 200. Default value is 0.

start_point

Type: uint32

Description: Note: START_POINT_SESSION is processed by default.

Source: RenkoBarParameters.StartPoint.

Enum StartPoint

Description: Start point values.

Values

      START_POINT_SESSION = 0

     Renko calculation resets at the beginning of session.

      START_POINT_WEEK = 1

     Renko calculation resets at the beginning of week (corresponds to start of weekly timed bar)

      START_POINT_MONTH = 2

     Renko calculation resets at the beginning of month (corresponds to start of monthly timed bar).