snaptrade-typescript-sdk 9.0.199 → 10.0.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.
Files changed (427) hide show
  1. package/README.md +42 -2
  2. package/dist/chunk-e9Ob2GDo.mjs +26 -0
  3. package/dist/index.cjs +6594 -0
  4. package/dist/index.cjs.map +1 -0
  5. package/dist/index.d.cts +1 -0
  6. package/dist/index.d.mts +10422 -0
  7. package/dist/index.d.ts +1 -5
  8. package/dist/index.mjs +6527 -0
  9. package/dist/index.mjs.map +1 -0
  10. package/package.json +27 -13
  11. package/dist/api/account-information-api-generated.d.ts +0 -950
  12. package/dist/api/account-information-api-generated.js +0 -1372
  13. package/dist/api/account-information-api.d.ts +0 -4
  14. package/dist/api/account-information-api.js +0 -22
  15. package/dist/api/api-status-api-generated.d.ts +0 -59
  16. package/dist/api/api-status-api-generated.js +0 -133
  17. package/dist/api/api-status-api.d.ts +0 -4
  18. package/dist/api/api-status-api.js +0 -22
  19. package/dist/api/authentication-api-generated.d.ts +0 -241
  20. package/dist/api/authentication-api-generated.js +0 -482
  21. package/dist/api/authentication-api.d.ts +0 -4
  22. package/dist/api/authentication-api.js +0 -22
  23. package/dist/api/connections-api-generated.d.ts +0 -576
  24. package/dist/api/connections-api-generated.js +0 -868
  25. package/dist/api/connections-api.d.ts +0 -4
  26. package/dist/api/connections-api.js +0 -22
  27. package/dist/api/options-api-generated.d.ts +0 -90
  28. package/dist/api/options-api-generated.js +0 -158
  29. package/dist/api/options-api.d.ts +0 -4
  30. package/dist/api/options-api.js +0 -22
  31. package/dist/api/reference-data-api-generated.d.ts +0 -497
  32. package/dist/api/reference-data-api-generated.js +0 -973
  33. package/dist/api/reference-data-api.d.ts +0 -4
  34. package/dist/api/reference-data-api.js +0 -22
  35. package/dist/api/trading-api-generated.d.ts +0 -1054
  36. package/dist/api/trading-api-generated.js +0 -1684
  37. package/dist/api/trading-api.d.ts +0 -4
  38. package/dist/api/trading-api.js +0 -22
  39. package/dist/api/transactions-and-reporting-api-generated.d.ts +0 -215
  40. package/dist/api/transactions-and-reporting-api-generated.js +0 -299
  41. package/dist/api/transactions-and-reporting-api.d.ts +0 -4
  42. package/dist/api/transactions-and-reporting-api.js +0 -22
  43. package/dist/api.d.ts +0 -8
  44. package/dist/api.js +0 -36
  45. package/dist/base.d.ts +0 -44
  46. package/dist/base.js +0 -60
  47. package/dist/browser.js +0 -2
  48. package/dist/browser.js.LICENSE.txt +0 -1
  49. package/dist/client-custom.d.ts +0 -4
  50. package/dist/client-custom.js +0 -7
  51. package/dist/client.d.ts +0 -14
  52. package/dist/client.js +0 -31
  53. package/dist/common.d.ts +0 -61
  54. package/dist/common.js +0 -220
  55. package/dist/configuration.d.ts +0 -98
  56. package/dist/configuration.js +0 -53
  57. package/dist/error.d.ts +0 -46
  58. package/dist/error.js +0 -105
  59. package/dist/index.js +0 -33
  60. package/dist/jest.config.d.ts +0 -3
  61. package/dist/jest.config.js +0 -13
  62. package/dist/mock.test.d.ts +0 -1
  63. package/dist/mock.test.js +0 -29
  64. package/dist/models/account-balance-total.d.ts +0 -19
  65. package/dist/models/account-balance-total.js +0 -2
  66. package/dist/models/account-balance.d.ts +0 -14
  67. package/dist/models/account-balance.js +0 -2
  68. package/dist/models/account-holdings-account.d.ts +0 -51
  69. package/dist/models/account-holdings-account.js +0 -2
  70. package/dist/models/account-holdings.d.ts +0 -37
  71. package/dist/models/account-holdings.js +0 -2
  72. package/dist/models/account-information-get-user-account-order-detail-request.d.ts +0 -13
  73. package/dist/models/account-information-get-user-account-order-detail-request.js +0 -2
  74. package/dist/models/account-order-record-child-brokerage-order-ids.d.ts +0 -19
  75. package/dist/models/account-order-record-child-brokerage-order-ids.js +0 -2
  76. package/dist/models/account-order-record-leg-instrument.d.ts +0 -38
  77. package/dist/models/account-order-record-leg-instrument.js +0 -2
  78. package/dist/models/account-order-record-leg.d.ts +0 -58
  79. package/dist/models/account-order-record-leg.js +0 -2
  80. package/dist/models/account-order-record-option-symbol.d.ts +0 -52
  81. package/dist/models/account-order-record-option-symbol.js +0 -2
  82. package/dist/models/account-order-record-quote-currency.d.ts +0 -25
  83. package/dist/models/account-order-record-quote-currency.js +0 -2
  84. package/dist/models/account-order-record-quote-universal-symbol.d.ts +0 -73
  85. package/dist/models/account-order-record-quote-universal-symbol.js +0 -2
  86. package/dist/models/account-order-record-status-v2.d.ts +0 -6
  87. package/dist/models/account-order-record-status-v2.js +0 -2
  88. package/dist/models/account-order-record-status.d.ts +0 -6
  89. package/dist/models/account-order-record-status.js +0 -2
  90. package/dist/models/account-order-record-trailing-stop.d.ts +0 -21
  91. package/dist/models/account-order-record-trailing-stop.js +0 -2
  92. package/dist/models/account-order-record-universal-symbol.d.ts +0 -73
  93. package/dist/models/account-order-record-universal-symbol.js +0 -2
  94. package/dist/models/account-order-record-v2.d.ts +0 -97
  95. package/dist/models/account-order-record-v2.js +0 -2
  96. package/dist/models/account-order-record.d.ts +0 -168
  97. package/dist/models/account-order-record.js +0 -2
  98. package/dist/models/account-orders-v2-response.d.ts +0 -15
  99. package/dist/models/account-orders-v2-response.js +0 -2
  100. package/dist/models/account-position.d.ts +0 -52
  101. package/dist/models/account-position.js +0 -2
  102. package/dist/models/account-simple.d.ts +0 -39
  103. package/dist/models/account-simple.js +0 -2
  104. package/dist/models/account-sync-status.d.ts +0 -21
  105. package/dist/models/account-sync-status.js +0 -2
  106. package/dist/models/account-universal-activity-currency.d.ts +0 -25
  107. package/dist/models/account-universal-activity-currency.js +0 -2
  108. package/dist/models/account-universal-activity-option-symbol.d.ts +0 -52
  109. package/dist/models/account-universal-activity-option-symbol.js +0 -2
  110. package/dist/models/account-universal-activity-symbol.d.ts +0 -65
  111. package/dist/models/account-universal-activity-symbol.js +0 -2
  112. package/dist/models/account-universal-activity.d.ts +0 -107
  113. package/dist/models/account-universal-activity.js +0 -2
  114. package/dist/models/account-value-history-item.d.ts +0 -20
  115. package/dist/models/account-value-history-item.js +0 -2
  116. package/dist/models/account-value-history-response.d.ts +0 -21
  117. package/dist/models/account-value-history-response.js +0 -2
  118. package/dist/models/account.d.ts +0 -126
  119. package/dist/models/account.js +0 -2
  120. package/dist/models/action-strict-with-options.d.ts +0 -6
  121. package/dist/models/action-strict-with-options.js +0 -2
  122. package/dist/models/action-strict.d.ts +0 -6
  123. package/dist/models/action-strict.js +0 -2
  124. package/dist/models/adr-instrument.d.ts +0 -59
  125. package/dist/models/adr-instrument.js +0 -2
  126. package/dist/models/all-account-positions-response.d.ts +0 -15
  127. package/dist/models/all-account-positions-response.js +0 -2
  128. package/dist/models/authentication-login-snap-trade-user200-response.d.ts +0 -7
  129. package/dist/models/authentication-login-snap-trade-user200-response.js +0 -2
  130. package/dist/models/balance-currency.d.ts +0 -25
  131. package/dist/models/balance-currency.js +0 -2
  132. package/dist/models/balance.d.ts +0 -27
  133. package/dist/models/balance.js +0 -2
  134. package/dist/models/brokerage-authorization-disabled-confirmation.d.ts +0 -14
  135. package/dist/models/brokerage-authorization-disabled-confirmation.js +0 -2
  136. package/dist/models/brokerage-authorization-refresh-confirmation.d.ts +0 -14
  137. package/dist/models/brokerage-authorization-refresh-confirmation.js +0 -2
  138. package/dist/models/brokerage-authorization-transactions-sync-confirmation.d.ts +0 -14
  139. package/dist/models/brokerage-authorization-transactions-sync-confirmation.js +0 -2
  140. package/dist/models/brokerage-authorization-type-read-only-brokerage.d.ts +0 -26
  141. package/dist/models/brokerage-authorization-type-read-only-brokerage.js +0 -2
  142. package/dist/models/brokerage-authorization-type-read-only.d.ts +0 -36
  143. package/dist/models/brokerage-authorization-type-read-only.js +0 -2
  144. package/dist/models/brokerage-authorization.d.ts +0 -73
  145. package/dist/models/brokerage-authorization.js +0 -2
  146. package/dist/models/brokerage-instrument.d.ts +0 -38
  147. package/dist/models/brokerage-instrument.js +0 -2
  148. package/dist/models/brokerage-instruments-response.d.ts +0 -15
  149. package/dist/models/brokerage-instruments-response.js +0 -2
  150. package/dist/models/brokerage-type.d.ts +0 -20
  151. package/dist/models/brokerage-type.js +0 -2
  152. package/dist/models/brokerage.d.ts +0 -122
  153. package/dist/models/brokerage.js +0 -2
  154. package/dist/models/cancel-order-response.d.ts +0 -22
  155. package/dist/models/cancel-order-response.js +0 -2
  156. package/dist/models/cef-instrument.d.ts +0 -59
  157. package/dist/models/cef-instrument.js +0 -2
  158. package/dist/models/child-brokerage-order-ids.d.ts +0 -20
  159. package/dist/models/child-brokerage-order-ids.js +0 -2
  160. package/dist/models/complex-order-leg.d.ts +0 -62
  161. package/dist/models/complex-order-leg.js +0 -2
  162. package/dist/models/complex-order-response.d.ts +0 -22
  163. package/dist/models/complex-order-response.js +0 -2
  164. package/dist/models/connections-session-events200-response-inner.d.ts +0 -6
  165. package/dist/models/connections-session-events200-response-inner.js +0 -2
  166. package/dist/models/crypto-instrument.d.ts +0 -59
  167. package/dist/models/crypto-instrument.js +0 -2
  168. package/dist/models/crypto-order-form.d.ts +0 -66
  169. package/dist/models/crypto-order-form.js +0 -2
  170. package/dist/models/crypto-order-preview-estimated-fee.d.ts +0 -20
  171. package/dist/models/crypto-order-preview-estimated-fee.js +0 -2
  172. package/dist/models/crypto-order-preview.d.ts +0 -15
  173. package/dist/models/crypto-order-preview.js +0 -2
  174. package/dist/models/crypto-trading-instrument.d.ts +0 -22
  175. package/dist/models/crypto-trading-instrument.js +0 -2
  176. package/dist/models/cryptocurrency-pair-quote.d.ts +0 -32
  177. package/dist/models/cryptocurrency-pair-quote.js +0 -2
  178. package/dist/models/cryptocurrency-pair.d.ts +0 -32
  179. package/dist/models/cryptocurrency-pair.js +0 -2
  180. package/dist/models/currency.d.ts +0 -26
  181. package/dist/models/currency.js +0 -2
  182. package/dist/models/delete-connection-confirmation.d.ts +0 -20
  183. package/dist/models/delete-connection-confirmation.js +0 -2
  184. package/dist/models/delete-user-response.d.ts +0 -26
  185. package/dist/models/delete-user-response.js +0 -2
  186. package/dist/models/dividend-at-date.d.ts +0 -26
  187. package/dist/models/dividend-at-date.js +0 -2
  188. package/dist/models/encrypted-response-encrypted-message-data.d.ts +0 -26
  189. package/dist/models/encrypted-response-encrypted-message-data.js +0 -2
  190. package/dist/models/encrypted-response.d.ts +0 -20
  191. package/dist/models/encrypted-response.js +0 -2
  192. package/dist/models/etf-instrument.d.ts +0 -59
  193. package/dist/models/etf-instrument.js +0 -2
  194. package/dist/models/exchange-rate-pairs.d.ts +0 -27
  195. package/dist/models/exchange-rate-pairs.js +0 -2
  196. package/dist/models/exchange.d.ts +0 -56
  197. package/dist/models/exchange.js +0 -2
  198. package/dist/models/figi-instrument.d.ts +0 -20
  199. package/dist/models/figi-instrument.js +0 -2
  200. package/dist/models/future-instrument.d.ts +0 -64
  201. package/dist/models/future-instrument.js +0 -2
  202. package/dist/models/holdings-status.d.ts +0 -19
  203. package/dist/models/holdings-status.js +0 -2
  204. package/dist/models/index.d.ts +0 -173
  205. package/dist/models/index.js +0 -189
  206. package/dist/models/instrument.d.ts +0 -33
  207. package/dist/models/instrument.js +0 -2
  208. package/dist/models/login-redirect-uri.d.ts +0 -19
  209. package/dist/models/login-redirect-uri.js +0 -2
  210. package/dist/models/manual-trade-and-impact.d.ts +0 -29
  211. package/dist/models/manual-trade-and-impact.js +0 -2
  212. package/dist/models/manual-trade-balance.d.ts +0 -28
  213. package/dist/models/manual-trade-balance.js +0 -2
  214. package/dist/models/manual-trade-form-bracket.d.ts +0 -67
  215. package/dist/models/manual-trade-form-bracket.js +0 -2
  216. package/dist/models/manual-trade-form-complex.d.ts +0 -28
  217. package/dist/models/manual-trade-form-complex.js +0 -2
  218. package/dist/models/manual-trade-form-notional-value.d.ts +0 -6
  219. package/dist/models/manual-trade-form-notional-value.js +0 -2
  220. package/dist/models/manual-trade-form-with-options.d.ts +0 -78
  221. package/dist/models/manual-trade-form-with-options.js +0 -2
  222. package/dist/models/manual-trade-form.d.ts +0 -65
  223. package/dist/models/manual-trade-form.js +0 -2
  224. package/dist/models/manual-trade-impact.d.ts +0 -38
  225. package/dist/models/manual-trade-impact.js +0 -2
  226. package/dist/models/manual-trade-replace-form.d.ts +0 -58
  227. package/dist/models/manual-trade-replace-form.js +0 -2
  228. package/dist/models/manual-trade-symbol.d.ts +0 -49
  229. package/dist/models/manual-trade-symbol.js +0 -2
  230. package/dist/models/manual-trade.d.ts +0 -60
  231. package/dist/models/manual-trade.js +0 -2
  232. package/dist/models/mleg-action-strict.d.ts +0 -6
  233. package/dist/models/mleg-action-strict.js +0 -2
  234. package/dist/models/mleg-instrument-type.d.ts +0 -6
  235. package/dist/models/mleg-instrument-type.js +0 -2
  236. package/dist/models/mleg-leg.d.ts +0 -28
  237. package/dist/models/mleg-leg.js +0 -2
  238. package/dist/models/mleg-order-response.d.ts +0 -21
  239. package/dist/models/mleg-order-response.js +0 -2
  240. package/dist/models/mleg-order-type-strict.d.ts +0 -6
  241. package/dist/models/mleg-order-type-strict.js +0 -2
  242. package/dist/models/mleg-price-effect-strict.d.ts +0 -6
  243. package/dist/models/mleg-price-effect-strict.js +0 -2
  244. package/dist/models/mleg-trade-form.d.ts +0 -47
  245. package/dist/models/mleg-trade-form.js +0 -2
  246. package/dist/models/mleg-trading-instrument.d.ts +0 -21
  247. package/dist/models/mleg-trading-instrument.js +0 -2
  248. package/dist/models/model400-failed-request-response.d.ts +0 -20
  249. package/dist/models/model400-failed-request-response.js +0 -2
  250. package/dist/models/model401-failed-request-response.d.ts +0 -20
  251. package/dist/models/model401-failed-request-response.js +0 -2
  252. package/dist/models/model402-brokerage-auth-already-disabled-exception.d.ts +0 -20
  253. package/dist/models/model402-brokerage-auth-already-disabled-exception.js +0 -2
  254. package/dist/models/model402-brokerage-auth-disabled-response.d.ts +0 -20
  255. package/dist/models/model402-brokerage-auth-disabled-response.js +0 -2
  256. package/dist/models/model403-failed-request-response.d.ts +0 -20
  257. package/dist/models/model403-failed-request-response.js +0 -2
  258. package/dist/models/model403-feature-not-enabled-response.d.ts +0 -20
  259. package/dist/models/model403-feature-not-enabled-response.js +0 -2
  260. package/dist/models/model404-failed-request-response.d.ts +0 -20
  261. package/dist/models/model404-failed-request-response.js +0 -2
  262. package/dist/models/model425-failed-request-response.d.ts +0 -20
  263. package/dist/models/model425-failed-request-response.js +0 -2
  264. package/dist/models/model500-unexpected-exception-response.d.ts +0 -26
  265. package/dist/models/model500-unexpected-exception-response.js +0 -2
  266. package/dist/models/monthly-dividends.d.ts +0 -21
  267. package/dist/models/monthly-dividends.js +0 -2
  268. package/dist/models/mutual-fund-instrument.d.ts +0 -59
  269. package/dist/models/mutual-fund-instrument.js +0 -2
  270. package/dist/models/net-contributions.d.ts +0 -26
  271. package/dist/models/net-contributions.js +0 -2
  272. package/dist/models/net-dividend.d.ts +0 -27
  273. package/dist/models/net-dividend.js +0 -2
  274. package/dist/models/notional-value.d.ts +0 -6
  275. package/dist/models/notional-value.js +0 -2
  276. package/dist/models/option-brokerage-symbol.d.ts +0 -29
  277. package/dist/models/option-brokerage-symbol.js +0 -2
  278. package/dist/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.d.ts +0 -26
  279. package/dist/models/option-chain-inner-chain-per-root-inner-chain-per-strike-price-inner.js +0 -2
  280. package/dist/models/option-chain-inner-chain-per-root-inner.d.ts +0 -27
  281. package/dist/models/option-chain-inner-chain-per-root-inner.js +0 -2
  282. package/dist/models/option-chain-inner.d.ts +0 -39
  283. package/dist/models/option-chain-inner.js +0 -2
  284. package/dist/models/option-impact.d.ts +0 -28
  285. package/dist/models/option-impact.js +0 -2
  286. package/dist/models/option-instrument.d.ts +0 -60
  287. package/dist/models/option-instrument.js +0 -2
  288. package/dist/models/option-leg.d.ts +0 -28
  289. package/dist/models/option-leg.js +0 -2
  290. package/dist/models/option-quote-greeks.d.ts +0 -32
  291. package/dist/models/option-quote-greeks.js +0 -2
  292. package/dist/models/option-quote.d.ts +0 -39
  293. package/dist/models/option-quote.js +0 -2
  294. package/dist/models/option-strategy-legs-inner.d.ts +0 -31
  295. package/dist/models/option-strategy-legs-inner.js +0 -2
  296. package/dist/models/option-strategy.d.ts +0 -40
  297. package/dist/models/option-strategy.js +0 -2
  298. package/dist/models/options-position-currency.d.ts +0 -25
  299. package/dist/models/options-position-currency.js +0 -2
  300. package/dist/models/options-position.d.ts +0 -41
  301. package/dist/models/options-position.js +0 -2
  302. package/dist/models/options-symbol.d.ts +0 -53
  303. package/dist/models/options-symbol.js +0 -2
  304. package/dist/models/order-type-strict.d.ts +0 -6
  305. package/dist/models/order-type-strict.js +0 -2
  306. package/dist/models/order-updated-response-order.d.ts +0 -167
  307. package/dist/models/order-updated-response-order.js +0 -2
  308. package/dist/models/order-updated-response.d.ts +0 -21
  309. package/dist/models/order-updated-response.js +0 -2
  310. package/dist/models/other-instrument.d.ts +0 -59
  311. package/dist/models/other-instrument.js +0 -2
  312. package/dist/models/paginated-universal-activity.d.ts +0 -22
  313. package/dist/models/paginated-universal-activity.js +0 -2
  314. package/dist/models/pagination-details.d.ts +0 -26
  315. package/dist/models/pagination-details.js +0 -2
  316. package/dist/models/partner-data.d.ts +0 -82
  317. package/dist/models/partner-data.js +0 -2
  318. package/dist/models/past-value.d.ts +0 -26
  319. package/dist/models/past-value.js +0 -2
  320. package/dist/models/performance-custom.d.ts +0 -127
  321. package/dist/models/performance-custom.js +0 -2
  322. package/dist/models/position-currency.d.ts +0 -25
  323. package/dist/models/position-currency.js +0 -2
  324. package/dist/models/position-symbol.d.ts +0 -50
  325. package/dist/models/position-symbol.js +0 -2
  326. package/dist/models/position.d.ts +0 -66
  327. package/dist/models/position.js +0 -2
  328. package/dist/models/rate-of-return-object.d.ts +0 -28
  329. package/dist/models/rate-of-return-object.js +0 -2
  330. package/dist/models/rate-of-return-response.d.ts +0 -15
  331. package/dist/models/rate-of-return-response.js +0 -2
  332. package/dist/models/recent-orders-response.d.ts +0 -15
  333. package/dist/models/recent-orders-response.js +0 -2
  334. package/dist/models/security-type.d.ts +0 -33
  335. package/dist/models/security-type.js +0 -2
  336. package/dist/models/session-event.d.ts +0 -52
  337. package/dist/models/session-event.js +0 -2
  338. package/dist/models/simple-order-form.d.ts +0 -67
  339. package/dist/models/simple-order-form.js +0 -2
  340. package/dist/models/snap-trade-holdings-account.d.ts +0 -60
  341. package/dist/models/snap-trade-holdings-account.js +0 -2
  342. package/dist/models/snap-trade-holdings-total-value.d.ts +0 -20
  343. package/dist/models/snap-trade-holdings-total-value.js +0 -2
  344. package/dist/models/snap-trade-login-user-request-body.d.ts +0 -58
  345. package/dist/models/snap-trade-login-user-request-body.js +0 -2
  346. package/dist/models/snap-trade-register-user-request-body.d.ts +0 -13
  347. package/dist/models/snap-trade-register-user-request-body.js +0 -2
  348. package/dist/models/status.d.ts +0 -26
  349. package/dist/models/status.js +0 -2
  350. package/dist/models/stock-instrument-figi-instrument.d.ts +0 -19
  351. package/dist/models/stock-instrument-figi-instrument.js +0 -2
  352. package/dist/models/stock-instrument.d.ts +0 -59
  353. package/dist/models/stock-instrument.js +0 -2
  354. package/dist/models/stop-loss.d.ts +0 -20
  355. package/dist/models/stop-loss.js +0 -2
  356. package/dist/models/strategy-order-record.d.ts +0 -77
  357. package/dist/models/strategy-order-record.js +0 -2
  358. package/dist/models/strategy-quotes-greek.d.ts +0 -38
  359. package/dist/models/strategy-quotes-greek.js +0 -2
  360. package/dist/models/strategy-quotes.d.ts +0 -46
  361. package/dist/models/strategy-quotes.js +0 -2
  362. package/dist/models/sub-period-return-rate.d.ts +0 -26
  363. package/dist/models/sub-period-return-rate.js +0 -2
  364. package/dist/models/symbol-currency.d.ts +0 -25
  365. package/dist/models/symbol-currency.js +0 -2
  366. package/dist/models/symbol-exchange.d.ts +0 -55
  367. package/dist/models/symbol-exchange.js +0 -2
  368. package/dist/models/symbol-query.d.ts +0 -13
  369. package/dist/models/symbol-query.js +0 -2
  370. package/dist/models/symbol.d.ts +0 -66
  371. package/dist/models/symbol.js +0 -2
  372. package/dist/models/symbols-quotes-inner.d.ts +0 -44
  373. package/dist/models/symbols-quotes-inner.js +0 -2
  374. package/dist/models/take-profit.d.ts +0 -14
  375. package/dist/models/take-profit.js +0 -2
  376. package/dist/models/tax-lot.d.ts +0 -50
  377. package/dist/models/tax-lot.js +0 -2
  378. package/dist/models/time-in-force-strict.d.ts +0 -6
  379. package/dist/models/time-in-force-strict.js +0 -2
  380. package/dist/models/trade-detection-cancel-subscription-response.d.ts +0 -14
  381. package/dist/models/trade-detection-cancel-subscription-response.js +0 -2
  382. package/dist/models/trade-detection-subscription.d.ts +0 -26
  383. package/dist/models/trade-detection-subscription.js +0 -2
  384. package/dist/models/trading-instrument.d.ts +0 -22
  385. package/dist/models/trading-instrument.js +0 -2
  386. package/dist/models/trading-search-cryptocurrency-pair-instruments200-response.d.ts +0 -15
  387. package/dist/models/trading-search-cryptocurrency-pair-instruments200-response.js +0 -2
  388. package/dist/models/trading-session.d.ts +0 -6
  389. package/dist/models/trading-session.js +0 -2
  390. package/dist/models/trailing-stop.d.ts +0 -22
  391. package/dist/models/trailing-stop.js +0 -2
  392. package/dist/models/transactions-status.d.ts +0 -25
  393. package/dist/models/transactions-status.js +0 -2
  394. package/dist/models/underlying-option-instrument.d.ts +0 -27
  395. package/dist/models/underlying-option-instrument.js +0 -2
  396. package/dist/models/underlying-symbol-exchange.d.ts +0 -61
  397. package/dist/models/underlying-symbol-exchange.js +0 -2
  398. package/dist/models/underlying-symbol-type.d.ts +0 -32
  399. package/dist/models/underlying-symbol-type.js +0 -2
  400. package/dist/models/underlying-symbol.d.ts +0 -74
  401. package/dist/models/underlying-symbol.js +0 -2
  402. package/dist/models/universal-activity.d.ts +0 -114
  403. package/dist/models/universal-activity.js +0 -2
  404. package/dist/models/universal-symbol.d.ts +0 -74
  405. package/dist/models/universal-symbol.js +0 -2
  406. package/dist/models/user-idand-secret.d.ts +0 -19
  407. package/dist/models/user-idand-secret.js +0 -2
  408. package/dist/models/usexchange.d.ts +0 -62
  409. package/dist/models/usexchange.js +0 -2
  410. package/dist/models/validated-trade-body.d.ts +0 -13
  411. package/dist/models/validated-trade-body.js +0 -2
  412. package/dist/operationParameterMap.d.ts +0 -8
  413. package/dist/operationParameterMap.js +0 -966
  414. package/dist/pagination/page-types.d.ts +0 -16
  415. package/dist/pagination/page-types.js +0 -12
  416. package/dist/pagination/page.d.ts +0 -25
  417. package/dist/pagination/page.js +0 -32
  418. package/dist/pagination/pageable.d.ts +0 -47
  419. package/dist/pagination/pageable.js +0 -70
  420. package/dist/pagination/paginate.d.ts +0 -6
  421. package/dist/pagination/paginate.js +0 -39
  422. package/dist/requestAfterHook.d.ts +0 -8
  423. package/dist/requestAfterHook.js +0 -82
  424. package/dist/requestBeforeHook.d.ts +0 -10
  425. package/dist/requestBeforeHook.js +0 -8
  426. package/dist/requestBeforeUrlHook.d.ts +0 -7
  427. package/dist/requestBeforeUrlHook.js +0 -5
