snaptrade 2.0.7 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (431) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +4 -9
  4. data/README.md +1680 -206
  5. data/lib/snaptrade/api/account_information_api.rb +40 -21
  6. data/lib/snaptrade/api/api_status_api.rb +6 -3
  7. data/lib/snaptrade/api/authentication_api.rb +40 -23
  8. data/lib/snaptrade/api/connections_api.rb +16 -9
  9. data/lib/snaptrade/api/error_logs_api.rb +4 -3
  10. data/lib/snaptrade/api/options_api.rb +24 -15
  11. data/lib/snaptrade/api/reference_data_api.rb +46 -23
  12. data/lib/snaptrade/api/trading_api.rb +38 -27
  13. data/lib/snaptrade/api/transactions_and_reporting_api.rb +12 -5
  14. data/lib/snaptrade/api_client.rb +24 -14
  15. data/lib/snaptrade/api_error.rb +0 -1
  16. data/lib/snaptrade/configuration.rb +11 -29
  17. data/lib/snaptrade/models/account.rb +0 -1
  18. data/lib/snaptrade/models/account_balance.rb +0 -1
  19. data/lib/snaptrade/models/account_balance_total.rb +0 -1
  20. data/lib/snaptrade/models/account_holdings.rb +0 -1
  21. data/lib/snaptrade/models/account_holdings_account.rb +0 -1
  22. data/lib/snaptrade/models/account_order_record.rb +3 -2
  23. data/lib/snaptrade/models/account_order_record_status.rb +0 -1
  24. data/lib/snaptrade/models/account_simple.rb +0 -1
  25. data/lib/snaptrade/models/account_sync_status.rb +0 -1
  26. data/lib/snaptrade/models/action.rb +0 -1
  27. data/lib/snaptrade/models/amount.rb +0 -1
  28. data/lib/snaptrade/models/auth_type.rb +0 -1
  29. data/lib/snaptrade/models/authentication_login_snap_trade_user200_response.rb +0 -1
  30. data/lib/snaptrade/models/balance.rb +0 -1
  31. data/lib/snaptrade/models/brokerage.rb +0 -1
  32. data/lib/snaptrade/models/brokerage_authorization.rb +0 -1
  33. data/lib/snaptrade/models/brokerage_authorization_type.rb +0 -1
  34. data/lib/snaptrade/models/brokerage_authorization_type_read_only.rb +0 -1
  35. data/lib/snaptrade/models/brokerage_authorization_type_read_only_brokerage.rb +0 -1
  36. data/lib/snaptrade/models/brokerage_authorization_type_read_only_type.rb +0 -1
  37. data/lib/snaptrade/models/brokerage_authorization_type_type.rb +0 -1
  38. data/lib/snaptrade/models/brokerage_symbol.rb +0 -1
  39. data/lib/snaptrade/models/brokerage_symbol_option_symbol.rb +0 -1
  40. data/lib/snaptrade/models/brokerage_symbol_symbol.rb +0 -1
  41. data/lib/snaptrade/models/brokerage_type.rb +0 -1
  42. data/lib/snaptrade/models/calculated_trade.rb +0 -1
  43. data/lib/snaptrade/models/cash_restriction.rb +0 -1
  44. data/lib/snaptrade/models/connection_portal_version.rb +0 -1
  45. data/lib/snaptrade/models/connection_type.rb +0 -1
  46. data/lib/snaptrade/models/connections_session_events200_response_inner.rb +0 -1
  47. data/lib/snaptrade/models/currency.rb +0 -1
  48. data/lib/snaptrade/models/delete_user_response.rb +0 -1
  49. data/lib/snaptrade/models/dividend_at_date.rb +0 -1
  50. data/lib/snaptrade/models/encrypted_response.rb +0 -1
  51. data/lib/snaptrade/models/encrypted_response_encrypted_message_data.rb +0 -1
  52. data/lib/snaptrade/models/exchange.rb +0 -1
  53. data/lib/snaptrade/models/exchange_rate_pairs.rb +0 -1
  54. data/lib/snaptrade/models/excluded_asset.rb +0 -1
  55. data/lib/snaptrade/models/jwt.rb +0 -1
  56. data/lib/snaptrade/models/login_redirect_uri.rb +0 -1
  57. data/lib/snaptrade/models/manual_trade.rb +3 -2
  58. data/lib/snaptrade/models/manual_trade_and_impact.rb +0 -1
  59. data/lib/snaptrade/models/manual_trade_balance.rb +0 -1
  60. data/lib/snaptrade/models/manual_trade_form.rb +3 -1
  61. data/lib/snaptrade/models/manual_trade_symbol.rb +0 -1
  62. data/lib/snaptrade/models/model400_failed_request_response.rb +0 -1
  63. data/lib/snaptrade/models/model401_failed_request_response.rb +0 -1
  64. data/lib/snaptrade/models/model403_failed_request_response.rb +0 -1
  65. data/lib/snaptrade/models/model404_failed_request_response.rb +0 -1
  66. data/lib/snaptrade/models/model500_unexpected_exception_response.rb +0 -1
  67. data/lib/snaptrade/models/model_asset_class.rb +0 -1
  68. data/lib/snaptrade/models/model_asset_class_details.rb +0 -1
  69. data/lib/snaptrade/models/model_asset_class_target.rb +0 -1
  70. data/lib/snaptrade/models/model_portfolio.rb +0 -1
  71. data/lib/snaptrade/models/model_portfolio_asset_class.rb +0 -1
  72. data/lib/snaptrade/models/model_portfolio_details.rb +0 -1
  73. data/lib/snaptrade/models/model_portfolio_security.rb +0 -1
  74. data/lib/snaptrade/models/model_type.rb +0 -1
  75. data/lib/snaptrade/models/monthly_dividends.rb +0 -1
  76. data/lib/snaptrade/models/net_contributions.rb +0 -1
  77. data/lib/snaptrade/models/net_dividend.rb +0 -1
  78. data/lib/snaptrade/models/option_chain_inner.rb +0 -1
  79. data/lib/snaptrade/models/option_chain_inner_chain_per_root_inner.rb +0 -1
  80. data/lib/snaptrade/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner.rb +0 -1
  81. data/lib/snaptrade/models/option_leg.rb +0 -1
  82. data/lib/snaptrade/models/option_leg_action.rb +0 -1
  83. data/lib/snaptrade/models/option_strategy.rb +0 -1
  84. data/lib/snaptrade/models/option_strategy_legs_inner.rb +0 -1
  85. data/lib/snaptrade/models/option_type.rb +0 -1
  86. data/lib/snaptrade/models/options_get_option_strategy_request.rb +0 -1
  87. data/lib/snaptrade/models/options_holdings.rb +0 -1
  88. data/lib/snaptrade/models/options_place_option_strategy_request.rb +2 -1
  89. data/lib/snaptrade/models/options_position.rb +0 -1
  90. data/lib/snaptrade/models/options_position_currency.rb +0 -1
  91. data/lib/snaptrade/models/options_symbol.rb +0 -1
  92. data/lib/snaptrade/models/order_type.rb +0 -1
  93. data/lib/snaptrade/models/partner_data.rb +0 -1
  94. data/lib/snaptrade/models/past_value.rb +0 -1
  95. data/lib/snaptrade/models/performance_custom.rb +0 -1
  96. data/lib/snaptrade/models/portfolio_group.rb +0 -1
  97. data/lib/snaptrade/models/portfolio_group_info.rb +0 -1
  98. data/lib/snaptrade/models/portfolio_group_position.rb +0 -1
  99. data/lib/snaptrade/models/portfolio_group_settings.rb +0 -1
  100. data/lib/snaptrade/models/position.rb +0 -1
  101. data/lib/snaptrade/models/position_symbol.rb +0 -1
  102. data/lib/snaptrade/models/redirect_tokenand_pin.rb +0 -1
  103. data/lib/snaptrade/models/security_type.rb +0 -1
  104. data/lib/snaptrade/models/session_event.rb +0 -1
  105. data/lib/snaptrade/models/session_event_type.rb +0 -1
  106. data/lib/snaptrade/models/snap_trade_api_disclaimer_accept_status.rb +0 -1
  107. data/lib/snaptrade/models/snap_trade_holdings_account.rb +0 -1
  108. data/lib/snaptrade/models/snap_trade_holdings_account_account_id.rb +0 -1
  109. data/lib/snaptrade/models/snap_trade_holdings_total_value.rb +0 -1
  110. data/lib/snaptrade/models/snap_trade_login_user_request_body.rb +2 -1
  111. data/lib/snaptrade/models/snap_trade_register_user_request_body.rb +0 -1
  112. data/lib/snaptrade/models/state.rb +0 -1
  113. data/lib/snaptrade/models/status.rb +0 -1
  114. data/lib/snaptrade/models/strategy_impact.rb +0 -1
  115. data/lib/snaptrade/models/strategy_impact_legs_inner.rb +0 -1
  116. data/lib/snaptrade/models/strategy_order_place.rb +0 -1
  117. data/lib/snaptrade/models/strategy_order_place_orders_inner.rb +0 -1
  118. data/lib/snaptrade/models/strategy_order_place_orders_inner_legs_inner.rb +0 -1
  119. data/lib/snaptrade/models/strategy_order_record.rb +1 -1
  120. data/lib/snaptrade/models/strategy_order_record_status.rb +0 -1
  121. data/lib/snaptrade/models/strategy_quotes.rb +0 -1
  122. data/lib/snaptrade/models/strategy_quotes_greek.rb +0 -1
  123. data/lib/snaptrade/models/strategy_type.rb +0 -1
  124. data/lib/snaptrade/models/sub_period_return_rate.rb +0 -1
  125. data/lib/snaptrade/models/symbol.rb +0 -1
  126. data/lib/snaptrade/models/symbol_query.rb +0 -1
  127. data/lib/snaptrade/models/symbols_quotes_inner.rb +0 -1
  128. data/lib/snaptrade/models/target_asset.rb +0 -1
  129. data/lib/snaptrade/models/time_in_force_strict.rb +0 -1
  130. data/lib/snaptrade/models/trade.rb +0 -1
  131. data/lib/snaptrade/models/trade_action.rb +0 -1
  132. data/lib/snaptrade/models/trade_execution_status.rb +2 -1
  133. data/lib/snaptrade/models/trade_execution_status_action.rb +0 -1
  134. data/lib/snaptrade/models/trade_impact.rb +0 -1
  135. data/lib/snaptrade/models/trading_cancel_user_account_order_request.rb +0 -1
  136. data/lib/snaptrade/models/trading_place_oco_order_request.rb +0 -1
  137. data/lib/snaptrade/models/transactions_status.rb +0 -1
  138. data/lib/snaptrade/models/type.rb +0 -1
  139. data/lib/snaptrade/models/underlying_symbol.rb +0 -1
  140. data/lib/snaptrade/models/universal_activity.rb +0 -1
  141. data/lib/snaptrade/models/universal_symbol.rb +0 -1
  142. data/lib/snaptrade/models/us_exchange.rb +0 -1
  143. data/lib/snaptrade/models/user_error_log.rb +0 -1
  144. data/lib/snaptrade/models/user_i_dand_secret.rb +0 -1
  145. data/lib/snaptrade/models/user_settings.rb +0 -1
  146. data/lib/snaptrade/models/validated_trade_body.rb +0 -1
  147. data/lib/snaptrade/version.rb +1 -2
  148. data/lib/snaptrade.rb +50 -18
  149. data/snaptrade.gemspec +0 -1
  150. data/spec/api/account_information_api_spec.rb +0 -1
  151. data/spec/api/api_status_api_spec.rb +0 -1
  152. data/spec/api/authentication_api_spec.rb +0 -1
  153. data/spec/api/connections_api_spec.rb +0 -1
  154. data/spec/api/error_logs_api_spec.rb +0 -1
  155. data/spec/api/options_api_spec.rb +0 -1
  156. data/spec/api/reference_data_api_spec.rb +0 -1
  157. data/spec/api/trading_api_spec.rb +0 -1
  158. data/spec/api/transactions_and_reporting_api_spec.rb +0 -1
  159. data/spec/api_client_spec.rb +0 -1
  160. data/spec/configuration_spec.rb +0 -1
  161. data/spec/models/account_balance_spec.rb +0 -1
  162. data/spec/models/account_balance_total_spec.rb +0 -1
  163. data/spec/models/account_holdings_account_spec.rb +0 -1
  164. data/spec/models/account_holdings_spec.rb +0 -1
  165. data/spec/models/account_order_record_spec.rb +0 -1
  166. data/spec/models/account_order_record_status_spec.rb +0 -1
  167. data/spec/models/account_simple_spec.rb +0 -1
  168. data/spec/models/account_spec.rb +0 -1
  169. data/spec/models/account_sync_status_spec.rb +0 -1
  170. data/spec/models/action_spec.rb +0 -1
  171. data/spec/models/amount_spec.rb +0 -1
  172. data/spec/models/auth_type_spec.rb +0 -1
  173. data/spec/models/authentication_login_snap_trade_user200_response_spec.rb +0 -1
  174. data/spec/models/balance_spec.rb +0 -1
  175. data/spec/models/brokerage_authorization_spec.rb +0 -1
  176. data/spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb +0 -1
  177. data/spec/models/brokerage_authorization_type_read_only_spec.rb +0 -1
  178. data/spec/models/brokerage_authorization_type_read_only_type_spec.rb +0 -1
  179. data/spec/models/brokerage_authorization_type_spec.rb +0 -1
  180. data/spec/models/brokerage_authorization_type_type_spec.rb +0 -1
  181. data/spec/models/brokerage_spec.rb +0 -1
  182. data/spec/models/brokerage_symbol_option_symbol_spec.rb +0 -1
  183. data/spec/models/brokerage_symbol_spec.rb +0 -1
  184. data/spec/models/brokerage_symbol_symbol_spec.rb +0 -1
  185. data/spec/models/brokerage_type_spec.rb +0 -1
  186. data/spec/models/calculated_trade_spec.rb +0 -1
  187. data/spec/models/cash_restriction_spec.rb +0 -1
  188. data/spec/models/connection_portal_version_spec.rb +0 -1
  189. data/spec/models/connection_type_spec.rb +0 -1
  190. data/spec/models/connections_session_events200_response_inner_spec.rb +0 -1
  191. data/spec/models/currency_spec.rb +0 -1
  192. data/spec/models/delete_user_response_spec.rb +0 -1
  193. data/spec/models/dividend_at_date_spec.rb +0 -1
  194. data/spec/models/encrypted_response_encrypted_message_data_spec.rb +0 -1
  195. data/spec/models/encrypted_response_spec.rb +0 -1
  196. data/spec/models/exchange_rate_pairs_spec.rb +0 -1
  197. data/spec/models/exchange_spec.rb +0 -1
  198. data/spec/models/excluded_asset_spec.rb +0 -1
  199. data/spec/models/jwt_spec.rb +0 -1
  200. data/spec/models/login_redirect_uri_spec.rb +0 -1
  201. data/spec/models/manual_trade_and_impact_spec.rb +0 -1
  202. data/spec/models/manual_trade_balance_spec.rb +0 -1
  203. data/spec/models/manual_trade_form_spec.rb +0 -1
  204. data/spec/models/manual_trade_spec.rb +0 -1
  205. data/spec/models/manual_trade_symbol_spec.rb +0 -1
  206. data/spec/models/model400_failed_request_response_spec.rb +0 -1
  207. data/spec/models/model401_failed_request_response_spec.rb +0 -1
  208. data/spec/models/model403_failed_request_response_spec.rb +0 -1
  209. data/spec/models/model404_failed_request_response_spec.rb +0 -1
  210. data/spec/models/model500_unexpected_exception_response_spec.rb +0 -1
  211. data/spec/models/model_asset_class_details_spec.rb +0 -1
  212. data/spec/models/model_asset_class_spec.rb +0 -1
  213. data/spec/models/model_asset_class_target_spec.rb +0 -1
  214. data/spec/models/model_portfolio_asset_class_spec.rb +0 -1
  215. data/spec/models/model_portfolio_details_spec.rb +0 -1
  216. data/spec/models/model_portfolio_security_spec.rb +0 -1
  217. data/spec/models/model_portfolio_spec.rb +0 -1
  218. data/spec/models/model_type_spec.rb +0 -1
  219. data/spec/models/monthly_dividends_spec.rb +0 -1
  220. data/spec/models/net_contributions_spec.rb +0 -1
  221. data/spec/models/net_dividend_spec.rb +0 -1
  222. data/spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb +0 -1
  223. data/spec/models/option_chain_inner_chain_per_root_inner_spec.rb +0 -1
  224. data/spec/models/option_chain_inner_spec.rb +0 -1
  225. data/spec/models/option_leg_action_spec.rb +0 -1
  226. data/spec/models/option_leg_spec.rb +0 -1
  227. data/spec/models/option_strategy_legs_inner_spec.rb +0 -1
  228. data/spec/models/option_strategy_spec.rb +0 -1
  229. data/spec/models/option_type_spec.rb +0 -1
  230. data/spec/models/options_get_option_strategy_request_spec.rb +0 -1
  231. data/spec/models/options_holdings_spec.rb +0 -1
  232. data/spec/models/options_place_option_strategy_request_spec.rb +0 -1
  233. data/spec/models/options_position_currency_spec.rb +0 -1
  234. data/spec/models/options_position_spec.rb +0 -1
  235. data/spec/models/options_symbol_spec.rb +0 -1
  236. data/spec/models/order_type_spec.rb +0 -1
  237. data/spec/models/partner_data_spec.rb +0 -1
  238. data/spec/models/past_value_spec.rb +0 -1
  239. data/spec/models/performance_custom_spec.rb +0 -1
  240. data/spec/models/portfolio_group_info_spec.rb +0 -1
  241. data/spec/models/portfolio_group_position_spec.rb +0 -1
  242. data/spec/models/portfolio_group_settings_spec.rb +0 -1
  243. data/spec/models/portfolio_group_spec.rb +0 -1
  244. data/spec/models/position_spec.rb +0 -1
  245. data/spec/models/position_symbol_spec.rb +0 -1
  246. data/spec/models/redirect_tokenand_pin_spec.rb +0 -1
  247. data/spec/models/security_type_spec.rb +0 -1
  248. data/spec/models/session_event_spec.rb +0 -1
  249. data/spec/models/session_event_type_spec.rb +0 -1
  250. data/spec/models/snap_trade_api_disclaimer_accept_status_spec.rb +0 -1
  251. data/spec/models/snap_trade_holdings_account_account_id_spec.rb +0 -1
  252. data/spec/models/snap_trade_holdings_account_spec.rb +0 -1
  253. data/spec/models/snap_trade_holdings_total_value_spec.rb +0 -1
  254. data/spec/models/snap_trade_login_user_request_body_spec.rb +0 -1
  255. data/spec/models/snap_trade_register_user_request_body_spec.rb +0 -1
  256. data/spec/models/state_spec.rb +0 -1
  257. data/spec/models/status_spec.rb +0 -1
  258. data/spec/models/strategy_impact_legs_inner_spec.rb +0 -1
  259. data/spec/models/strategy_impact_spec.rb +0 -1
  260. data/spec/models/strategy_order_place_orders_inner_legs_inner_spec.rb +0 -1
  261. data/spec/models/strategy_order_place_orders_inner_spec.rb +0 -1
  262. data/spec/models/strategy_order_place_spec.rb +0 -1
  263. data/spec/models/strategy_order_record_spec.rb +0 -1
  264. data/spec/models/strategy_order_record_status_spec.rb +0 -1
  265. data/spec/models/strategy_quotes_greek_spec.rb +0 -1
  266. data/spec/models/strategy_quotes_spec.rb +0 -1
  267. data/spec/models/strategy_type_spec.rb +0 -1
  268. data/spec/models/sub_period_return_rate_spec.rb +0 -1
  269. data/spec/models/symbol_query_spec.rb +0 -1
  270. data/spec/models/symbol_spec.rb +0 -1
  271. data/spec/models/symbols_quotes_inner_spec.rb +0 -1
  272. data/spec/models/target_asset_spec.rb +0 -1
  273. data/spec/models/time_in_force_strict_spec.rb +0 -1
  274. data/spec/models/trade_action_spec.rb +0 -1
  275. data/spec/models/trade_execution_status_action_spec.rb +0 -1
  276. data/spec/models/trade_execution_status_spec.rb +0 -1
  277. data/spec/models/trade_impact_spec.rb +0 -1
  278. data/spec/models/trade_spec.rb +0 -1
  279. data/spec/models/trading_cancel_user_account_order_request_spec.rb +0 -1
  280. data/spec/models/trading_place_oco_order_request_spec.rb +0 -1
  281. data/spec/models/transactions_status_spec.rb +0 -1
  282. data/spec/models/type_spec.rb +0 -1
  283. data/spec/models/underlying_symbol_spec.rb +0 -1
  284. data/spec/models/universal_activity_spec.rb +0 -1
  285. data/spec/models/universal_symbol_spec.rb +0 -1
  286. data/spec/models/us_exchange_spec.rb +0 -1
  287. data/spec/models/user_error_log_spec.rb +0 -1
  288. data/spec/models/user_i_dand_secret_spec.rb +0 -1
  289. data/spec/models/user_settings_spec.rb +0 -1
  290. data/spec/models/validated_trade_body_spec.rb +0 -1
  291. data/spec/spec_helper.rb +0 -1
  292. metadata +2 -141
  293. data/docs/APIStatusApi.md +0 -57
  294. data/docs/Account.md +0 -38
  295. data/docs/AccountBalance.md +0 -18
  296. data/docs/AccountBalanceTotal.md +0 -20
  297. data/docs/AccountHoldings.md +0 -24
  298. data/docs/AccountHoldingsAccount.md +0 -26
  299. data/docs/AccountInformationApi.md +0 -544
  300. data/docs/AccountOrderRecord.md +0 -52
  301. data/docs/AccountOrderRecordStatus.md +0 -15
  302. data/docs/AccountSimple.md +0 -24
  303. data/docs/AccountSyncStatus.md +0 -18
  304. data/docs/Action.md +0 -15
  305. data/docs/Amount.md +0 -20
  306. data/docs/AuthType.md +0 -15
  307. data/docs/AuthenticationApi.md +0 -380
  308. data/docs/AuthenticationLoginSnapTradeUser200Response.md +0 -49
  309. data/docs/Balance.md +0 -22
  310. data/docs/Brokerage.md +0 -56
  311. data/docs/BrokerageAuthorization.md +0 -34
  312. data/docs/BrokerageAuthorizationType.md +0 -18
  313. data/docs/BrokerageAuthorizationTypeReadOnly.md +0 -24
  314. data/docs/BrokerageAuthorizationTypeReadOnlyBrokerage.md +0 -22
  315. data/docs/BrokerageAuthorizationTypeReadOnlyType.md +0 -15
  316. data/docs/BrokerageAuthorizationTypeType.md +0 -15
  317. data/docs/BrokerageSymbol.md +0 -28
  318. data/docs/BrokerageSymbolOptionSymbol.md +0 -34
  319. data/docs/BrokerageSymbolSymbol.md +0 -34
  320. data/docs/BrokerageType.md +0 -20
  321. data/docs/CalculatedTrade.md +0 -20
  322. data/docs/CashRestriction.md +0 -26
  323. data/docs/ConnectionPortalVersion.md +0 -15
  324. data/docs/ConnectionType.md +0 -15
  325. data/docs/ConnectionsApi.md +0 -265
  326. data/docs/ConnectionsSessionEvents200ResponseInner.md +0 -30
  327. data/docs/Currency.md +0 -22
  328. data/docs/DeleteUserResponse.md +0 -20
  329. data/docs/DividendAtDate.md +0 -22
  330. data/docs/EncryptedResponse.md +0 -20
  331. data/docs/EncryptedResponseEncryptedMessageData.md +0 -22
  332. data/docs/ErrorLogsApi.md +0 -68
  333. data/docs/Exchange.md +0 -32
  334. data/docs/ExchangeRatePairs.md +0 -22
  335. data/docs/ExcludedAsset.md +0 -18
  336. data/docs/JWT.md +0 -18
  337. data/docs/LoginRedirectURI.md +0 -20
  338. data/docs/ManualTrade.md +0 -32
  339. data/docs/ManualTradeAndImpact.md +0 -22
  340. data/docs/ManualTradeBalance.md +0 -22
  341. data/docs/ManualTradeForm.md +0 -34
  342. data/docs/ManualTradeSymbol.md +0 -28
  343. data/docs/Model400FailedRequestResponse.md +0 -20
  344. data/docs/Model401FailedRequestResponse.md +0 -20
  345. data/docs/Model403FailedRequestResponse.md +0 -20
  346. data/docs/Model404FailedRequestResponse.md +0 -20
  347. data/docs/Model500UnexpectedExceptionResponse.md +0 -22
  348. data/docs/ModelAssetClass.md +0 -20
  349. data/docs/ModelAssetClassDetails.md +0 -20
  350. data/docs/ModelAssetClassTarget.md +0 -18
  351. data/docs/ModelPortfolio.md +0 -22
  352. data/docs/ModelPortfolioAssetClass.md +0 -20
  353. data/docs/ModelPortfolioDetails.md +0 -22
  354. data/docs/ModelPortfolioSecurity.md +0 -20
  355. data/docs/ModelType.md +0 -15
  356. data/docs/MonthlyDividends.md +0 -20
  357. data/docs/NetContributions.md +0 -22
  358. data/docs/NetDividend.md +0 -22
  359. data/docs/OptionChainInner.md +0 -26
  360. data/docs/OptionChainInnerChainPerRootInner.md +0 -22
  361. data/docs/OptionChainInnerChainPerRootInnerChainPerStrikePriceInner.md +0 -22
  362. data/docs/OptionLeg.md +0 -22
  363. data/docs/OptionLegAction.md +0 -15
  364. data/docs/OptionStrategy.md +0 -26
  365. data/docs/OptionStrategyLegsInner.md +0 -24
  366. data/docs/OptionType.md +0 -15
  367. data/docs/OptionsApi.md +0 -390
  368. data/docs/OptionsGetOptionStrategyRequest.md +0 -22
  369. data/docs/OptionsHoldings.md +0 -28
  370. data/docs/OptionsPlaceOptionStrategyRequest.md +0 -22
  371. data/docs/OptionsPosition.md +0 -26
  372. data/docs/OptionsPositionCurrency.md +0 -22
  373. data/docs/OptionsSymbol.md +0 -34
  374. data/docs/OrderType.md +0 -15
  375. data/docs/PartnerData.md +0 -40
  376. data/docs/PastValue.md +0 -22
  377. data/docs/PerformanceCustom.md +0 -54
  378. data/docs/PortfolioGroup.md +0 -20
  379. data/docs/PortfolioGroupInfo.md +0 -38
  380. data/docs/PortfolioGroupPosition.md +0 -22
  381. data/docs/PortfolioGroupSettings.md +0 -26
  382. data/docs/Position.md +0 -28
  383. data/docs/PositionSymbol.md +0 -28
  384. data/docs/RedirectTokenandPin.md +0 -20
  385. data/docs/ReferenceDataApi.md +0 -592
  386. data/docs/SecurityType.md +0 -24
  387. data/docs/SessionEvent.md +0 -30
  388. data/docs/SessionEventType.md +0 -15
  389. data/docs/SnapTradeAPIDisclaimerAcceptStatus.md +0 -20
  390. data/docs/SnapTradeHoldingsAccount.md +0 -32
  391. data/docs/SnapTradeHoldingsAccountAccountId.md +0 -34
  392. data/docs/SnapTradeHoldingsTotalValue.md +0 -20
  393. data/docs/SnapTradeLoginUserRequestBody.md +0 -28
  394. data/docs/SnapTradeRegisterUserRequestBody.md +0 -18
  395. data/docs/State.md +0 -15
  396. data/docs/Status.md +0 -22
  397. data/docs/StrategyImpact.md +0 -38
  398. data/docs/StrategyImpactLegsInner.md +0 -30
  399. data/docs/StrategyOrderPlace.md +0 -20
  400. data/docs/StrategyOrderPlaceOrdersInner.md +0 -102
  401. data/docs/StrategyOrderPlaceOrdersInnerLegsInner.md +0 -30
  402. data/docs/StrategyOrderRecord.md +0 -38
  403. data/docs/StrategyOrderRecordStatus.md +0 -15
  404. data/docs/StrategyQuotes.md +0 -28
  405. data/docs/StrategyQuotesGreek.md +0 -26
  406. data/docs/StrategyType.md +0 -15
  407. data/docs/SubPeriodReturnRate.md +0 -22
  408. data/docs/Symbol.md +0 -32
  409. data/docs/SymbolQuery.md +0 -18
  410. data/docs/SymbolsQuotesInner.md +0 -28
  411. data/docs/TargetAsset.md +0 -28
  412. data/docs/TimeInForceStrict.md +0 -15
  413. data/docs/Trade.md +0 -32
  414. data/docs/TradeAction.md +0 -15
  415. data/docs/TradeExecutionStatus.md +0 -34
  416. data/docs/TradeExecutionStatusAction.md +0 -15
  417. data/docs/TradeImpact.md +0 -26
  418. data/docs/TradingApi.md +0 -491
  419. data/docs/TradingCancelUserAccountOrderRequest.md +0 -18
  420. data/docs/TradingPlaceOCOOrderRequest.md +0 -20
  421. data/docs/TransactionsAndReportingApi.md +0 -183
  422. data/docs/TransactionsStatus.md +0 -20
  423. data/docs/Type.md +0 -15
  424. data/docs/USExchange.md +0 -34
  425. data/docs/UnderlyingSymbol.md +0 -32
  426. data/docs/UniversalActivity.md +0 -50
  427. data/docs/UniversalSymbol.md +0 -34
  428. data/docs/UserErrorLog.md +0 -28
  429. data/docs/UserIDandSecret.md +0 -20
  430. data/docs/UserSettings.md +0 -36
  431. data/docs/ValidatedTradeBody.md +0 -18
