@galacticcouncil/sdk 9.5.1 → 9.5.2
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.
|
@@ -78,14 +78,14 @@ export declare class TradeScheduler {
|
|
|
78
78
|
* @param priceImpact - price impact of swap execution (via single trade)
|
|
79
79
|
* @returns optimal number of trades to execute the order
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
getTwapTradeCount(priceImpact: number): number;
|
|
82
82
|
/**
|
|
83
83
|
* Calculate approx. execution time for twap order.
|
|
84
84
|
*
|
|
85
85
|
* @param tradeCount - number of trades per order
|
|
86
86
|
* @returns unix representation of execution time
|
|
87
87
|
*/
|
|
88
|
-
|
|
88
|
+
getTwapExecutionTime(tradeCount: number): number;
|
|
89
89
|
/**
|
|
90
90
|
* Convert unix execution period to block period
|
|
91
91
|
*
|