@galacticcouncil/sdk-next 0.23.0 → 0.24.0
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.
|
@@ -16,11 +16,11 @@ export declare class TradeScheduler {
|
|
|
16
16
|
* @param assetIn - storage key of assetIn
|
|
17
17
|
* @param assetOut - storage key of assetOut
|
|
18
18
|
* @param amountInTotal - order budget
|
|
19
|
-
* @param
|
|
20
|
-
* @param noOfTrades - number of
|
|
19
|
+
* @param duration - order duration in ms
|
|
20
|
+
* @param noOfTrades - number of trades within the order
|
|
21
21
|
* @returns - dca trade order
|
|
22
22
|
*/
|
|
23
|
-
getDcaOrder(assetIn: number, assetOut: number, amountInTotal: string,
|
|
23
|
+
getDcaOrder(assetIn: number, assetOut: number, amountInTotal: string, duration: number, noOfTrades?: number): Promise<TradeDcaOrder>;
|
|
24
24
|
/**
|
|
25
25
|
* Calculate minimum order budget (amountIn) required for order
|
|
26
26
|
* execution.
|