Increase default chart initial bar counts per timeframe.
Load 2000 bars for 1m/5m/15m, 1000 for 1h/2h/4h, and 500 for 1d/1w on first screen instead of 300-bar chunked defaults. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -8,14 +8,14 @@
|
||||
const DEFAULT_VISIBLE_BARS = 200;
|
||||
const CHART_LOAD_LEFT_THRESHOLD = 25;
|
||||
const CHART_INITIAL_LIMITS = {
|
||||
"1m": 300,
|
||||
"5m": 300,
|
||||
"15m": 300,
|
||||
"1h": 200,
|
||||
"2h": 200,
|
||||
"4h": 200,
|
||||
"1d": 200,
|
||||
"1w": 150,
|
||||
"1m": 2000,
|
||||
"5m": 2000,
|
||||
"15m": 2000,
|
||||
"1h": 1000,
|
||||
"2h": 1000,
|
||||
"4h": 1000,
|
||||
"1d": 500,
|
||||
"1w": 500,
|
||||
};
|
||||
const CHART_CHUNK_LIMITS = {
|
||||
"1m": 500,
|
||||
|
||||
Reference in New Issue
Block a user