@@ -1,97 +0,0 @@
1
- import { AccountOrderRecordLeg } from './account-order-record-leg';
2
- import { AccountOrderRecordStatus } from './account-order-record-status';
3
- import { AccountOrderRecordTrailingStop } from './account-order-record-trailing-stop';
4
- /**
5
- * Describes a single order in the standardized V2 format.
6
- * @export
7
- * @interface AccountOrderRecordV2
8
- */
9
- export interface AccountOrderRecordV2 {
10
- [key: string]: any;
11
- /**
12
- * Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
13
- * @type {string}
14
- * @memberof AccountOrderRecordV2
15
- */
16
- 'brokerage_order_id'?: string;
17
- /**
18
- * The brokerage-assigned identifier that links all orders within a complex order (OCO, OTO, OTOCO) together. Null for non-complex orders or when the brokerage does not return a group identifier.
19
- * @type {string}
20
- * @memberof AccountOrderRecordV2
21
- */
22
- 'brokerage_group_order_id'?: string | null;
23
- /**
24
- * The role of this order within a complex order group (OCO, OTO, OTOCO). Null for non-complex orders.
25
- * @type {string}
26
- * @memberof AccountOrderRecordV2
27
- */
28
- 'order_role'?: AccountOrderRecordV2OrderRoleEnum;
29
- /**
30
- * Indicates the status of an order. SnapTrade does a best effort to map brokerage statuses to statuses in this enum. Possible values include: - NONE - PENDING - ACCEPTED - FAILED - REJECTED - CANCELED - PARTIAL_CANCELED - CANCEL_PENDING - EXECUTED - PARTIAL - REPLACE_PENDING - REPLACED - EXPIRED - QUEUED - TRIGGERED - ACTIVATED
31
- * @type {AccountOrderRecordStatus}
32
- * @memberof AccountOrderRecordV2
33
- */
34
- 'status'?: AccountOrderRecordStatus;
35
- /**
36
- * The type of order placed. - `MARKET` - `LIMIT` - `STOP` - `STOP_LIMIT`
37
- * @type {string}
38
- * @memberof AccountOrderRecordV2
39
- */
40
- 'order_type'?: string | null;
41
- /**
42
- * The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. We try our best to map brokerage time in force values to the following. When mapping fails, we will return the brokerage\'s time in force value. - `DAY` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled. - `GTD` - Good Til Date. The order is valid until the specified date. - `MOO` - Market On Open. The order is to be executed at the day\'s opening price. - `EHP` - Extended Hours P.M. The order is to be placed during extended hour trading, after markets close.
43
- * @type {string}
44
- * @memberof AccountOrderRecordV2
45
- */
46
- 'time_in_force'?: string;
47
- /**
48
- * The time the order was placed. This is the time the order was submitted to the brokerage.
49
- * @type {string}
50
- * @memberof AccountOrderRecordV2
51
- */
52
- 'time_placed'?: string;
53
- /**
54
- * The time the order was executed in the brokerage system. This value is not always available from the brokerage.
55
- * @type {string}
56
- * @memberof AccountOrderRecordV2
57
- */
58
- 'time_executed'?: string | null;
59
- /**
60
- * Quote currency code for the order.
61
- * @type {string}
62
- * @memberof AccountOrderRecordV2
63
- */
64
- 'quote_currency'?: string;
65
- /**
66
- * The price at which the order was executed.
67
- * @type {number}
68
- * @memberof AccountOrderRecordV2
69
- */
70
- 'execution_price'?: number | null;
71
- /**
72
- * The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders.
73
- * @type {number}
74
- * @memberof AccountOrderRecordV2
75
- */
76
- 'limit_price'?: number | null;
77
- /**
78
- * The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders.
79
- * @type {number}
80
- * @memberof AccountOrderRecordV2
81
- */
82
- 'stop_price'?: number | null;
83
- /**
84
- *
85
- * @type {AccountOrderRecordTrailingStop}
86
- * @memberof AccountOrderRecordV2
87
- */
88
- 'trailing_stop'?: AccountOrderRecordTrailingStop | null;
89
- /**
90
- * List of legs that make up the order.
91
- * @type {Array<AccountOrderRecordLeg>}
92
- * @memberof AccountOrderRecordV2
93
- */
94
- 'legs'?: Array<AccountOrderRecordLeg>;
95
- }
96
- type AccountOrderRecordV2OrderRoleEnum = 'TRIGGER' | 'CONDITIONAL' | 'PEER';
97
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,168 +0,0 @@
1
- import { AccountOrderRecordChildBrokerageOrderIds } from './account-order-record-child-brokerage-order-ids';
2
- import { AccountOrderRecordOptionSymbol } from './account-order-record-option-symbol';
3
- import { AccountOrderRecordQuoteCurrency } from './account-order-record-quote-currency';
4
- import { AccountOrderRecordQuoteUniversalSymbol } from './account-order-record-quote-universal-symbol';
5
- import { AccountOrderRecordStatus } from './account-order-record-status';
6
- import { AccountOrderRecordTrailingStop } from './account-order-record-trailing-stop';
7
- import { AccountOrderRecordUniversalSymbol } from './account-order-record-universal-symbol';
8
- /**
9
- * Describes a single recent order in an account. Each record here represents a single order leg. For multi-leg orders, there will be multiple records.
10
- * @export
11
- * @interface AccountOrderRecord
12
- */
13
- export interface AccountOrderRecord {
14
- [key: string]: any;
15
- /**
16
- * Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
17
- * @type {string}
18
- * @memberof AccountOrderRecord
19
- */
20
- 'brokerage_order_id'?: string;
21
- /**
22
- * The brokerage-assigned identifier that links all orders within a complex order (OCO, OTO, OTOCO) together. Null for non-complex orders or when the brokerage does not return a group identifier.
23
- * @type {string}
24
- * @memberof AccountOrderRecord
25
- */
26
- 'brokerage_group_order_id'?: string | null;
27
- /**
28
- * The role of this order within a complex order group (OCO, OTO, OTOCO). Null for non-complex orders.
29
- * @type {string}
30
- * @memberof AccountOrderRecord
31
- */
32
- 'order_role'?: AccountOrderRecordOrderRoleEnum;
33
- /**
34
- * Indicates the status of an order. SnapTrade does a best effort to map brokerage statuses to statuses in this enum. Possible values include: - NONE - PENDING - ACCEPTED - FAILED - REJECTED - CANCELED - PARTIAL_CANCELED - CANCEL_PENDING - EXECUTED - PARTIAL - REPLACE_PENDING - REPLACED - EXPIRED - QUEUED - TRIGGERED - ACTIVATED
35
- * @type {AccountOrderRecordStatus}
36
- * @memberof AccountOrderRecord
37
- */
38
- 'status'?: AccountOrderRecordStatus;
39
- /**
40
- *
41
- * @type {AccountOrderRecordUniversalSymbol}
42
- * @memberof AccountOrderRecord
43
- */
44
- 'universal_symbol'?: AccountOrderRecordUniversalSymbol;
45
- /**
46
- *
47
- * @type {AccountOrderRecordOptionSymbol}
48
- * @memberof AccountOrderRecord
49
- */
50
- 'option_symbol'?: AccountOrderRecordOptionSymbol;
51
- /**
52
- *
53
- * @type {AccountOrderRecordQuoteUniversalSymbol}
54
- * @memberof AccountOrderRecord
55
- */
56
- 'quote_universal_symbol'?: AccountOrderRecordQuoteUniversalSymbol;
57
- /**
58
- *
59
- * @type {AccountOrderRecordQuoteCurrency}
60
- * @memberof AccountOrderRecord
61
- */
62
- 'quote_currency'?: AccountOrderRecordQuoteCurrency;
63
- /**
64
- * The action describes the intent or side of a trade. This is usually `BUY` or `SELL` but can include other potential values like the following depending on the specific brokerage. - BUY - SELL - BUY_COVER - SELL_SHORT - BUY_OPEN - BUY_CLOSE - SELL_OPEN - SELL_CLOSE
65
- * @type {string}
66
- * @memberof AccountOrderRecord
67
- */
68
- 'action'?: string;
69
- /**
70
- * The total number of shares or contracts of the order. This should be the sum of the filled, canceled, and open quantities. Can be a decimal number for fractional shares.
71
- * @type {string}
72
- * @memberof AccountOrderRecord
73
- */
74
- 'total_quantity'?: string | null;
75
- /**
76
- * The number of shares or contracts that are still open (waiting for execution). Can be a decimal number for fractional shares.
77
- * @type {string}
78
- * @memberof AccountOrderRecord
79
- */
80
- 'open_quantity'?: string | null;
81
- /**
82
- * The number of shares or contracts that have been canceled. Can be a decimal number for fractional shares.
83
- * @type {string}
84
- * @memberof AccountOrderRecord
85
- */
86
- 'canceled_quantity'?: string | null;
87
- /**
88
- * The number of shares or contracts that have been filled. Can be a decimal number for fractional shares.
89
- * @type {string}
90
- * @memberof AccountOrderRecord
91
- */
92
- 'filled_quantity'?: string | null;
93
- /**
94
- * The price at which the order was executed. For option orders, this represents the price per share.
95
- * @type {number}
96
- * @memberof AccountOrderRecord
97
- */
98
- 'execution_price'?: number | null;
99
- /**
100
- * The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders. For option orders, this represents the price per share.
101
- * @type {number}
102
- * @memberof AccountOrderRecord
103
- */
104
- 'limit_price'?: number | null;
105
- /**
106
- * The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders. For option orders, this represents the price per share.
107
- * @type {number}
108
- * @memberof AccountOrderRecord
109
- */
110
- 'stop_price'?: number | null;
111
- /**
112
- *
113
- * @type {AccountOrderRecordTrailingStop}
114
- * @memberof AccountOrderRecord
115
- */
116
- 'trailing_stop'?: AccountOrderRecordTrailingStop | null;
117
- /**
118
- * The type of order placed. The most common values are `Market`, `Limit`, `Stop`, and `StopLimit`. We try our best to map brokerage order types to these values. When mapping fails, we will return the brokerage\'s order type value.
119
- * @type {string}
120
- * @memberof AccountOrderRecord
121
- */
122
- 'order_type'?: string | null;
123
- /**
124
- * The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. We try our best to map brokerage time in force values to the following. When mapping fails, we will return the brokerage\'s time in force value. - `Day` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled. - `GTD` - Good Til Date. The order is valid until the specified date. - `MOO` - Market On Open. The order is to be executed at the day\'s opening price. - `EHP` - Extended Hours P.M. The order is to be placed during extended hour trading, after markets close.
125
- * @type {string}
126
- * @memberof AccountOrderRecord
127
- */
128
- 'time_in_force'?: string;
129
- /**
130
- * The time the order was placed. This is the time the order was submitted to the brokerage.
131
- * @type {string}
132
- * @memberof AccountOrderRecord
133
- */
134
- 'time_placed'?: string;
135
- /**
136
- * The time the order was last updated in the brokerage system. This value is not always available from the brokerage.
137
- * @type {string}
138
- * @memberof AccountOrderRecord
139
- */
140
- 'time_updated'?: string | null;
141
- /**
142
- * The time the order was executed in the brokerage system. This value is not always available from the brokerage.
143
- * @type {string}
144
- * @memberof AccountOrderRecord
145
- */
146
- 'time_executed'?: string | null;
147
- /**
148
- * The time the order expires. This value is not always available from the brokerage.
149
- * @type {string}
150
- * @memberof AccountOrderRecord
151
- */
152
- 'expiry_date'?: string | null;
153
- /**
154
- * A unique ID for the security within SnapTrade, scoped to the brokerage account that the security belongs to. This is a legacy field and should not be used. Do not rely on this being a stable ID as it can change.
155
- * @type {string}
156
- * @memberof AccountOrderRecord
157
- * @deprecated
158
- */
159
- 'symbol'?: string;
160
- /**
161
- *
162
- * @type {AccountOrderRecordChildBrokerageOrderIds}
163
- * @memberof AccountOrderRecord
164
- */
165
- 'child_brokerage_order_ids'?: AccountOrderRecordChildBrokerageOrderIds | null;
166
- }
167
- type AccountOrderRecordOrderRoleEnum = 'TRIGGER' | 'CONDITIONAL' | 'PEER';
168
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- import { AccountOrderRecordV2 } from './account-order-record-v2';
2
- /**
3
- * Contains a standardized list of account orders in the V2 format.
4
- * @export
5
- * @interface AccountOrdersV2Response
6
- */
7
- export interface AccountOrdersV2Response {
8
- [key: string]: any;
9
- /**
10
- * List of orders returned by the endpoint.
11
- * @type {Array<AccountOrderRecordV2>}
12
- * @memberof AccountOrdersV2Response
13
- */
14
- 'orders': Array<AccountOrderRecordV2>;
15
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,52 +0,0 @@
1
- import { Instrument } from './instrument';
2
- import { TaxLot } from './tax-lot';
3
- /**
4
- * Describes a single position.
5
- * @export
6
- * @interface AccountPosition
7
- */
8
- export interface AccountPosition {
9
- [key: string]: any;
10
- /**
11
- *
12
- * @type {Instrument}
13
- * @memberof AccountPosition
14
- */
15
- 'instrument': Instrument;
16
- /**
17
- * The number of units held in the position. Positive numbers indicate long positions and negative numbers indicate short positions.
18
- * @type {string}
19
- * @memberof AccountPosition
20
- */
21
- 'units'?: string | null;
22
- /**
23
- * Last known market price for the position.
24
- * @type {string}
25
- * @memberof AccountPosition
26
- */
27
- 'price'?: string | null;
28
- /**
29
- * Book price or average purchase price for the position.
30
- * @type {string}
31
- * @memberof AccountPosition
32
- */
33
- 'cost_basis'?: string | null;
34
- /**
35
- * ISO-4217 currency code for the position `price` and `cost_basis`.
36
- * @type {string}
37
- * @memberof AccountPosition
38
- */
39
- 'currency'?: string | null;
40
- /**
41
- * Present for mutual fund positions that are also counted in cash balance or buying power.
42
- * @type {boolean}
43
- * @memberof AccountPosition
44
- */
45
- 'cash_equivalent'?: boolean;
46
- /**
47
- * Present for stock positions when tax lot data is enabled for the account.
48
- * @type {Array<TaxLot>}
49
- * @memberof AccountPosition
50
- */
51
- 'tax_lots'?: Array<TaxLot>;
52
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,39 +0,0 @@
1
- import { AccountSyncStatus } from './account-sync-status';
2
- /**
3
- * A single account at a brokerage.
4
- * @export
5
- * @interface AccountSimple
6
- */
7
- export interface AccountSimple {
8
- [key: string]: any;
9
- /**
10
- * Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
11
- * @type {string}
12
- * @memberof AccountSimple
13
- */
14
- 'id'?: string;
15
- /**
16
- * A display name for the account. Either assigned by the user or by the brokerage itself. For certain brokerages, SnapTrade appends the brokerage name to the account name for clarity.
17
- * @type {string}
18
- * @memberof AccountSimple
19
- */
20
- 'name'?: string;
21
- /**
22
- * The account number assigned by the brokerage. For some brokerages, this field may be masked for security reasons.
23
- * @type {string}
24
- * @memberof AccountSimple
25
- */
26
- 'number'?: string;
27
- /**
28
- * A stable and unique account identifier provided by the institution. Will be set to null if not provided. When present, can be used to check if a user has connected the same brokerage account across multiple connections.
29
- * @type {string}
30
- * @memberof AccountSimple
31
- */
32
- 'institution_account_id'?: string | null;
33
- /**
34
- *
35
- * @type {AccountSyncStatus}
36
- * @memberof AccountSimple
37
- */
38
- 'sync_status'?: AccountSyncStatus;
39
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,21 +0,0 @@
1
- import { HoldingsStatus } from './holdings-status';
2
- import { TransactionsStatus } from './transactions-status';
3
- /**
4
- * Contains status update for the account sync process between SnapTrade and the brokerage.
5
- * @export
6
- * @interface AccountSyncStatus
7
- */
8
- export interface AccountSyncStatus {
9
- /**
10
- *
11
- * @type {TransactionsStatus}
12
- * @memberof AccountSyncStatus
13
- */
14
- 'transactions'?: TransactionsStatus;
15
- /**
16
- *
17
- * @type {HoldingsStatus}
18
- * @memberof AccountSyncStatus
19
- */
20
- 'holdings'?: HoldingsStatus;
21
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,25 +0,0 @@
1
- /**
2
- * The currency in which the transaction `price` and `amount` is denominated.
3
- * @export
4
- * @interface AccountUniversalActivityCurrency
5
- */
6
- export interface AccountUniversalActivityCurrency {
7
- /**
8
- * Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
9
- * @type {string}
10
- * @memberof AccountUniversalActivityCurrency
11
- */
12
- 'id'?: string;
13
- /**
14
- * The ISO-4217 currency code for the currency.
15
- * @type {string}
16
- * @memberof AccountUniversalActivityCurrency
17
- */
18
- 'code'?: string;
19
- /**
20
- * A human-friendly name of the currency.
21
- * @type {string}
22
- * @memberof AccountUniversalActivityCurrency
23
- */
24
- 'name'?: string;
25
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,52 +0,0 @@
1
- import { UnderlyingSymbol } from './underlying-symbol';
2
- /**
3
- * The option security for the transaction. The field is `null` if the transaction is not related to an option security (like a deposit, withdrawal, fee, etc). SnapTrade does a best effort to map the brokerage\'s option symbol. In cases where the brokerage option symbol is not recognized, the field will be set to `null`.
4
- * @export
5
- * @interface AccountUniversalActivityOptionSymbol
6
- */
7
- export interface AccountUniversalActivityOptionSymbol {
8
- /**
9
- * Unique identifier for the option symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
10
- * @type {string}
11
- * @memberof AccountUniversalActivityOptionSymbol
12
- */
13
- 'id': string;
14
- /**
15
- * The [OCC symbol](https://en.wikipedia.org/wiki/Option_symbol) for the option.
16
- * @type {string}
17
- * @memberof AccountUniversalActivityOptionSymbol
18
- */
19
- 'ticker': string;
20
- /**
21
- * The type of option. Either \"CALL\" or \"PUT\".
22
- * @type {string}
23
- * @memberof AccountUniversalActivityOptionSymbol
24
- */
25
- 'option_type': AccountUniversalActivityOptionSymbolOptionTypeEnum;
26
- /**
27
- * The option strike price.
28
- * @type {number}
29
- * @memberof AccountUniversalActivityOptionSymbol
30
- */
31
- 'strike_price': number;
32
- /**
33
- * The option expiration date.
34
- * @type {string}
35
- * @memberof AccountUniversalActivityOptionSymbol
36
- */
37
- 'expiration_date': string;
38
- /**
39
- * Whether the option is a mini option. Mini options have 10 underlying shares per contract instead of the standard 100.
40
- * @type {boolean}
41
- * @memberof AccountUniversalActivityOptionSymbol
42
- */
43
- 'is_mini_option'?: boolean;
44
- /**
45
- *
46
- * @type {UnderlyingSymbol}
47
- * @memberof AccountUniversalActivityOptionSymbol
48
- */
49
- 'underlying_symbol': UnderlyingSymbol;
50
- }
51
- type AccountUniversalActivityOptionSymbolOptionTypeEnum = 'CALL' | 'PUT';
52
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,65 +0,0 @@
1
- import { SecurityType } from './security-type';
2
- import { StockInstrumentFigiInstrument } from './stock-instrument-figi-instrument';
3
- import { SymbolCurrency } from './symbol-currency';
4
- import { SymbolExchange } from './symbol-exchange';
5
- /**
6
- * The security for the transaction. The field is `null` if the transaction is not related to a security (like a deposit, withdrawal, fee, etc). SnapTrade does a best effort to map the brokerage\'s symbol. In cases where the brokerage symbol is not recognized, the field will be set to `null`.
7
- * @export
8
- * @interface AccountUniversalActivitySymbol
9
- */
10
- export interface AccountUniversalActivitySymbol {
11
- /**
12
- * Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
13
- * @type {string}
14
- * @memberof AccountUniversalActivitySymbol
15
- */
16
- 'id'?: string;
17
- /**
18
- * The security\'s trading ticker symbol. For example \"AAPL\" for Apple Inc. We largely follow the [Yahoo Finance ticker format](https://help.yahoo.com/kb/SLN2310.html)(click on \"Yahoo Finance Market Coverage and Data Delays\"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a \'.TO\' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
19
- * @type {string}
20
- * @memberof AccountUniversalActivitySymbol
21
- */
22
- 'symbol'?: string;
23
- /**
24
- * The raw symbol is `symbol` with the exchange suffix removed. For example, if `symbol` is \"VAB.TO\", then `raw_symbol` is \"VAB\".
25
- * @type {string}
26
- * @memberof AccountUniversalActivitySymbol
27
- */
28
- 'raw_symbol'?: string;
29
- /**
30
- * A human-readable description of the security. This is usually the company name or ETF name.
31
- * @type {string}
32
- * @memberof AccountUniversalActivitySymbol
33
- */
34
- 'description'?: string | null;
35
- /**
36
- *
37
- * @type {SymbolCurrency}
38
- * @memberof AccountUniversalActivitySymbol
39
- */
40
- 'currency'?: SymbolCurrency;
41
- /**
42
- *
43
- * @type {SymbolExchange}
44
- * @memberof AccountUniversalActivitySymbol
45
- */
46
- 'exchange'?: SymbolExchange;
47
- /**
48
- *
49
- * @type {SecurityType}
50
- * @memberof AccountUniversalActivitySymbol
51
- */
52
- 'type'?: SecurityType;
53
- /**
54
- * This identifier is unique per security per trading venue. See section 1.4.1 of the [FIGI Standard](https://www.openfigi.com/assets/local/figi-allocation-rules.pdf) for more information. This value should be the same as the `figi_code` in the `figi_instrument` child property.
55
- * @type {string}
56
- * @memberof AccountUniversalActivitySymbol
57
- */
58
- 'figi_code'?: string | null;
59
- /**
60
- *
61
- * @type {StockInstrumentFigiInstrument}
62
- * @memberof AccountUniversalActivitySymbol
63
- */
64
- 'figi_instrument'?: StockInstrumentFigiInstrument | null;
65
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });