funhi-chart 1.3.8 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/components/FunhiChart.d.ts +1 -1
- package/dist/dts/core/CandleManager.d.ts +1 -1
- package/dist/dts/core/FunhiChartController.d.ts +9 -1
- package/dist/dts/validators/CandleValidator.d.ts +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/dts/components/FunhiChartIsolated.d.ts +0 -13
- package/dist/dts/components/FunhiChartOOP.d.ts +0 -8
- package/dist/dts/components/ProfessionalTradingChartRedux.d.ts +0 -13
|
@@ -58,9 +58,17 @@ export declare class FunhiChartController {
|
|
|
58
58
|
*/
|
|
59
59
|
resize(): void;
|
|
60
60
|
/**
|
|
61
|
-
* Checks for gaps in candles and loads missing ones from database
|
|
61
|
+
* Checks for gaps in candles and loads missing ones from database for current timeframe
|
|
62
62
|
*/
|
|
63
63
|
private checkAndFillGaps;
|
|
64
|
+
/**
|
|
65
|
+
* Checks for gaps in candles and loads missing ones from database for a specific timeframe
|
|
66
|
+
*/
|
|
67
|
+
private checkAndFillGapsForTimeframe;
|
|
68
|
+
/**
|
|
69
|
+
* Checks for gaps in all timeframes and loads missing candles
|
|
70
|
+
*/
|
|
71
|
+
private checkAndFillGapsForAllTimeframes;
|
|
64
72
|
/**
|
|
65
73
|
* Starts periodic gap checking
|
|
66
74
|
*/
|
|
@@ -9,6 +9,7 @@ export declare class CandleValidator {
|
|
|
9
9
|
private static readonly MIN_BODY_PERCENTAGE;
|
|
10
10
|
/**
|
|
11
11
|
* Absolute minimum body size in price units
|
|
12
|
+
* Set to 0 to display exact prices without any modifications
|
|
12
13
|
*/
|
|
13
14
|
private static readonly MIN_BODY_ABSOLUTE;
|
|
14
15
|
/**
|
|
@@ -17,6 +18,7 @@ export declare class CandleValidator {
|
|
|
17
18
|
static validate(candle: CandleData): boolean;
|
|
18
19
|
/**
|
|
19
20
|
* Ensures candle has minimum body size for visibility
|
|
21
|
+
* DISABLED: Returns candle as-is to display exact prices without modifications
|
|
20
22
|
*/
|
|
21
23
|
static ensureMinimumBodySize(candle: CandleData, minBodySize?: number): CandleData;
|
|
22
24
|
/**
|
|
@@ -33,6 +35,7 @@ export declare class CandleValidator {
|
|
|
33
35
|
static validatePrice(price: number): boolean;
|
|
34
36
|
/**
|
|
35
37
|
* Calculates minimum body size for a given price
|
|
38
|
+
* Returns 0 to prevent any price modifications
|
|
36
39
|
*/
|
|
37
40
|
static calculateMinBodySize(price: number): number;
|
|
38
41
|
}
|