@@ -1,32 +0,0 @@
1
- # SnapTrade::SnapTradeHoldingsAccount
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **brokerage_authorization** | [**BrokerageAuthorization**](BrokerageAuthorization.md) | | [optional] |
9
- | **portfolio_group** | **String** | | [optional] |
10
- | **name** | **String** | | [optional] |
11
- | **number** | **String** | | [optional] |
12
- | **institution_name** | **String** | | [optional] |
13
- | **sync_status** | [**AccountSyncStatus**](AccountSyncStatus.md) | | [optional] |
14
- | **meta** | **Hash<String, Object>** | | [optional] |
15
-
16
- ## Example
17
-
18
- ```ruby
19
- require 'snaptrade'
20
-
21
- instance = SnapTrade::SnapTradeHoldingsAccount.new(
22
- id: 2bcd7cc3-e922-4976-bce1-9858296801c3,
23
- brokerage_authorization: null,
24
- portfolio_group: 2bcd7cc3-e922-4976-bce1-9858296801c3,
25
- name: Registered Retirement Savings Account,
26
- number: Q6542138443,
27
- institution_name: Alpaca,
28
- sync_status: null,
29
- meta: {"type":"Margin","status":"ACTIVE","institution_name":"Alpaca"}
30
- )
31
- ```
32
-
@@ -1,34 +0,0 @@
1
- # SnapTrade::SnapTradeHoldingsAccountAccountId
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **brokerage_authorization** | **String** | | [optional] |
9
- | **portfolio_group** | **String** | | [optional] |
10
- | **name** | **String** | | [optional] |
11
- | **number** | **String** | | [optional] |
12
- | **institution_name** | **String** | | [optional] |
13
- | **meta** | **Hash<String, Object>** | | [optional] |
14
- | **cash_restrictions** | [**Array<CashRestriction>**](CashRestriction.md) | | [optional] |
15
- | **created_date** | **String** | Time | [optional] |
16
-
17
- ## Example
18
-
19
- ```ruby
20
- require 'snaptrade'
21
-
22
- instance = SnapTrade::SnapTradeHoldingsAccountAccountId.new(
23
- id: 2bcd7cc3-e922-4976-bce1-9858296801c3,
24
- brokerage_authorization: 87b24961-b51e-4db8-9226-f198f6518a89,
25
- portfolio_group: 2bcd7cc3-e922-4976-bce1-9858296801c3,
26
- name: Registered Retirement Savings Account,
27
- number: Q6542138443,
28
- institution_name: Alpaca,
29
- meta: {"type":"Margin","status":"ACTIVE","institution_name":"Alpaca"},
30
- cash_restrictions: null,
31
- created_date: 2022-01-21T20:11:19.217Z
32
- )
33
- ```
34
-
@@ -1,20 +0,0 @@
1
- # SnapTrade::SnapTradeHoldingsTotalValue
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **value** | **Float** | | [optional] |
8
- | **currency** | **String** | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'snaptrade'
14
-
15
- instance = SnapTrade::SnapTradeHoldingsTotalValue.new(
16
- value: 32600.71,
17
- currency: USD
18
- )
19
- ```
20
-
@@ -1,28 +0,0 @@
1
- # SnapTrade::SnapTradeLoginUserRequestBody
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **broker** | **String** | Slug of the brokerage to connect the user to | [optional] |
8
- | **immediate_redirect** | **Boolean** | When set to True, user will be redirected back to the partner's site instead of the connection portal | [optional] |
9
- | **custom_redirect** | **String** | URL to redirect the user to after the user connects their brokerage account | [optional] |
10
- | **reconnect** | **String** | The UUID of the brokerage connection to be reconnected. This parameter should be left empty unless you are reconnecting a disabled connection. See ‘Reconnecting Accounts’ for more information. | [optional] |
11
- | **connection_type** | [**ConnectionType**](ConnectionType.md) | | [optional] |
12
- | **connection_portal_version** | [**ConnectionPortalVersion**](ConnectionPortalVersion.md) | | [optional] |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'snaptrade'
18
-
19
- instance = SnapTrade::SnapTradeLoginUserRequestBody.new(
20
- broker: ALPACA,
21
- immediate_redirect: true,
22
- custom_redirect: https://snaptrade.com,
23
- reconnect: 8b5f262d-4bb9-365d-888a-202bd3b15fa1,
24
- connection_type: null,
25
- connection_portal_version: null
26
- )
27
- ```
28
-
@@ -1,18 +0,0 @@
1
- # SnapTrade::SnapTradeRegisterUserRequestBody
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **user_id** | **String** | SnapTrade User ID. Provided by SnapTrade Partner. Can be any string, as long as it's unique to a user | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'snaptrade'
13
-
14
- instance = SnapTrade::SnapTradeRegisterUserRequestBody.new(
15
- user_id: snaptrade-user-123
16
- )
17
- ```
18
-
data/docs/State.md DELETED
@@ -1,15 +0,0 @@
1
- # SnapTrade::State
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'snaptrade'
12
-
13
- instance = SnapTrade::State.new()
14
- ```
15
-
data/docs/Status.md DELETED
@@ -1,22 +0,0 @@
1
- # SnapTrade::Status
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **version** | **Integer** | | [optional] |
8
- | **timestamp** | **String** | | [optional] |
9
- | **online** | **Boolean** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'snaptrade'
15
-
16
- instance = SnapTrade::Status.new(
17
- version: 151,
18
- timestamp: 2022-11-04T01:47:00.377Z,
19
- online: true
20
- )
21
- ```
22
-
@@ -1,38 +0,0 @@
1
- # SnapTrade::StrategyImpact
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **estimated_commissions** | **Float** | | [optional] |
8
- | **buying_power_effect** | **Float** | | [optional] |
9
- | **buying_power_result** | **Float** | | [optional] |
10
- | **maint_excess_effect** | **Float** | | [optional] |
11
- | **maint_excess_result** | **Float** | | [optional] |
12
- | **trade_value_calculation** | **String** | | [optional] |
13
- | **legs** | [**Array<StrategyImpactLegsInner>**](StrategyImpactLegsInner.md) | | [optional] |
14
- | **side** | **String** | | [optional] |
15
- | **effect** | **String** | | [optional] |
16
- | **price** | **Float** | | [optional] |
17
- | **strategy** | **String** | | [optional] |
18
-
19
- ## Example
20
-
21
- ```ruby
22
- require 'snaptrade'
23
-
24
- instance = SnapTrade::StrategyImpact.new(
25
- estimated_commissions: 11.95,
26
- buying_power_effect: -156.3435,
27
- buying_power_result: 8800.0882,
28
- maint_excess_effect: -46.95,
29
- maint_excess_result: 2642.669129,
30
- trade_value_calculation: 1 x 0.07 x 100 + 1 x 0.28 x 100 = DR 35.00 CAD,
31
- legs: null,
32
- side: Buy,
33
- effect: Debit,
34
- price: 0.35,
35
- strategy: Strangle
36
- )
37
- ```
38
-
@@ -1,30 +0,0 @@
1
- # SnapTrade::StrategyImpactLegsInner
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **leg_id** | **Integer** | | [optional] |
8
- | **symbol** | **String** | | [optional] |
9
- | **symbol_id** | **Integer** | | [optional] |
10
- | **leg_ratio_quantity** | **Integer** | | [optional] |
11
- | **side** | **String** | | [optional] |
12
- | **avg_exec_price** | **String** | | [optional] |
13
- | **last_exec_price** | **String** | | [optional] |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'snaptrade'
19
-
20
- instance = SnapTrade::StrategyImpactLegsInner.new(
21
- leg_id: 0,
22
- symbol: AC21Oct22C30.00.MX,
23
- symbol_id: 41790511,
24
- leg_ratio_quantity: 1,
25
- side: BTO,
26
- avg_exec_price: null,
27
- last_exec_price: null
28
- )
29
- ```
30
-
@@ -1,20 +0,0 @@
1
- # SnapTrade::StrategyOrderPlace
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **order_id** | **Integer** | | [optional] |
8
- | **orders** | [**Array<StrategyOrderPlaceOrdersInner>**](StrategyOrderPlaceOrdersInner.md) | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'snaptrade'
14
-
15
- instance = SnapTrade::StrategyOrderPlace.new(
16
- order_id: 1069605761,
17
- orders: null
18
- )
19
- ```
20
-
@@ -1,102 +0,0 @@
1
- # SnapTrade::StrategyOrderPlaceOrdersInner
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **Integer** | | [optional] |
8
- | **symbol** | **String** | | [optional] |
9
- | **symbol_id** | **Integer** | | [optional] |
10
- | **total_quantity** | **Integer** | | [optional] |
11
- | **open_quantity** | **Integer** | | [optional] |
12
- | **filled_quantity** | **Integer** | | [optional] |
13
- | **canceled_quantity** | **Integer** | | [optional] |
14
- | **side** | **String** | | [optional] |
15
- | **order_type** | **String** | | [optional] |
16
- | **limit_price** | **String** | | [optional] |
17
- | **stop_price** | **String** | | [optional] |
18
- | **is_all_or_none** | **Boolean** | | [optional] |
19
- | **is_anonymous** | **Boolean** | | [optional] |
20
- | **iceberg_quantity** | **String** | | [optional] |
21
- | **min_quantity** | **String** | | [optional] |
22
- | **avg_exec_price** | **Integer** | | [optional] |
23
- | **last_exec_price** | **String** | | [optional] |
24
- | **source** | **String** | | [optional] |
25
- | **time_in_force** | **String** | | [optional] |
26
- | **gtd_date** | **String** | | [optional] |
27
- | **state** | **String** | | [optional] |
28
- | **rejection_reason** | **String** | | [optional] |
29
- | **chain_id** | **Integer** | | [optional] |
30
- | **creation_time** | **String** | | [optional] |
31
- | **update_time** | **String** | | [optional] |
32
- | **notes** | **String** | | [optional] |
33
- | **primary_route** | **String** | | [optional] |
34
- | **secondary_route** | **String** | | [optional] |
35
- | **order_route** | **String** | | [optional] |
36
- | **venue_holding_order** | **String** | | [optional] |
37
- | **comission_charged** | **Integer** | | [optional] |
38
- | **exchange_order_id** | **String** | | [optional] |
39
- | **is_significant_share_holder** | **Boolean** | | [optional] |
40
- | **is_insider** | **Boolean** | | [optional] |
41
- | **is_limit_offset_in_dollar** | **Boolean** | | [optional] |
42
- | **user_id** | **Integer** | | [optional] |
43
- | **placement_commission** | **String** | | [optional] |
44
- | **legs** | [**Array<StrategyOrderPlaceOrdersInnerLegsInner>**](StrategyOrderPlaceOrdersInnerLegsInner.md) | | [optional] |
45
- | **strategy_type** | **String** | | [optional] |
46
- | **trigger_stop_price** | **String** | | [optional] |
47
- | **order_group_id** | **Integer** | | [optional] |
48
- | **order_class** | **String** | | [optional] |
49
- | **is_cross_zero** | **Boolean** | | [optional] |
50
-
51
- ## Example
52
-
53
- ```ruby
54
- require 'snaptrade'
55
-
56
- instance = SnapTrade::StrategyOrderPlaceOrdersInner.new(
57
- id: 1069605761,
58
- symbol: AC.TO,
59
- symbol_id: 7960447,
60
- total_quantity: 1,
61
- open_quantity: 1,
62
- filled_quantity: 0,
63
- canceled_quantity: 0,
64
- side: Buy,
65
- order_type: Market,
66
- limit_price: null,
67
- stop_price: null,
68
- is_all_or_none: null,
69
- is_anonymous: null,
70
- iceberg_quantity: null,
71
- min_quantity: null,
72
- avg_exec_price: 0,
73
- last_exec_price: null,
74
- source: TradingAPI,
75
- time_in_force: Day,
76
- gtd_date: null,
77
- state: Pending,
78
- rejection_reason: None,
79
- chain_id: 1069605761,
80
- creation_time: 2022-07-19T19:53:47.915Z,
81
- update_time: 2022-07-19T19:53:47.939Z,
82
- notes: None,
83
- primary_route: AUTO,
84
- secondary_route: AUTO,
85
- order_route: MX,
86
- venue_holding_order: None,
87
- comission_charged: 0,
88
- exchange_order_id: None,
89
- is_significant_share_holder: null,
90
- is_insider: null,
91
- is_limit_offset_in_dollar: null,
92
- user_id: 514603,
93
- placement_commission: null,
94
- legs: null,
95
- strategy_type: Strangle,
96
- trigger_stop_price: null,
97
- order_group_id: 0,
98
- order_class: null,
99
- is_cross_zero: null
100
- )
101
- ```
102
-
@@ -1,30 +0,0 @@
1
- # SnapTrade::StrategyOrderPlaceOrdersInnerLegsInner
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **leg_id** | **Integer** | | [optional] |
8
- | **symbol** | **String** | | [optional] |
9
- | **symbol_id** | **Integer** | | [optional] |
10
- | **leg_ratio_quantity** | **Integer** | | [optional] |
11
- | **side** | **String** | | [optional] |
12
- | **avg_exec_price** | **Integer** | | [optional] |
13
- | **last_exec_price** | **String** | | [optional] |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'snaptrade'
19
-
20
- instance = SnapTrade::StrategyOrderPlaceOrdersInnerLegsInner.new(
21
- leg_id: 0,
22
- symbol: AC21Oct22C30.00.MX,
23
- symbol_id: 41790511,
24
- leg_ratio_quantity: 1,
25
- side: BTO,
26
- avg_exec_price: 0,
27
- last_exec_price: null
28
- )
29
- ```
30
-
@@ -1,38 +0,0 @@
1
- # SnapTrade::StrategyOrderRecord
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **strategy** | [**OptionStrategy**](OptionStrategy.md) | | [optional] |
8
- | **status** | [**StrategyOrderRecordStatus**](StrategyOrderRecordStatus.md) | | [optional] |
9
- | **filled_quantity** | **Float** | | [optional] |
10
- | **open_quantity** | **Float** | | [optional] |
11
- | **closed_quantity** | **Float** | | [optional] |
12
- | **order_type** | [**OrderType**](OrderType.md) | | [optional] |
13
- | **time_in_force** | **String** | Trade time in force examples: * FOK - Fill Or Kill * Day - Day * GTC - Good Til Canceled * GTD - Good Til Date | [optional] |
14
- | **limit_price** | **Float** | Trade Price if limit or stop limit order | [optional] |
15
- | **execution_price** | **Float** | Trade Price if limit or stop limit order | [optional] |
16
- | **time_placed** | **String** | Time | [optional] |
17
- | **time_updated** | **String** | Time | [optional] |
18
-
19
- ## Example
20
-
21
- ```ruby
22
- require 'snaptrade'
23
-
24
- instance = SnapTrade::StrategyOrderRecord.new(
25
- strategy: null,
26
- status: null,
27
- filled_quantity: 10,
28
- open_quantity: 10,
29
- closed_quantity: 10,
30
- order_type: null,
31
- time_in_force: null,
32
- limit_price: 31.33,
33
- execution_price: 31.33,
34
- time_placed: 2022-01-21T20:11:19.217Z,
35
- time_updated: 2022-01-21T20:11:19.217Z
36
- )
37
- ```
38
-
@@ -1,15 +0,0 @@
1
- # SnapTrade::StrategyOrderRecordStatus
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'snaptrade'
12
-
13
- instance = SnapTrade::StrategyOrderRecordStatus.new()
14
- ```
15
-
@@ -1,28 +0,0 @@
1
- # SnapTrade::StrategyQuotes
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **strategy** | [**OptionStrategy**](OptionStrategy.md) | | [optional] |
8
- | **open_price** | **Float** | Trade Price if limit or stop limit order | [optional] |
9
- | **bid_price** | **Float** | Trade Price if limit or stop limit order | [optional] |
10
- | **ask_price** | **Float** | Trade Price if limit or stop limit order | [optional] |
11
- | **volatility** | **Float** | | [optional] |
12
- | **greek** | [**StrategyQuotesGreek**](StrategyQuotesGreek.md) | | [optional] |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'snaptrade'
18
-
19
- instance = SnapTrade::StrategyQuotes.new(
20
- strategy: null,
21
- open_price: 31.33,
22
- bid_price: 31.33,
23
- ask_price: 31.33,
24
- volatility: 0.141,
25
- greek: null
26
- )
27
- ```
28
-
@@ -1,26 +0,0 @@
1
- # SnapTrade::StrategyQuotesGreek
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **delta** | **Float** | | [optional] |
8
- | **gamma** | **Float** | | [optional] |
9
- | **theta** | **Float** | | [optional] |
10
- | **vega** | **Float** | | [optional] |
11
- | **rho** | **Float** | | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'snaptrade'
17
-
18
- instance = SnapTrade::StrategyQuotesGreek.new(
19
- delta: 0.1,
20
- gamma: 0.1,
21
- theta: 0.1,
22
- vega: 0.1,
23
- rho: 0.1
24
- )
25
- ```
26
-
data/docs/StrategyType.md DELETED
@@ -1,15 +0,0 @@
1
- # SnapTrade::StrategyType
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'snaptrade'
12
-
13
- instance = SnapTrade::StrategyType.new()
14
- ```
15
-
@@ -1,22 +0,0 @@
1
- # SnapTrade::SubPeriodReturnRate
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **period_start** | **Date** | Date used to specify timeframe for a reporting call (in YYYY-MM-DD format) | [optional] |
8
- | **period_end** | **Date** | Date used to specify timeframe for a reporting call (in YYYY-MM-DD format) | [optional] |
9
- | **rate_of_return** | **Float** | The return rate for the given period | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'snaptrade'
15
-
16
- instance = SnapTrade::SubPeriodReturnRate.new(
17
- period_start: Mon Jan 24 00:00:00 UTC 2022,
18
- period_end: Mon Jan 24 00:00:00 UTC 2022,
19
- rate_of_return: 0.012312367452
20
- )
21
- ```
22
-
data/docs/Symbol.md DELETED
@@ -1,32 +0,0 @@
1
- # SnapTrade::Symbol
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **symbol** | **String** | | [optional] |
9
- | **raw_symbol** | **String** | | [optional] |
10
- | **name** | **String** | | [optional] |
11
- | **currency** | [**Currency**](Currency.md) | | [optional] |
12
- | **exchange** | [**Exchange**](Exchange.md) | | [optional] |
13
- | **type** | [**SecurityType**](SecurityType.md) | | [optional] |
14
- | **figi_code** | **String** | | [optional] |
15
-
16
- ## Example
17
-
18
- ```ruby
19
- require 'snaptrade'
20
-
21
- instance = SnapTrade::Symbol.new(
22
- id: 2bcd7cc3-e922-4976-bce1-9858296801c3,
23
- symbol: VAB.TO,
24
- raw_symbol: VAB,
25
- name: Vanguard Canadian Aggregate Bond Index ETF,
26
- currency: null,
27
- exchange: null,
28
- type: null,
29
- figi_code: BBG000B9XRY4
30
- )
31
- ```
32
-
data/docs/SymbolQuery.md DELETED
@@ -1,18 +0,0 @@
1
- # SnapTrade::SymbolQuery
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **substring** | **String** | | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'snaptrade'
13
-
14
- instance = SnapTrade::SymbolQuery.new(
15
- substring: apple
16
- )
17
- ```
18
-
@@ -1,28 +0,0 @@
1
- # SnapTrade::SymbolsQuotesInner
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **symbol** | [**UniversalSymbol**](UniversalSymbol.md) | | [optional] |
8
- | **bid_price** | **Float** | | [optional] |
9
- | **ask_price** | **Float** | | [optional] |
10
- | **last_trade_price** | **Float** | | [optional] |
11
- | **bid_size** | **Float** | | [optional] |
12
- | **ask_size** | **Float** | | [optional] |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'snaptrade'
18
-
19
- instance = SnapTrade::SymbolsQuotesInner.new(
20
- symbol: null,
21
- bid_price: 8.43,
22
- ask_price: 8.43,
23
- last_trade_price: 8.74,
24
- bid_size: 260,
25
- ask_size: 344
26
- )
27
- ```
28
-
data/docs/TargetAsset.md DELETED
@@ -1,28 +0,0 @@
1
- # SnapTrade::TargetAsset
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | | [optional] |
8
- | **symbol** | [**UniversalSymbol**](UniversalSymbol.md) | | [optional] |
9
- | **percent** | **Float** | | [optional] |
10
- | **is_supported** | **Boolean** | | [optional] |
11
- | **is_excluded** | **Boolean** | | [optional] |
12
- | **meta** | **Hash<String, Object>** | | [optional] |
13
-
14
- ## Example
15
-
16
- ```ruby
17
- require 'snaptrade'
18
-
19
- instance = SnapTrade::TargetAsset.new(
20
- id: 2bcd7cc3-e922-4976-bce1-9858296801c3,
21
- symbol: null,
22
- percent: 90,
23
- is_supported: true,
24
- is_excluded: true,
25
- meta: null
26
- )
27
- ```
28
-
@@ -1,15 +0,0 @@
1
- # SnapTrade::TimeInForceStrict
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'snaptrade'
12
-
13
- instance = SnapTrade::TimeInForceStrict.new()
14
- ```
15
-