1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/// 1 Minute candle period
pub const M1: i64 = 60;

/// 5 Minute candle period
pub const M5: i64 = 300;

/// 15 Minute candle period
pub const M15: i64 = 900;

/// 30 Minute candle period
pub const M30: i64 = 1800;

/// 1 Hour candle period
pub const H1: i64 = 3600;

/// 2 Hour candle period
pub const H2: i64 = 7200;

/// 4 Hour candle period
pub const H4: i64 = 14400;

/// 8 Hour candle period
pub const H8: i64 = 28800;

/// 12 Hour candle period
pub const H12: i64 = 43200;

/// 1 Day candle period
pub const D1: i64 = 86400;