-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b27bfee
commit f15eb3c
Showing
2 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
pub const MAX_PAGE: i32 = 10; | ||
pub const MAX_ADDRESSES: usize = 30; | ||
|
||
pub const TIMEFRAMES: [&str; 3] = ["day", "hour", "minute"]; | ||
pub const DAY_AGGREGATES: [i32; 1] = [1]; | ||
pub const HOUR_AGGREGATES: [i32; 3] = [1, 4, 12]; | ||
pub const MINUTE_AGGREGATES: [i32; 3] = [1, 5, 15]; | ||
pub const OHLCV_LIMIT: i32 = 1000; | ||
|
||
pub const CURRENCIES: [&str; 2] = ["usd", "token"]; | ||
pub const TOKENS: [&str; 2] = ["base", "quote"]; | ||
pub const VALID_TIMEFRAMES: [&str; 3] = ["day", "hour", "minute"]; | ||
pub const VALID_DAY_AGGREGATES: [i32; 1] = [1]; | ||
pub const VALID_HOUR_AGGREGATES: [i32; 3] = [1, 4, 12]; | ||
pub const VALID_MINUTE_AGGREGATES: [i32; 3] = [1, 5, 15]; | ||
|
||
pub const VALID_CURRENCIES: [&str; 2] = ["usd", "token"]; | ||
pub const VALID_TOKENS: [&str; 2] = ["base", "quote"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters