snaptrade-typescript-sdk 8.6.0 → 8.8.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.
Files changed (169) hide show
  1. package/README.md +9 -12
  2. package/dist/api/portfolio-management-api.d.ts +0 -47
  3. package/dist/api/portfolio-management-api.js +0 -103
  4. package/dist/configuration.js +1 -1
  5. package/dist/models/session-event.d.ts +6 -0
  6. package/dist/models/symbol.d.ts +7 -0
  7. package/package.json +4 -1
  8. package/.konfig/generate-id.txt +0 -1
  9. package/.konfigignore +0 -3
  10. package/api/account-information-api-custom.ts +0 -3
  11. package/api/account-information-api.ts +0 -1062
  12. package/api/api-disclaimer-api-custom.ts +0 -3
  13. package/api/api-disclaimer-api.ts +0 -183
  14. package/api/api-status-api-custom.ts +0 -3
  15. package/api/api-status-api.ts +0 -128
  16. package/api/authentication-api-custom.ts +0 -3
  17. package/api/authentication-api.ts +0 -568
  18. package/api/connections-api-custom.ts +0 -3
  19. package/api/connections-api.ts +0 -544
  20. package/api/error-logs-api-custom.ts +0 -3
  21. package/api/error-logs-api.ts +0 -174
  22. package/api/options-api-custom.ts +0 -3
  23. package/api/options-api.ts +0 -739
  24. package/api/portfolio-management-api-custom.ts +0 -3
  25. package/api/portfolio-management-api.ts +0 -3301
  26. package/api/reference-data-api-custom.ts +0 -3
  27. package/api/reference-data-api.ts +0 -1031
  28. package/api/trading-api-custom.ts +0 -3
  29. package/api/trading-api.ts +0 -1304
  30. package/api/transactions-and-reporting-api-custom.ts +0 -3
  31. package/api/transactions-and-reporting-api.ts +0 -408
  32. package/api.ts +0 -27
  33. package/base.ts +0 -70
  34. package/client-custom.ts +0 -5
  35. package/client.ts +0 -59
  36. package/common.ts +0 -163
  37. package/configuration.ts +0 -131
  38. package/docs/AccountInformationApi.md +0 -469
  39. package/docs/ApiDisclaimerApi.md +0 -65
  40. package/docs/ApiStatusApi.md +0 -59
  41. package/docs/AuthenticationApi.md +0 -293
  42. package/docs/ConnectionsApi.md +0 -237
  43. package/docs/ErrorLogsApi.md +0 -63
  44. package/docs/OptionsApi.md +0 -314
  45. package/docs/PortfolioManagementApi.md +0 -1786
  46. package/docs/ReferenceDataApi.md +0 -570
  47. package/docs/TradingApi.md +0 -600
  48. package/docs/TransactionsAndReportingApi.md +0 -141
  49. package/index.test.ts +0 -177
  50. package/index.ts +0 -18
  51. package/jest.config.ts +0 -11
  52. package/models/account-holdings-account.ts +0 -61
  53. package/models/account-holdings.ts +0 -61
  54. package/models/account-order-record-status.ts +0 -48
  55. package/models/account-order-record.ts +0 -151
  56. package/models/account-simple.ts +0 -52
  57. package/models/account-sync-status.ts +0 -32
  58. package/models/account.ts +0 -91
  59. package/models/action.ts +0 -30
  60. package/models/apidisclaimer-accept-request.ts +0 -29
  61. package/models/authentication-login-snap-trade-user200-response.ts +0 -31
  62. package/models/balance.ts +0 -40
  63. package/models/brokerage-authorization-type-read-only-brokerage.ts +0 -43
  64. package/models/brokerage-authorization-type-read-only.ts +0 -68
  65. package/models/brokerage-authorization-type.ts +0 -39
  66. package/models/brokerage-authorization.ts +0 -82
  67. package/models/brokerage-symbol.ts +0 -61
  68. package/models/brokerage-type.ts +0 -37
  69. package/models/brokerage.ts +0 -136
  70. package/models/calculated-trade.ts +0 -40
  71. package/models/cash-restriction.ts +0 -63
  72. package/models/connections-session-events200-response-inner.ts +0 -25
  73. package/models/currency.ts +0 -43
  74. package/models/delete-user-response.ts +0 -37
  75. package/models/dividend-at-date.ts +0 -43
  76. package/models/encrypted-response-encrypted-message-data.ts +0 -43
  77. package/models/encrypted-response.ts +0 -38
  78. package/models/exchange-rate-pairs.ts +0 -46
  79. package/models/exchange.ts +0 -73
  80. package/models/excluded-asset.ts +0 -34
  81. package/models/index.ts +0 -109
  82. package/models/jwt.ts +0 -31
  83. package/models/login-redirect-uri.ts +0 -35
  84. package/models/manual-trade-and-impact.ts +0 -49
  85. package/models/manual-trade-balance.ts +0 -49
  86. package/models/manual-trade-form.ts +0 -80
  87. package/models/manual-trade-symbol.ts +0 -64
  88. package/models/manual-trade.ts +0 -88
  89. package/models/model-asset-class-details.ts +0 -41
  90. package/models/model-asset-class-target.ts +0 -34
  91. package/models/model-asset-class.ts +0 -37
  92. package/models/model-portfolio-asset-class.ts +0 -40
  93. package/models/model-portfolio-details.ts +0 -50
  94. package/models/model-portfolio-security.ts +0 -40
  95. package/models/model-portfolio.ts +0 -52
  96. package/models/model400-failed-request-response.ts +0 -37
  97. package/models/model401-failed-request-response.ts +0 -37
  98. package/models/model403-failed-request-response.ts +0 -37
  99. package/models/model404-failed-request-response.ts +0 -37
  100. package/models/monthly-dividends.ts +0 -40
  101. package/models/net-contributions.ts +0 -43
  102. package/models/net-dividend.ts +0 -46
  103. package/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.ts +0 -43
  104. package/models/option-chain-inner-chain-per-root-inner.ts +0 -46
  105. package/models/option-chain-inner.ts +0 -58
  106. package/models/option-leg.ts +0 -53
  107. package/models/option-strategy-legs-inner.ts +0 -47
  108. package/models/option-strategy.ts +0 -61
  109. package/models/options-get-option-strategy-request.ts +0 -51
  110. package/models/options-holdings.ts +0 -67
  111. package/models/options-place-option-strategy-request.ts +0 -57
  112. package/models/options-position.ts +0 -73
  113. package/models/options-symbol.ts +0 -94
  114. package/models/order-type.ts +0 -32
  115. package/models/partner-data.ts +0 -100
  116. package/models/past-value.ts +0 -43
  117. package/models/performance-custom.ts +0 -154
  118. package/models/portfolio-group-info.ts +0 -115
  119. package/models/portfolio-group-position.ts +0 -46
  120. package/models/portfolio-group-settings.ts +0 -58
  121. package/models/portfolio-group.ts +0 -37
  122. package/models/position-symbol.ts +0 -64
  123. package/models/position.ts +0 -64
  124. package/models/redirect-tokenand-pin.ts +0 -37
  125. package/models/security-type.ts +0 -49
  126. package/models/session-event.ts +0 -74
  127. package/models/snap-trade-apidisclaimer-accept-status.ts +0 -37
  128. package/models/snap-trade-holdings-account-account-id.ts +0 -82
  129. package/models/snap-trade-holdings-account.ts +0 -79
  130. package/models/snap-trade-holdings-total-value.ts +0 -37
  131. package/models/snap-trade-login-user-request-body.ts +0 -61
  132. package/models/snap-trade-register-user-request-body.ts +0 -35
  133. package/models/status.ts +0 -43
  134. package/models/strategy-impact-legs-inner.ts +0 -67
  135. package/models/strategy-impact.ts +0 -94
  136. package/models/strategy-order-place-orders-inner-legs-inner.ts +0 -67
  137. package/models/strategy-order-place-orders-inner.ts +0 -286
  138. package/models/strategy-order-place.ts +0 -40
  139. package/models/strategy-order-record.ts +0 -133
  140. package/models/strategy-quotes-greek.ts +0 -55
  141. package/models/strategy-quotes.ts +0 -67
  142. package/models/sub-period-return-rate.ts +0 -43
  143. package/models/symbol-query.ts +0 -29
  144. package/models/symbol.ts +0 -67
  145. package/models/symbols-quotes.ts +0 -64
  146. package/models/target-asset.ts +0 -62
  147. package/models/time-in-force.ts +0 -31
  148. package/models/trade-execution-status.ts +0 -105
  149. package/models/trade-impact.ts +0 -61
  150. package/models/trade.ts +0 -88
  151. package/models/trading-cancel-user-account-order-request.ts +0 -29
  152. package/models/trading-place-ocoorder-request.ts +0 -35
  153. package/models/transactions-status.ts +0 -35
  154. package/models/underlying-symbol.ts +0 -76
  155. package/models/universal-activity.ts +0 -127
  156. package/models/universal-symbol-ticker.ts +0 -82
  157. package/models/universal-symbol.ts +0 -80
  158. package/models/user-error-log.ts +0 -61
  159. package/models/user-idand-secret.ts +0 -37
  160. package/models/user-settings.ts +0 -88
  161. package/models/usexchange.ts +0 -79
  162. package/pagination/page-types.ts +0 -34
  163. package/pagination/page.ts +0 -58
  164. package/pagination/pageable.ts +0 -113
  165. package/pagination/paginate.ts +0 -41
  166. package/requestAfterHook.ts +0 -53
  167. package/requestBeforeHook.ts +0 -15
  168. package/tsconfig.json +0 -22
  169. package/tsconfig.test.json +0 -6
