snaptrade-typescript-sdk 4.0.0 → 6.0.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.
- package/.konfig/generate-id.txt +1 -1
- package/README.md +2 -2
- package/api/account-information-api.ts +136 -120
- package/api/api-disclaimer-api.ts +14 -19
- package/api/authentication-api.ts +37 -43
- package/api/connections-api.ts +46 -40
- package/api/error-logs-api.ts +12 -10
- package/api/options-api.ts +104 -108
- package/api/portfolio-management-api.ts +259 -253
- package/api/reference-data-api.ts +49 -53
- package/api/trading-api.ts +172 -185
- package/api/transactions-and-reporting-api.ts +64 -60
- package/client.ts +2 -0
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/account-information-api.d.ts +112 -112
- package/dist/api/api-disclaimer-api.d.ts +10 -16
- package/dist/api/api-disclaimer-api.js +1 -1
- package/dist/api/authentication-api.d.ts +27 -40
- package/dist/api/authentication-api.js +2 -2
- package/dist/api/connections-api.d.ts +38 -38
- package/dist/api/error-logs-api.d.ts +10 -10
- package/dist/api/options-api.d.ts +82 -94
- package/dist/api/options-api.js +2 -2
- package/dist/api/portfolio-management-api.d.ts +214 -256
- package/dist/api/portfolio-management-api.js +7 -7
- package/dist/api/reference-data-api.d.ts +37 -50
- package/dist/api/reference-data-api.js +2 -2
- package/dist/api/trading-api.d.ts +131 -160
- package/dist/api/trading-api.js +10 -10
- package/dist/api/transactions-and-reporting-api.d.ts +52 -52
- package/dist/common.js +2 -2
- package/dist/configuration.js +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/target-asset.d.ts +4 -2
- package/dist/models/trading-cancel-user-account-order-request.d.ts +24 -0
- package/dist/models/trading-cancel-user-account-order-request.js +15 -0
- package/dist/pagination/page-types.d.ts +27 -0
- package/dist/pagination/page-types.js +13 -0
- package/dist/pagination/page.d.ts +6 -1
- package/dist/pagination/page.js +3 -0
- package/dist/pagination/pageable.d.ts +8 -3
- package/dist/pagination/pageable.js +5 -6
- package/dist/pagination/paginate.d.ts +2 -2
- package/docs/AccountInformationApi.md +72 -88
- package/docs/ApiDisclaimerApi.md +8 -12
- package/docs/ApiStatusApi.md +6 -7
- package/docs/AuthenticationApi.md +41 -55
- package/docs/ConnectionsApi.md +26 -32
- package/docs/ErrorLogsApi.md +8 -10
- package/docs/OptionsApi.md +60 -67
- package/docs/PortfolioManagementApi.md +246 -326
- package/docs/ReferenceDataApi.md +68 -95
- package/docs/TradingApi.md +107 -136
- package/docs/TransactionsAndReportingApi.md +26 -28
- package/index.test.ts +2 -4
- package/models/index.ts +1 -0
- package/models/target-asset.ts +2 -2
- package/models/trading-cancel-user-account-order-request.ts +29 -0
- package/package.json +1 -1
- package/pagination/page-types.ts +34 -0
- package/pagination/page.ts +9 -1
- package/pagination/pageable.ts +16 -10
- package/pagination/paginate.ts +3 -2
- package/tsconfig.json +1 -0
- package/dist/index.test.d.ts +0 -1
- package/dist/index.test.js +0 -175
|
@@ -1793,7 +1793,7 @@ export const PortfolioManagementApiFp = function(configuration?: Configuration)
|
|
|
1793
1793
|
* @throws {RequiredError}
|
|
1794
1794
|
*/
|
|
1795
1795
|
async addPortfolioExcludedAsset(requestParameters: PortfolioManagementApiAddPortfolioExcludedAssetRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExcludedAsset>> {
|
|
1796
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addPortfolioExcludedAsset(requestParameters.portfolioGroupId, requestParameters
|
|
1796
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addPortfolioExcludedAsset(requestParameters.portfolioGroupId, requestParameters, options);
|
|
1797
1797
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1798
1798
|
},
|
|
1799
1799
|
/**
|
|
@@ -1804,7 +1804,7 @@ export const PortfolioManagementApiFp = function(configuration?: Configuration)
|
|
|
1804
1804
|
* @throws {RequiredError}
|
|
1805
1805
|
*/
|
|
1806
1806
|
async create(requestParameters: PortfolioManagementApiCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PortfolioGroup>>> {
|
|
1807
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.create(requestParameters.userId, requestParameters.userSecret, requestParameters
|
|
1807
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.create(requestParameters.userId, requestParameters.userSecret, requestParameters, options);
|
|
1808
1808
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1809
1809
|
},
|
|
1810
1810
|
/**
|
|
@@ -2075,7 +2075,7 @@ export const PortfolioManagementApiFp = function(configuration?: Configuration)
|
|
|
2075
2075
|
* @throws {RequiredError}
|
|
2076
2076
|
*/
|
|
2077
2077
|
async modifyModelPortfolioById(requestParameters: PortfolioManagementApiModifyModelPortfolioByIdRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2078
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.modifyModelPortfolioById(requestParameters.modelPortfolioId, requestParameters
|
|
2078
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.modifyModelPortfolioById(requestParameters.modelPortfolioId, requestParameters, options);
|
|
2079
2079
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2080
2080
|
},
|
|
2081
2081
|
/**
|
|
@@ -2086,7 +2086,7 @@ export const PortfolioManagementApiFp = function(configuration?: Configuration)
|
|
|
2086
2086
|
* @throws {RequiredError}
|
|
2087
2087
|
*/
|
|
2088
2088
|
async savePortfolio(requestParameters: PortfolioManagementApiSavePortfolioRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortfolioGroup>> {
|
|
2089
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.savePortfolio(requestParameters.portfolioGroupId, requestParameters
|
|
2089
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.savePortfolio(requestParameters.portfolioGroupId, requestParameters, options);
|
|
2090
2090
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2091
2091
|
},
|
|
2092
2092
|
/**
|
|
@@ -2097,7 +2097,7 @@ export const PortfolioManagementApiFp = function(configuration?: Configuration)
|
|
|
2097
2097
|
* @throws {RequiredError}
|
|
2098
2098
|
*/
|
|
2099
2099
|
async searchPortfolioSymbols(requestParameters: PortfolioManagementApiSearchPortfolioSymbolsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UniversalSymbol>>> {
|
|
2100
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPortfolioSymbols(requestParameters.portfolioGroupId, requestParameters
|
|
2100
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPortfolioSymbols(requestParameters.portfolioGroupId, requestParameters, options);
|
|
2101
2101
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2102
2102
|
},
|
|
2103
2103
|
/**
|
|
@@ -2119,7 +2119,7 @@ export const PortfolioManagementApiFp = function(configuration?: Configuration)
|
|
|
2119
2119
|
* @throws {RequiredError}
|
|
2120
2120
|
*/
|
|
2121
2121
|
async updateAssetClass(requestParameters: PortfolioManagementApiUpdateAssetClassRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2122
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAssetClass(requestParameters.modelAssetClassId, requestParameters
|
|
2122
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAssetClass(requestParameters.modelAssetClassId, requestParameters, options);
|
|
2123
2123
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2124
2124
|
},
|
|
2125
2125
|
/**
|
|
@@ -2141,7 +2141,7 @@ export const PortfolioManagementApiFp = function(configuration?: Configuration)
|
|
|
2141
2141
|
* @throws {RequiredError}
|
|
2142
2142
|
*/
|
|
2143
2143
|
async updatePortfolioTargetById(requestParameters: PortfolioManagementApiUpdatePortfolioTargetByIdRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TargetAsset>> {
|
|
2144
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePortfolioTargetById(requestParameters.portfolioGroupId, requestParameters.targetAssetId, requestParameters
|
|
2144
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePortfolioTargetById(requestParameters.portfolioGroupId, requestParameters.targetAssetId, requestParameters, options);
|
|
2145
2145
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2146
2146
|
},
|
|
2147
2147
|
}
|
|
@@ -2488,62 +2488,54 @@ export const PortfolioManagementApiFactory = function (configuration?: Configura
|
|
|
2488
2488
|
* @export
|
|
2489
2489
|
* @interface PortfolioManagementApiAddPortfolioExcludedAssetRequest
|
|
2490
2490
|
*/
|
|
2491
|
-
export
|
|
2491
|
+
export type PortfolioManagementApiAddPortfolioExcludedAssetRequest = {
|
|
2492
|
+
|
|
2492
2493
|
/**
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2494
|
+
* The ID of the PortfolioGroup under which to exclude an asset.
|
|
2495
|
+
* @type {string}
|
|
2496
|
+
* @memberof PortfolioManagementApiAddPortfolioExcludedAsset
|
|
2497
|
+
*/
|
|
2497
2498
|
readonly portfolioGroupId: string
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
*
|
|
2501
|
-
* @type {UniversalSymbol}
|
|
2502
|
-
* @memberof PortfolioManagementApiAddPortfolioExcludedAsset
|
|
2503
|
-
*/
|
|
2504
|
-
readonly requestBody?: UniversalSymbol
|
|
2505
|
-
}
|
|
2499
|
+
|
|
2500
|
+
} & UniversalSymbol
|
|
2506
2501
|
|
|
2507
2502
|
/**
|
|
2508
2503
|
* Request parameters for create operation in PortfolioManagementApi.
|
|
2509
2504
|
* @export
|
|
2510
2505
|
* @interface PortfolioManagementApiCreateRequest
|
|
2511
2506
|
*/
|
|
2512
|
-
export
|
|
2507
|
+
export type PortfolioManagementApiCreateRequest = {
|
|
2508
|
+
|
|
2513
2509
|
/**
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2510
|
+
*
|
|
2511
|
+
* @type {string}
|
|
2512
|
+
* @memberof PortfolioManagementApiCreate
|
|
2513
|
+
*/
|
|
2518
2514
|
readonly userId: string
|
|
2519
|
-
|
|
2515
|
+
|
|
2520
2516
|
/**
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2517
|
+
*
|
|
2518
|
+
* @type {string}
|
|
2519
|
+
* @memberof PortfolioManagementApiCreate
|
|
2520
|
+
*/
|
|
2525
2521
|
readonly userSecret: string
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
*
|
|
2529
|
-
* @type {{ [key: string]: any; }}
|
|
2530
|
-
* @memberof PortfolioManagementApiCreate
|
|
2531
|
-
*/
|
|
2532
|
-
readonly requestBody: { [key: string]: any; }
|
|
2533
|
-
}
|
|
2522
|
+
|
|
2523
|
+
} & { [key: string]: any; }
|
|
2534
2524
|
|
|
2535
2525
|
/**
|
|
2536
2526
|
* Request parameters for deleteAssetClass operation in PortfolioManagementApi.
|
|
2537
2527
|
* @export
|
|
2538
2528
|
* @interface PortfolioManagementApiDeleteAssetClassRequest
|
|
2539
2529
|
*/
|
|
2540
|
-
export
|
|
2530
|
+
export type PortfolioManagementApiDeleteAssetClassRequest = {
|
|
2531
|
+
|
|
2541
2532
|
/**
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2533
|
+
* The ID of the model asset class to delete.
|
|
2534
|
+
* @type {string}
|
|
2535
|
+
* @memberof PortfolioManagementApiDeleteAssetClass
|
|
2536
|
+
*/
|
|
2546
2537
|
readonly modelAssetClassId: string
|
|
2538
|
+
|
|
2547
2539
|
}
|
|
2548
2540
|
|
|
2549
2541
|
/**
|
|
@@ -2551,20 +2543,22 @@ export interface PortfolioManagementApiDeleteAssetClassRequest {
|
|
|
2551
2543
|
* @export
|
|
2552
2544
|
* @interface PortfolioManagementApiDeleteExcludedAssetRequest
|
|
2553
2545
|
*/
|
|
2554
|
-
export
|
|
2546
|
+
export type PortfolioManagementApiDeleteExcludedAssetRequest = {
|
|
2547
|
+
|
|
2555
2548
|
/**
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2549
|
+
* The ID of the PortfolioGroup under which to unexclude an asset.
|
|
2550
|
+
* @type {string}
|
|
2551
|
+
* @memberof PortfolioManagementApiDeleteExcludedAsset
|
|
2552
|
+
*/
|
|
2560
2553
|
readonly portfolioGroupId: string
|
|
2561
|
-
|
|
2554
|
+
|
|
2562
2555
|
/**
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2556
|
+
* The ID of the excluded asset Symbol to delete.
|
|
2557
|
+
* @type {string}
|
|
2558
|
+
* @memberof PortfolioManagementApiDeleteExcludedAsset
|
|
2559
|
+
*/
|
|
2567
2560
|
readonly symbolId: string
|
|
2561
|
+
|
|
2568
2562
|
}
|
|
2569
2563
|
|
|
2570
2564
|
/**
|
|
@@ -2572,13 +2566,15 @@ export interface PortfolioManagementApiDeleteExcludedAssetRequest {
|
|
|
2572
2566
|
* @export
|
|
2573
2567
|
* @interface PortfolioManagementApiDeleteModelPortfolioByIdRequest
|
|
2574
2568
|
*/
|
|
2575
|
-
export
|
|
2569
|
+
export type PortfolioManagementApiDeleteModelPortfolioByIdRequest = {
|
|
2570
|
+
|
|
2576
2571
|
/**
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2572
|
+
* The ID of the model portfolio to delete.
|
|
2573
|
+
* @type {string}
|
|
2574
|
+
* @memberof PortfolioManagementApiDeleteModelPortfolioById
|
|
2575
|
+
*/
|
|
2581
2576
|
readonly modelPortfolioId: string
|
|
2577
|
+
|
|
2582
2578
|
}
|
|
2583
2579
|
|
|
2584
2580
|
/**
|
|
@@ -2586,13 +2582,15 @@ export interface PortfolioManagementApiDeleteModelPortfolioByIdRequest {
|
|
|
2586
2582
|
* @export
|
|
2587
2583
|
* @interface PortfolioManagementApiDeletePortfoliRequest
|
|
2588
2584
|
*/
|
|
2589
|
-
export
|
|
2585
|
+
export type PortfolioManagementApiDeletePortfoliRequest = {
|
|
2586
|
+
|
|
2590
2587
|
/**
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2588
|
+
* The ID of the PortfolioGroup to delete.
|
|
2589
|
+
* @type {string}
|
|
2590
|
+
* @memberof PortfolioManagementApiDeletePortfoli
|
|
2591
|
+
*/
|
|
2595
2592
|
readonly portfolioGroupId: string
|
|
2593
|
+
|
|
2596
2594
|
}
|
|
2597
2595
|
|
|
2598
2596
|
/**
|
|
@@ -2600,20 +2598,22 @@ export interface PortfolioManagementApiDeletePortfoliRequest {
|
|
|
2600
2598
|
* @export
|
|
2601
2599
|
* @interface PortfolioManagementApiDeletePortfolioTargetByIdRequest
|
|
2602
2600
|
*/
|
|
2603
|
-
export
|
|
2601
|
+
export type PortfolioManagementApiDeletePortfolioTargetByIdRequest = {
|
|
2602
|
+
|
|
2604
2603
|
/**
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2604
|
+
* The ID of the PortfolioGroup under which to remove the target asset.
|
|
2605
|
+
* @type {string}
|
|
2606
|
+
* @memberof PortfolioManagementApiDeletePortfolioTargetById
|
|
2607
|
+
*/
|
|
2609
2608
|
readonly portfolioGroupId: string
|
|
2610
|
-
|
|
2609
|
+
|
|
2611
2610
|
/**
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2611
|
+
* The ID of the TargetAsset to delete.
|
|
2612
|
+
* @type {string}
|
|
2613
|
+
* @memberof PortfolioManagementApiDeletePortfolioTargetById
|
|
2614
|
+
*/
|
|
2616
2615
|
readonly targetAssetId: string
|
|
2616
|
+
|
|
2617
2617
|
}
|
|
2618
2618
|
|
|
2619
2619
|
/**
|
|
@@ -2621,13 +2621,15 @@ export interface PortfolioManagementApiDeletePortfolioTargetByIdRequest {
|
|
|
2621
2621
|
* @export
|
|
2622
2622
|
* @interface PortfolioManagementApiDetailAssetClassRequest
|
|
2623
2623
|
*/
|
|
2624
|
-
export
|
|
2624
|
+
export type PortfolioManagementApiDetailAssetClassRequest = {
|
|
2625
|
+
|
|
2625
2626
|
/**
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2627
|
+
* The ID of the model asset class to get.
|
|
2628
|
+
* @type {string}
|
|
2629
|
+
* @memberof PortfolioManagementApiDetailAssetClass
|
|
2630
|
+
*/
|
|
2630
2631
|
readonly modelAssetClassId: string
|
|
2632
|
+
|
|
2631
2633
|
}
|
|
2632
2634
|
|
|
2633
2635
|
/**
|
|
@@ -2635,27 +2637,29 @@ export interface PortfolioManagementApiDetailAssetClassRequest {
|
|
|
2635
2637
|
* @export
|
|
2636
2638
|
* @interface PortfolioManagementApiGetCalculatedTradeByIdRequest
|
|
2637
2639
|
*/
|
|
2638
|
-
export
|
|
2640
|
+
export type PortfolioManagementApiGetCalculatedTradeByIdRequest = {
|
|
2641
|
+
|
|
2639
2642
|
/**
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2643
|
+
* The ID of the PortfolioGroup to perform rebalancing calculations
|
|
2644
|
+
* @type {string}
|
|
2645
|
+
* @memberof PortfolioManagementApiGetCalculatedTradeById
|
|
2646
|
+
*/
|
|
2644
2647
|
readonly portfolioGroupId: string
|
|
2645
|
-
|
|
2648
|
+
|
|
2646
2649
|
/**
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2650
|
+
* The ID of calculated trade to get account impact
|
|
2651
|
+
* @type {string}
|
|
2652
|
+
* @memberof PortfolioManagementApiGetCalculatedTradeById
|
|
2653
|
+
*/
|
|
2651
2654
|
readonly calculatedTradeId: string
|
|
2652
|
-
|
|
2655
|
+
|
|
2653
2656
|
/**
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2657
|
+
* The ID of trade object
|
|
2658
|
+
* @type {string}
|
|
2659
|
+
* @memberof PortfolioManagementApiGetCalculatedTradeById
|
|
2660
|
+
*/
|
|
2658
2661
|
readonly tradeId: string
|
|
2662
|
+
|
|
2659
2663
|
}
|
|
2660
2664
|
|
|
2661
2665
|
/**
|
|
@@ -2663,13 +2667,15 @@ export interface PortfolioManagementApiGetCalculatedTradeByIdRequest {
|
|
|
2663
2667
|
* @export
|
|
2664
2668
|
* @interface PortfolioManagementApiGetModelDetailsByIdRequest
|
|
2665
2669
|
*/
|
|
2666
|
-
export
|
|
2670
|
+
export type PortfolioManagementApiGetModelDetailsByIdRequest = {
|
|
2671
|
+
|
|
2667
2672
|
/**
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2673
|
+
* The ID of the model portfolio to get.
|
|
2674
|
+
* @type {string}
|
|
2675
|
+
* @memberof PortfolioManagementApiGetModelDetailsById
|
|
2676
|
+
*/
|
|
2672
2677
|
readonly modelPortfolioId: string
|
|
2678
|
+
|
|
2673
2679
|
}
|
|
2674
2680
|
|
|
2675
2681
|
/**
|
|
@@ -2677,13 +2683,15 @@ export interface PortfolioManagementApiGetModelDetailsByIdRequest {
|
|
|
2677
2683
|
* @export
|
|
2678
2684
|
* @interface PortfolioManagementApiGetPortfolioBalancesRequest
|
|
2679
2685
|
*/
|
|
2680
|
-
export
|
|
2686
|
+
export type PortfolioManagementApiGetPortfolioBalancesRequest = {
|
|
2687
|
+
|
|
2681
2688
|
/**
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2689
|
+
* The ID of the PortfolioGroup under which to create the target asset.
|
|
2690
|
+
* @type {string}
|
|
2691
|
+
* @memberof PortfolioManagementApiGetPortfolioBalances
|
|
2692
|
+
*/
|
|
2686
2693
|
readonly portfolioGroupId: string
|
|
2694
|
+
|
|
2687
2695
|
}
|
|
2688
2696
|
|
|
2689
2697
|
/**
|
|
@@ -2691,13 +2699,15 @@ export interface PortfolioManagementApiGetPortfolioBalancesRequest {
|
|
|
2691
2699
|
* @export
|
|
2692
2700
|
* @interface PortfolioManagementApiGetPortfolioDetailsByIdRequest
|
|
2693
2701
|
*/
|
|
2694
|
-
export
|
|
2702
|
+
export type PortfolioManagementApiGetPortfolioDetailsByIdRequest = {
|
|
2703
|
+
|
|
2695
2704
|
/**
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2705
|
+
* The ID of the PortfolioGroup to get.
|
|
2706
|
+
* @type {string}
|
|
2707
|
+
* @memberof PortfolioManagementApiGetPortfolioDetailsById
|
|
2708
|
+
*/
|
|
2700
2709
|
readonly portfolioGroupId: string
|
|
2710
|
+
|
|
2701
2711
|
}
|
|
2702
2712
|
|
|
2703
2713
|
/**
|
|
@@ -2705,13 +2715,15 @@ export interface PortfolioManagementApiGetPortfolioDetailsByIdRequest {
|
|
|
2705
2715
|
* @export
|
|
2706
2716
|
* @interface PortfolioManagementApiGetPortfolioInfoRequest
|
|
2707
2717
|
*/
|
|
2708
|
-
export
|
|
2718
|
+
export type PortfolioManagementApiGetPortfolioInfoRequest = {
|
|
2719
|
+
|
|
2709
2720
|
/**
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2721
|
+
* The ID of the PortfolioGroup under which to create the target asset.
|
|
2722
|
+
* @type {string}
|
|
2723
|
+
* @memberof PortfolioManagementApiGetPortfolioInfo
|
|
2724
|
+
*/
|
|
2714
2725
|
readonly portfolioGroupId: string
|
|
2726
|
+
|
|
2715
2727
|
}
|
|
2716
2728
|
|
|
2717
2729
|
/**
|
|
@@ -2719,13 +2731,15 @@ export interface PortfolioManagementApiGetPortfolioInfoRequest {
|
|
|
2719
2731
|
* @export
|
|
2720
2732
|
* @interface PortfolioManagementApiGetPortfolioPositionsRequest
|
|
2721
2733
|
*/
|
|
2722
|
-
export
|
|
2734
|
+
export type PortfolioManagementApiGetPortfolioPositionsRequest = {
|
|
2735
|
+
|
|
2723
2736
|
/**
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2737
|
+
* The ID of the PortfolioGroup under which to create the target asset.
|
|
2738
|
+
* @type {string}
|
|
2739
|
+
* @memberof PortfolioManagementApiGetPortfolioPositions
|
|
2740
|
+
*/
|
|
2728
2741
|
readonly portfolioGroupId: string
|
|
2742
|
+
|
|
2729
2743
|
}
|
|
2730
2744
|
|
|
2731
2745
|
/**
|
|
@@ -2733,13 +2747,15 @@ export interface PortfolioManagementApiGetPortfolioPositionsRequest {
|
|
|
2733
2747
|
* @export
|
|
2734
2748
|
* @interface PortfolioManagementApiGetPortfolioSettingsRequest
|
|
2735
2749
|
*/
|
|
2736
|
-
export
|
|
2750
|
+
export type PortfolioManagementApiGetPortfolioSettingsRequest = {
|
|
2751
|
+
|
|
2737
2752
|
/**
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2753
|
+
* The ID of the PortfolioGroup under which to get the settings.
|
|
2754
|
+
* @type {string}
|
|
2755
|
+
* @memberof PortfolioManagementApiGetPortfolioSettings
|
|
2756
|
+
*/
|
|
2742
2757
|
readonly portfolioGroupId: string
|
|
2758
|
+
|
|
2743
2759
|
}
|
|
2744
2760
|
|
|
2745
2761
|
/**
|
|
@@ -2747,20 +2763,22 @@ export interface PortfolioManagementApiGetPortfolioSettingsRequest {
|
|
|
2747
2763
|
* @export
|
|
2748
2764
|
* @interface PortfolioManagementApiGetPortfolioTargetByIdRequest
|
|
2749
2765
|
*/
|
|
2750
|
-
export
|
|
2766
|
+
export type PortfolioManagementApiGetPortfolioTargetByIdRequest = {
|
|
2767
|
+
|
|
2751
2768
|
/**
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2769
|
+
* The ID of the PortfolioGroup under which to get the target asset.
|
|
2770
|
+
* @type {string}
|
|
2771
|
+
* @memberof PortfolioManagementApiGetPortfolioTargetById
|
|
2772
|
+
*/
|
|
2756
2773
|
readonly portfolioGroupId: string
|
|
2757
|
-
|
|
2774
|
+
|
|
2758
2775
|
/**
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2776
|
+
* The ID of the TargetAsset to get.
|
|
2777
|
+
* @type {string}
|
|
2778
|
+
* @memberof PortfolioManagementApiGetPortfolioTargetById
|
|
2779
|
+
*/
|
|
2763
2780
|
readonly targetAssetId: string
|
|
2781
|
+
|
|
2764
2782
|
}
|
|
2765
2783
|
|
|
2766
2784
|
/**
|
|
@@ -2768,13 +2786,15 @@ export interface PortfolioManagementApiGetPortfolioTargetByIdRequest {
|
|
|
2768
2786
|
* @export
|
|
2769
2787
|
* @interface PortfolioManagementApiGetPortfolioTargetsRequest
|
|
2770
2788
|
*/
|
|
2771
|
-
export
|
|
2789
|
+
export type PortfolioManagementApiGetPortfolioTargetsRequest = {
|
|
2790
|
+
|
|
2772
2791
|
/**
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2792
|
+
* The ID of the PortfolioGroup under which to create the target asset.
|
|
2793
|
+
* @type {string}
|
|
2794
|
+
* @memberof PortfolioManagementApiGetPortfolioTargets
|
|
2795
|
+
*/
|
|
2777
2796
|
readonly portfolioGroupId: string
|
|
2797
|
+
|
|
2778
2798
|
}
|
|
2779
2799
|
|
|
2780
2800
|
/**
|
|
@@ -2782,13 +2802,15 @@ export interface PortfolioManagementApiGetPortfolioTargetsRequest {
|
|
|
2782
2802
|
* @export
|
|
2783
2803
|
* @interface PortfolioManagementApiGetPortoflioExcludedAssetsRequest
|
|
2784
2804
|
*/
|
|
2785
|
-
export
|
|
2805
|
+
export type PortfolioManagementApiGetPortoflioExcludedAssetsRequest = {
|
|
2806
|
+
|
|
2786
2807
|
/**
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2808
|
+
* The ID of the PortfolioGroup under which the excluded assets are linked.
|
|
2809
|
+
* @type {string}
|
|
2810
|
+
* @memberof PortfolioManagementApiGetPortoflioExcludedAssets
|
|
2811
|
+
*/
|
|
2791
2812
|
readonly portfolioGroupId: string
|
|
2813
|
+
|
|
2792
2814
|
}
|
|
2793
2815
|
|
|
2794
2816
|
/**
|
|
@@ -2796,13 +2818,15 @@ export interface PortfolioManagementApiGetPortoflioExcludedAssetsRequest {
|
|
|
2796
2818
|
* @export
|
|
2797
2819
|
* @interface PortfolioManagementApiImportModelPortfolioRequest
|
|
2798
2820
|
*/
|
|
2799
|
-
export
|
|
2821
|
+
export type PortfolioManagementApiImportModelPortfolioRequest = {
|
|
2822
|
+
|
|
2800
2823
|
/**
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2824
|
+
* The ID of the PortfolioGroup under which to create the target asset.
|
|
2825
|
+
* @type {string}
|
|
2826
|
+
* @memberof PortfolioManagementApiImportModelPortfolio
|
|
2827
|
+
*/
|
|
2805
2828
|
readonly portfolioGroupId: string
|
|
2829
|
+
|
|
2806
2830
|
}
|
|
2807
2831
|
|
|
2808
2832
|
/**
|
|
@@ -2810,20 +2834,22 @@ export interface PortfolioManagementApiImportModelPortfolioRequest {
|
|
|
2810
2834
|
* @export
|
|
2811
2835
|
* @interface PortfolioManagementApiListRequest
|
|
2812
2836
|
*/
|
|
2813
|
-
export
|
|
2837
|
+
export type PortfolioManagementApiListRequest = {
|
|
2838
|
+
|
|
2814
2839
|
/**
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2840
|
+
*
|
|
2841
|
+
* @type {string}
|
|
2842
|
+
* @memberof PortfolioManagementApiList
|
|
2843
|
+
*/
|
|
2819
2844
|
readonly userId: string
|
|
2820
|
-
|
|
2845
|
+
|
|
2821
2846
|
/**
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2847
|
+
*
|
|
2848
|
+
* @type {string}
|
|
2849
|
+
* @memberof PortfolioManagementApiList
|
|
2850
|
+
*/
|
|
2826
2851
|
readonly userSecret: string
|
|
2852
|
+
|
|
2827
2853
|
}
|
|
2828
2854
|
|
|
2829
2855
|
/**
|
|
@@ -2831,13 +2857,15 @@ export interface PortfolioManagementApiListRequest {
|
|
|
2831
2857
|
* @export
|
|
2832
2858
|
* @interface PortfolioManagementApiListCalculatedTradesRequest
|
|
2833
2859
|
*/
|
|
2834
|
-
export
|
|
2860
|
+
export type PortfolioManagementApiListCalculatedTradesRequest = {
|
|
2861
|
+
|
|
2835
2862
|
/**
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2863
|
+
* The ID of the PortfolioGroup to perform rebalancing calculations
|
|
2864
|
+
* @type {string}
|
|
2865
|
+
* @memberof PortfolioManagementApiListCalculatedTrades
|
|
2866
|
+
*/
|
|
2840
2867
|
readonly portfolioGroupId: string
|
|
2868
|
+
|
|
2841
2869
|
}
|
|
2842
2870
|
|
|
2843
2871
|
/**
|
|
@@ -2845,13 +2873,15 @@ export interface PortfolioManagementApiListCalculatedTradesRequest {
|
|
|
2845
2873
|
* @export
|
|
2846
2874
|
* @interface PortfolioManagementApiListPortfolioAccountsRequest
|
|
2847
2875
|
*/
|
|
2848
|
-
export
|
|
2876
|
+
export type PortfolioManagementApiListPortfolioAccountsRequest = {
|
|
2877
|
+
|
|
2849
2878
|
/**
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2879
|
+
* The ID of the PortfolioGroup under which the accounts are linked.
|
|
2880
|
+
* @type {string}
|
|
2881
|
+
* @memberof PortfolioManagementApiListPortfolioAccounts
|
|
2882
|
+
*/
|
|
2854
2883
|
readonly portfolioGroupId: string
|
|
2884
|
+
|
|
2855
2885
|
}
|
|
2856
2886
|
|
|
2857
2887
|
/**
|
|
@@ -2859,82 +2889,66 @@ export interface PortfolioManagementApiListPortfolioAccountsRequest {
|
|
|
2859
2889
|
* @export
|
|
2860
2890
|
* @interface PortfolioManagementApiModifyModelPortfolioByIdRequest
|
|
2861
2891
|
*/
|
|
2862
|
-
export
|
|
2892
|
+
export type PortfolioManagementApiModifyModelPortfolioByIdRequest = {
|
|
2893
|
+
|
|
2863
2894
|
/**
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2895
|
+
* The ID of the model portfolio to update.
|
|
2896
|
+
* @type {string}
|
|
2897
|
+
* @memberof PortfolioManagementApiModifyModelPortfolioById
|
|
2898
|
+
*/
|
|
2868
2899
|
readonly modelPortfolioId: string
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
* Use this endpoint change model asset class name and to add or remove a model portfolio security/model portfolio asset class. <br /><br /> * The model portfolio name and model portfolio model type is required. <br /> * The model portfolio model type must be either 0 or 1. [0 -> Securities based, 1 -> Asset Class based] <br /><br /> * If the model portfolio type is 0, the model portfolio asset class must be an empty array. <br /> * If the model portfolio type is 1, the model portfolio security must be an empty array. <br /><br /> * When updating the model portfolio security, the percent is required. Only the symbol id is required for the symbol object <br /> * When updating the model portfolio asset classes, the percent is required. Only the model asset class id is required for the model asset class object <br /><br /> * To remove all model portfolio securities or model portfolio asset class, set then to an empty array
|
|
2872
|
-
* @type {ModelPortfolioDetails}
|
|
2873
|
-
* @memberof PortfolioManagementApiModifyModelPortfolioById
|
|
2874
|
-
*/
|
|
2875
|
-
readonly requestBody: ModelPortfolioDetails
|
|
2876
|
-
}
|
|
2900
|
+
|
|
2901
|
+
} & ModelPortfolioDetails
|
|
2877
2902
|
|
|
2878
2903
|
/**
|
|
2879
2904
|
* Request parameters for savePortfolio operation in PortfolioManagementApi.
|
|
2880
2905
|
* @export
|
|
2881
2906
|
* @interface PortfolioManagementApiSavePortfolioRequest
|
|
2882
2907
|
*/
|
|
2883
|
-
export
|
|
2908
|
+
export type PortfolioManagementApiSavePortfolioRequest = {
|
|
2909
|
+
|
|
2884
2910
|
/**
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2911
|
+
* The ID of the PortfolioGroup to update.
|
|
2912
|
+
* @type {string}
|
|
2913
|
+
* @memberof PortfolioManagementApiSavePortfolio
|
|
2914
|
+
*/
|
|
2889
2915
|
readonly portfolioGroupId: string
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
*
|
|
2893
|
-
* @type {{ [key: string]: any; }}
|
|
2894
|
-
* @memberof PortfolioManagementApiSavePortfolio
|
|
2895
|
-
*/
|
|
2896
|
-
readonly requestBody: { [key: string]: any; }
|
|
2897
|
-
}
|
|
2916
|
+
|
|
2917
|
+
} & { [key: string]: any; }
|
|
2898
2918
|
|
|
2899
2919
|
/**
|
|
2900
2920
|
* Request parameters for searchPortfolioSymbols operation in PortfolioManagementApi.
|
|
2901
2921
|
* @export
|
|
2902
2922
|
* @interface PortfolioManagementApiSearchPortfolioSymbolsRequest
|
|
2903
2923
|
*/
|
|
2904
|
-
export
|
|
2924
|
+
export type PortfolioManagementApiSearchPortfolioSymbolsRequest = {
|
|
2925
|
+
|
|
2905
2926
|
/**
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2927
|
+
* The ID of the PortfolioGroup to search under
|
|
2928
|
+
* @type {string}
|
|
2929
|
+
* @memberof PortfolioManagementApiSearchPortfolioSymbols
|
|
2930
|
+
*/
|
|
2910
2931
|
readonly portfolioGroupId: string
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
*
|
|
2914
|
-
* @type {SymbolQuery}
|
|
2915
|
-
* @memberof PortfolioManagementApiSearchPortfolioSymbols
|
|
2916
|
-
*/
|
|
2917
|
-
readonly requestBody?: SymbolQuery
|
|
2918
|
-
}
|
|
2932
|
+
|
|
2933
|
+
} & SymbolQuery
|
|
2919
2934
|
|
|
2920
2935
|
/**
|
|
2921
2936
|
* Request parameters for setPortfolioTargets operation in PortfolioManagementApi.
|
|
2922
2937
|
* @export
|
|
2923
2938
|
* @interface PortfolioManagementApiSetPortfolioTargetsRequest
|
|
2924
2939
|
*/
|
|
2925
|
-
export
|
|
2940
|
+
export type PortfolioManagementApiSetPortfolioTargetsRequest = {
|
|
2926
2941
|
/**
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2942
|
+
* The ID of the PortfolioGroup under which to create the target asset.
|
|
2943
|
+
* @type {string}
|
|
2944
|
+
* @memberof PortfolioManagementApiSetPortfolioTargets
|
|
2945
|
+
*/
|
|
2931
2946
|
readonly portfolioGroupId: string
|
|
2932
|
-
|
|
2933
2947
|
/**
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2948
|
+
*
|
|
2949
|
+
* @type {Array<TargetAsset>}
|
|
2950
|
+
* @memberof PortfolioManagementApiSetPortfolioTargets
|
|
2951
|
+
*/
|
|
2938
2952
|
readonly requestBody?: Array<TargetAsset>
|
|
2939
2953
|
}
|
|
2940
2954
|
|
|
@@ -2943,34 +2957,31 @@ export interface PortfolioManagementApiSetPortfolioTargetsRequest {
|
|
|
2943
2957
|
* @export
|
|
2944
2958
|
* @interface PortfolioManagementApiUpdateAssetClassRequest
|
|
2945
2959
|
*/
|
|
2946
|
-
export
|
|
2960
|
+
export type PortfolioManagementApiUpdateAssetClassRequest = {
|
|
2961
|
+
|
|
2947
2962
|
/**
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2963
|
+
* The ID of the model asset class to update.
|
|
2964
|
+
* @type {string}
|
|
2965
|
+
* @memberof PortfolioManagementApiUpdateAssetClass
|
|
2966
|
+
*/
|
|
2952
2967
|
readonly modelAssetClassId: string
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
* Use this endpoint change model asset class name and to add or remove a model asset class target. <br /><br /> * Only the model asset class name is required for the model asset class object. <br /> * Only the symbol id is required for the symbol object in the model asset class target object. <br /> * To remove all model asset class targets, set the model asset class target as an empty array
|
|
2956
|
-
* @type {ModelAssetClassDetails}
|
|
2957
|
-
* @memberof PortfolioManagementApiUpdateAssetClass
|
|
2958
|
-
*/
|
|
2959
|
-
readonly requestBody: ModelAssetClassDetails
|
|
2960
|
-
}
|
|
2968
|
+
|
|
2969
|
+
} & ModelAssetClassDetails
|
|
2961
2970
|
|
|
2962
2971
|
/**
|
|
2963
2972
|
* Request parameters for updatePortfolioSettings operation in PortfolioManagementApi.
|
|
2964
2973
|
* @export
|
|
2965
2974
|
* @interface PortfolioManagementApiUpdatePortfolioSettingsRequest
|
|
2966
2975
|
*/
|
|
2967
|
-
export
|
|
2976
|
+
export type PortfolioManagementApiUpdatePortfolioSettingsRequest = {
|
|
2977
|
+
|
|
2968
2978
|
/**
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2979
|
+
* The ID of the PortfolioGroup under which to patch the settings.
|
|
2980
|
+
* @type {string}
|
|
2981
|
+
* @memberof PortfolioManagementApiUpdatePortfolioSettings
|
|
2982
|
+
*/
|
|
2973
2983
|
readonly portfolioGroupId: string
|
|
2984
|
+
|
|
2974
2985
|
}
|
|
2975
2986
|
|
|
2976
2987
|
/**
|
|
@@ -2978,28 +2989,23 @@ export interface PortfolioManagementApiUpdatePortfolioSettingsRequest {
|
|
|
2978
2989
|
* @export
|
|
2979
2990
|
* @interface PortfolioManagementApiUpdatePortfolioTargetByIdRequest
|
|
2980
2991
|
*/
|
|
2981
|
-
export
|
|
2992
|
+
export type PortfolioManagementApiUpdatePortfolioTargetByIdRequest = {
|
|
2993
|
+
|
|
2982
2994
|
/**
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2995
|
+
* The ID of the PortfolioGroup under which to patch the target asset.
|
|
2996
|
+
* @type {string}
|
|
2997
|
+
* @memberof PortfolioManagementApiUpdatePortfolioTargetById
|
|
2998
|
+
*/
|
|
2987
2999
|
readonly portfolioGroupId: string
|
|
2988
|
-
|
|
3000
|
+
|
|
2989
3001
|
/**
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
3002
|
+
* The ID of the TargetAsset to patch.
|
|
3003
|
+
* @type {string}
|
|
3004
|
+
* @memberof PortfolioManagementApiUpdatePortfolioTargetById
|
|
3005
|
+
*/
|
|
2994
3006
|
readonly targetAssetId: string
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
*
|
|
2998
|
-
* @type {TargetAsset}
|
|
2999
|
-
* @memberof PortfolioManagementApiUpdatePortfolioTargetById
|
|
3000
|
-
*/
|
|
3001
|
-
readonly requestBody: TargetAsset
|
|
3002
|
-
}
|
|
3007
|
+
|
|
3008
|
+
} & TargetAsset
|
|
3003
3009
|
|
|
3004
3010
|
/**
|
|
3005
3011
|
* PortfolioManagementApi - object-oriented interface
|