@@ -1,136 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { BrokerageType } from './brokerage-type';
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface Brokerage
23
- */
24
- export interface Brokerage {
25
- [key: string]: any;
26
-
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof Brokerage
31
- */
32
- 'id'?: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof Brokerage
37
- */
38
- 'name'?: string;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof Brokerage
43
- */
44
- 'display_name'?: string;
45
- /**
46
- *
47
- * @type {string}
48
- * @memberof Brokerage
49
- */
50
- 'description'?: string;
51
- /**
52
- *
53
- * @type {string}
54
- * @memberof Brokerage
55
- */
56
- 'aws_s3_logo_url'?: string;
57
- /**
58
- *
59
- * @type {string}
60
- * @memberof Brokerage
61
- */
62
- 'slug'?: string;
63
- /**
64
- *
65
- * @type {string}
66
- * @memberof Brokerage
67
- */
68
- 'url'?: string;
69
- /**
70
- *
71
- * @type {boolean}
72
- * @memberof Brokerage
73
- */
74
- 'enabled'?: boolean;
75
- /**
76
- *
77
- * @type {boolean}
78
- * @memberof Brokerage
79
- */
80
- 'maintenance_mode'?: boolean;
81
- /**
82
- *
83
- * @type {boolean}
84
- * @memberof Brokerage
85
- */
86
- 'allows_fractional_units'?: boolean | null;
87
- /**
88
- *
89
- * @type {boolean}
90
- * @memberof Brokerage
91
- */
92
- 'allows_trading'?: boolean | null;
93
- /**
94
- *
95
- * @type {boolean}
96
- * @memberof Brokerage
97
- */
98
- 'has_reporting'?: boolean | null;
99
- /**
100
- *
101
- * @type {boolean}
102
- * @memberof Brokerage
103
- */
104
- 'is_real_time_connection'?: boolean;
105
- /**
106
- *
107
- * @type {boolean}
108
- * @memberof Brokerage
109
- */
110
- 'allows_trading_through_snaptrade_api'?: boolean | null;
111
- /**
112
- *
113
- * @type {boolean}
114
- * @memberof Brokerage
115
- */
116
- 'is_scraping_integration'?: boolean;
117
- /**
118
- *
119
- * @type {string}
120
- * @memberof Brokerage
121
- */
122
- 'default_currency'?: string;
123
- /**
124
- *
125
- * @type {BrokerageType}
126
- * @memberof Brokerage
127
- */
128
- 'brokerage_type'?: BrokerageType;
129
- /**
130
- * List of exchange ID supported by brokerage
131
- * @type {Array<any>}
132
- * @memberof Brokerage
133
- */
134
- 'exchanges'?: Array<any>;
135
- }
136
-
@@ -1,40 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { Trade } from './trade';
18
-
19
- /**
20
- * Array of trades to make to rebalance portfolio
21
- * @export
22
- * @interface CalculatedTrade
23
- */
24
- export interface CalculatedTrade {
25
- [key: string]: any;
26
-
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof CalculatedTrade
31
- */
32
- 'id'?: string;
33
- /**
34
- *
35
- * @type {Array<Trade>}
36
- * @memberof CalculatedTrade
37
- */
38
- 'trades'?: Array<Trade>;
39
- }
40
-
@@ -1,63 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- * Cash restriction rules that apply to this account when undergoing portfolio rebalance calculations.
18
- * @export
19
- * @interface CashRestriction
20
- */
21
- export interface CashRestriction {
22
- [key: string]: any;
23
-
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CashRestriction
28
- */
29
- 'id'?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof CashRestriction
34
- */
35
- 'account'?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof CashRestriction
40
- */
41
- 'currency'?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof CashRestriction
46
- */
47
- 'type'?: CashRestrictionTypeEnum;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof CashRestriction
52
- */
53
- 'amount'?: number;
54
- }
55
-
56
- export const CashRestrictionTypeEnum = {
57
- AllocateMax: 'ALLOCATE_MAX',
58
- RetainMin: 'RETAIN_MIN'
59
- } as const;
60
-
61
- export type CashRestrictionTypeEnum = typeof CashRestrictionTypeEnum[keyof typeof CashRestrictionTypeEnum];
62
-
63
-
@@ -1,25 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { SessionEvent } from './session-event';
18
-
19
- /**
20
- * @type ConnectionsSessionEvents200ResponseInner
21
- * @export
22
- */
23
- export type ConnectionsSessionEvents200ResponseInner = SessionEvent;
24
-
25
-
@@ -1,43 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- * Currency
18
- * @export
19
- * @interface Currency
20
- */
21
- export interface Currency {
22
- [key: string]: any;
23
-
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof Currency
28
- */
29
- 'id'?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof Currency
34
- */
35
- 'code'?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof Currency
40
- */
41
- 'name'?: string;
42
- }
43
-
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- * Response when delete user is successful
18
- * @export
19
- * @interface DeleteUserResponse
20
- */
21
- export interface DeleteUserResponse {
22
- [key: string]: any;
23
-
24
- /**
25
- * Delete status
26
- * @type {string}
27
- * @memberof DeleteUserResponse
28
- */
29
- 'status'?: string;
30
- /**
31
- * SnapTrade User ID. Provided by SnapTrade Partner. Can be any string, as long as it\'s unique to a user
32
- * @type {string}
33
- * @memberof DeleteUserResponse
34
- */
35
- 'userId'?: string;
36
- }
37
-
@@ -1,43 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- *
18
- * @export
19
- * @interface DividendAtDate
20
- */
21
- export interface DividendAtDate {
22
- [key: string]: any;
23
-
24
- /**
25
- * The ticker of the symbol that the dividend came from
26
- * @type {string}
27
- * @memberof DividendAtDate
28
- */
29
- 'symbol'?: string | null;
30
- /**
31
- * The amount received from the dividend
32
- * @type {number}
33
- * @memberof DividendAtDate
34
- */
35
- 'amount'?: number | null;
36
- /**
37
- * The currency of the amount
38
- * @type {string}
39
- * @memberof DividendAtDate
40
- */
41
- 'currency'?: string;
42
- }
43
-
@@ -1,43 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- *
18
- * @export
19
- * @interface EncryptedResponseEncryptedMessageData
20
- */
21
- export interface EncryptedResponseEncryptedMessageData {
22
- [key: string]: any;
23
-
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof EncryptedResponseEncryptedMessageData
28
- */
29
- 'encryptedMessage'?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof EncryptedResponseEncryptedMessageData
34
- */
35
- 'tag'?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof EncryptedResponseEncryptedMessageData
40
- */
41
- 'nonce'?: string;
42
- }
43
-
@@ -1,38 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { EncryptedResponseEncryptedMessageData } from './encrypted-response-encrypted-message-data';
18
-
19
- /**
20
- * This response consists of 2 different components that must be decrypted to obtain the decrypted message * Decrypting the encryptedSharedKey The encrypted shared key is a shared key that was randomly generated by SnapTrade and encrypted using the users SSH public key provided when registering the user It is needed to decrypt the message in step 2. To decrypt the shared key, the user should have access to their SSH private key stored locally in their device An example Python code on how to decrypt the shared key is shown below ``` def decrypt_rsa_message(self, encrypted_message): from Crypto.Cipher import PKCS1_OAEP from Crypto.PublicKey import RSA from base64 import b64decode f = open(\'private.pem\', \'r\') private_key = RSA.import_key(f.read()) cipher = PKCS1_OAEP.new(private_key) return cipher.decrypt(b64decode(encrypted_message.encode())).decode() ``` * Decrypting the encryptedMessageData The data meant to be returned by an endpoint can be obtained by decrypting the encrypted message An encrypted message is a message that is encrypted using AES - MODE OCB with the shared key obtained in step one An example code to decrypt the encrypted message is shown below ``` def decrypt_aes_message(self, shared_key, encrypted_message): from Crypto.Cipher import AES from base64 import b64decode encrypted_msg = b64decode(encrypted_message[\"encryptedMessage\"].encode()) tag = b64decode(encrypted_message[\"tag\"].encode()) nonce = b64decode(encrypted_message[\"nonce\"].encode()) cipher = AES.new(shared_key.encode(), AES.MODE_OCB, nonce=nonce) return cipher.decrypt_and_verify(encrypted_msg, tag).decode() ```
21
- * @export
22
- * @interface EncryptedResponse
23
- */
24
- export interface EncryptedResponse {
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof EncryptedResponse
29
- */
30
- 'encryptedSharedKey'?: string;
31
- /**
32
- *
33
- * @type {EncryptedResponseEncryptedMessageData}
34
- * @memberof EncryptedResponse
35
- */
36
- 'encryptedMessageData'?: EncryptedResponseEncryptedMessageData;
37
- }
38
-
@@ -1,46 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { Currency } from './currency';
18
-
19
- /**
20
- * The exchange rate of a pair of currencies
21
- * @export
22
- * @interface ExchangeRatePairs
23
- */
24
- export interface ExchangeRatePairs {
25
- [key: string]: any;
26
-
27
- /**
28
- *
29
- * @type {Currency}
30
- * @memberof ExchangeRatePairs
31
- */
32
- 'src'?: Currency;
33
- /**
34
- *
35
- * @type {Currency}
36
- * @memberof ExchangeRatePairs
37
- */
38
- 'dst'?: Currency;
39
- /**
40
- *
41
- * @type {number}
42
- * @memberof ExchangeRatePairs
43
- */
44
- 'exchange_rate'?: number;
45
- }
46
-
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- * Stock Exchange
18
- * @export
19
- * @interface Exchange
20
- */
21
- export interface Exchange {
22
- [key: string]: any;
23
-
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof Exchange
28
- */
29
- 'id'?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof Exchange
34
- */
35
- 'code'?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof Exchange
40
- */
41
- 'mic_code'?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof Exchange
46
- */
47
- 'name'?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof Exchange
52
- */
53
- 'timezone'?: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof Exchange
58
- */
59
- 'start_time'?: string;
60
- /**
61
- *
62
- * @type {string}
63
- * @memberof Exchange
64
- */
65
- 'close_time'?: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof Exchange
70
- */
71
- 'suffix'?: string | null;
72
- }
73
-
@@ -1,34 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * SnapTrade
5
- * Connect brokerage accounts to your app for live positions and trading
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: api@snaptrade.com
9
- *
10
- * NOTE: This file is auto generated by Konfig (https://konfigthis.com).
11
- * https://konfigthis.com
12
- * Do not edit the class manually.
13
- */
14
-
15
- // May contain unused imports in some cases
16
- // @ts-ignore
17
- import { UniversalSymbol } from './universal-symbol';
18
-
19
- /**
20
- * An excluded asset in a portfolio group
21
- * @export
22
- * @interface ExcludedAsset
23
- */
24
- export interface ExcludedAsset {
25
- [key: string]: any;
26
-
27
- /**
28
- *
29
- * @type {UniversalSymbol}
30
- * @memberof ExcludedAsset
31
- */
32
- 'symbol'?: UniversalSymbol;
33
- }
34
-