snaptrade 1.14.0 → 1.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +10 -10
- data/Gemfile.lock +13 -11
- data/README.md +221 -221
- data/docs/APIStatusApi.md +57 -57
- data/docs/AccountInformationApi.md +535 -535
- data/docs/AuthenticationApi.md +314 -314
- data/docs/Brokerage.md +1 -1
- data/docs/ConnectionsApi.md +265 -265
- data/docs/ErrorLogsApi.md +68 -68
- data/docs/LoginRedirectURI.md +1 -1
- data/docs/ModelPortfolio.md +1 -1
- data/docs/OptionsApi.md +378 -378
- data/docs/OptionsPosition.md +1 -3
- data/docs/Position.md +1 -3
- data/docs/ReferenceDataApi.md +595 -595
- data/docs/SnapTradeLoginUserRequestBody.md +1 -1
- data/docs/TradingApi.md +478 -478
- data/docs/TransactionsAndReportingApi.md +183 -183
- data/docs/UniversalActivity.md +1 -1
- data/docs/UserSettings.md +1 -1
- data/lib/snaptrade/api/account_information_api.rb +801 -801
- data/lib/snaptrade/api/api_status_api.rb +98 -98
- data/lib/snaptrade/api/authentication_api.rb +481 -481
- data/lib/snaptrade/api/connections_api.rb +398 -398
- data/lib/snaptrade/api/error_logs_api.rb +112 -112
- data/lib/snaptrade/api/options_api.rb +591 -591
- data/lib/snaptrade/api/reference_data_api.rb +894 -894
- data/lib/snaptrade/api/trading_api.rb +741 -741
- data/lib/snaptrade/api/transactions_and_reporting_api.rb +283 -283
- data/lib/snaptrade/api_client.rb +427 -427
- data/lib/snaptrade/api_client_custom.rb +32 -32
- data/lib/snaptrade/api_error.rb +6 -6
- data/lib/snaptrade/configuration.rb +334 -334
- data/lib/snaptrade/models/account.rb +6 -6
- data/lib/snaptrade/models/account_holdings.rb +6 -6
- data/lib/snaptrade/models/account_holdings_account.rb +6 -6
- data/lib/snaptrade/models/account_order_record.rb +6 -6
- data/lib/snaptrade/models/account_order_record_status.rb +6 -6
- data/lib/snaptrade/models/account_simple.rb +6 -6
- data/lib/snaptrade/models/account_sync_status.rb +6 -6
- data/lib/snaptrade/models/action.rb +6 -6
- data/lib/snaptrade/models/auth_type.rb +6 -6
- data/lib/snaptrade/models/authentication_login_snap_trade_user200_response.rb +6 -6
- data/lib/snaptrade/models/balance.rb +6 -6
- data/lib/snaptrade/models/brokerage.rb +6 -6
- data/lib/snaptrade/models/brokerage_authorization.rb +6 -6
- data/lib/snaptrade/models/brokerage_authorization_type.rb +6 -6
- data/lib/snaptrade/models/brokerage_authorization_type_read_only.rb +6 -6
- data/lib/snaptrade/models/brokerage_authorization_type_read_only_brokerage.rb +6 -6
- data/lib/snaptrade/models/brokerage_authorization_type_read_only_type.rb +6 -6
- data/lib/snaptrade/models/brokerage_authorization_type_type.rb +6 -6
- data/lib/snaptrade/models/brokerage_symbol.rb +6 -6
- data/lib/snaptrade/models/brokerage_symbol_option_symbol.rb +6 -6
- data/lib/snaptrade/models/brokerage_symbol_symbol.rb +6 -6
- data/lib/snaptrade/models/brokerage_type.rb +6 -6
- data/lib/snaptrade/models/calculated_trade.rb +6 -6
- data/lib/snaptrade/models/cash_restriction.rb +6 -6
- data/lib/snaptrade/models/connection_type.rb +6 -6
- data/lib/snaptrade/models/connections_session_events200_response_inner.rb +6 -6
- data/lib/snaptrade/models/currency.rb +6 -6
- data/lib/snaptrade/models/delete_user_response.rb +6 -6
- data/lib/snaptrade/models/dividend_at_date.rb +6 -6
- data/lib/snaptrade/models/encrypted_response.rb +6 -6
- data/lib/snaptrade/models/encrypted_response_encrypted_message_data.rb +6 -6
- data/lib/snaptrade/models/exchange.rb +6 -6
- data/lib/snaptrade/models/exchange_rate_pairs.rb +6 -6
- data/lib/snaptrade/models/excluded_asset.rb +6 -6
- data/lib/snaptrade/models/jwt.rb +6 -6
- data/lib/snaptrade/models/login_redirect_uri.rb +6 -6
- data/lib/snaptrade/models/manual_trade.rb +6 -6
- data/lib/snaptrade/models/manual_trade_and_impact.rb +6 -6
- data/lib/snaptrade/models/manual_trade_balance.rb +6 -6
- data/lib/snaptrade/models/manual_trade_form.rb +6 -6
- data/lib/snaptrade/models/manual_trade_symbol.rb +6 -6
- data/lib/snaptrade/models/model400_failed_request_response.rb +6 -6
- data/lib/snaptrade/models/model401_failed_request_response.rb +6 -6
- data/lib/snaptrade/models/model403_failed_request_response.rb +6 -6
- data/lib/snaptrade/models/model404_failed_request_response.rb +6 -6
- data/lib/snaptrade/models/model_asset_class.rb +6 -6
- data/lib/snaptrade/models/model_asset_class_details.rb +6 -6
- data/lib/snaptrade/models/model_asset_class_target.rb +6 -6
- data/lib/snaptrade/models/model_portfolio.rb +6 -6
- data/lib/snaptrade/models/model_portfolio_asset_class.rb +6 -6
- data/lib/snaptrade/models/model_portfolio_details.rb +6 -6
- data/lib/snaptrade/models/model_portfolio_security.rb +6 -6
- data/lib/snaptrade/models/model_type.rb +6 -6
- data/lib/snaptrade/models/monthly_dividends.rb +6 -6
- data/lib/snaptrade/models/net_contributions.rb +6 -6
- data/lib/snaptrade/models/net_dividend.rb +6 -6
- data/lib/snaptrade/models/option_chain_inner.rb +6 -6
- data/lib/snaptrade/models/option_chain_inner_chain_per_root_inner.rb +6 -6
- data/lib/snaptrade/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner.rb +6 -6
- data/lib/snaptrade/models/option_leg.rb +6 -6
- data/lib/snaptrade/models/option_leg_action.rb +6 -6
- data/lib/snaptrade/models/option_strategy.rb +6 -6
- data/lib/snaptrade/models/option_strategy_legs_inner.rb +6 -6
- data/lib/snaptrade/models/options_get_option_strategy_request.rb +6 -6
- data/lib/snaptrade/models/options_holdings.rb +6 -6
- data/lib/snaptrade/models/options_place_option_strategy_request.rb +6 -6
- data/lib/snaptrade/models/options_position.rb +11 -22
- data/lib/snaptrade/models/options_position_currency.rb +6 -6
- data/lib/snaptrade/models/options_symbol.rb +6 -6
- data/lib/snaptrade/models/order_strategy_execute_body_order_type.rb +6 -6
- data/lib/snaptrade/models/order_strategy_execute_body_time_in_force.rb +6 -6
- data/lib/snaptrade/models/order_type.rb +6 -6
- data/lib/snaptrade/models/partner_data.rb +6 -6
- data/lib/snaptrade/models/past_value.rb +6 -6
- data/lib/snaptrade/models/performance_custom.rb +6 -6
- data/lib/snaptrade/models/portfolio_group.rb +6 -6
- data/lib/snaptrade/models/portfolio_group_info.rb +6 -6
- data/lib/snaptrade/models/portfolio_group_position.rb +6 -6
- data/lib/snaptrade/models/portfolio_group_settings.rb +6 -6
- data/lib/snaptrade/models/position.rb +11 -22
- data/lib/snaptrade/models/position_symbol.rb +6 -6
- data/lib/snaptrade/models/redirect_tokenand_pin.rb +6 -6
- data/lib/snaptrade/models/security_type.rb +6 -6
- data/lib/snaptrade/models/session_event.rb +6 -6
- data/lib/snaptrade/models/session_event_type.rb +6 -6
- data/lib/snaptrade/models/snap_trade_api_disclaimer_accept_status.rb +6 -6
- data/lib/snaptrade/models/snap_trade_holdings_account.rb +6 -6
- data/lib/snaptrade/models/snap_trade_holdings_account_account_id.rb +6 -6
- data/lib/snaptrade/models/snap_trade_holdings_total_value.rb +6 -6
- data/lib/snaptrade/models/snap_trade_login_user_request_body.rb +6 -6
- data/lib/snaptrade/models/snap_trade_register_user_request_body.rb +6 -6
- data/lib/snaptrade/models/state.rb +6 -6
- data/lib/snaptrade/models/status.rb +6 -6
- data/lib/snaptrade/models/strategy_impact.rb +6 -6
- data/lib/snaptrade/models/strategy_impact_legs_inner.rb +6 -6
- data/lib/snaptrade/models/strategy_order_place.rb +6 -6
- data/lib/snaptrade/models/strategy_order_place_orders_inner.rb +6 -6
- data/lib/snaptrade/models/strategy_order_place_orders_inner_legs_inner.rb +6 -6
- data/lib/snaptrade/models/strategy_order_record.rb +6 -6
- data/lib/snaptrade/models/strategy_order_record_order_type.rb +6 -6
- data/lib/snaptrade/models/strategy_order_record_status.rb +6 -6
- data/lib/snaptrade/models/strategy_order_record_time_in_force.rb +6 -6
- data/lib/snaptrade/models/strategy_quotes.rb +6 -6
- data/lib/snaptrade/models/strategy_quotes_greek.rb +6 -6
- data/lib/snaptrade/models/strategy_type.rb +6 -6
- data/lib/snaptrade/models/sub_period_return_rate.rb +6 -6
- data/lib/snaptrade/models/symbol.rb +6 -6
- data/lib/snaptrade/models/symbol_query.rb +6 -6
- data/lib/snaptrade/models/symbols_quotes_inner.rb +6 -6
- data/lib/snaptrade/models/target_asset.rb +6 -6
- data/lib/snaptrade/models/time_in_force.rb +6 -6
- data/lib/snaptrade/models/trade.rb +6 -6
- data/lib/snaptrade/models/trade_action.rb +6 -6
- data/lib/snaptrade/models/trade_execution_status.rb +6 -6
- data/lib/snaptrade/models/trade_execution_status_action.rb +6 -6
- data/lib/snaptrade/models/trade_impact.rb +6 -6
- data/lib/snaptrade/models/trading_cancel_user_account_order_request.rb +6 -6
- data/lib/snaptrade/models/trading_place_oco_order_request.rb +6 -6
- data/lib/snaptrade/models/transactions_status.rb +6 -6
- data/lib/snaptrade/models/type.rb +6 -6
- data/lib/snaptrade/models/underlying_symbol.rb +6 -6
- data/lib/snaptrade/models/universal_activity.rb +6 -6
- data/lib/snaptrade/models/universal_symbol.rb +6 -6
- data/lib/snaptrade/models/universal_symbol_ticker.rb +6 -6
- data/lib/snaptrade/models/us_exchange.rb +6 -6
- data/lib/snaptrade/models/user_error_log.rb +6 -6
- data/lib/snaptrade/models/user_i_dand_secret.rb +6 -6
- data/lib/snaptrade/models/user_settings.rb +7 -7
- data/lib/snaptrade/version.rb +13 -13
- data/lib/snaptrade.rb +214 -214
- data/snaptrade.gemspec +41 -41
- data/spec/api/account_information_api_spec.rb +135 -135
- data/spec/api/api_status_api_spec.rb +42 -42
- data/spec/api/authentication_api_spec.rb +88 -88
- data/spec/api/connections_api_spec.rb +82 -82
- data/spec/api/error_logs_api_spec.rb +43 -43
- data/spec/api/options_api_spec.rb +101 -101
- data/spec/api/reference_data_api_spec.rb +150 -150
- data/spec/api/trading_api_spec.rb +112 -112
- data/spec/api/transactions_and_reporting_api_spec.rb +67 -67
- data/spec/api_client_spec.rb +193 -193
- data/spec/configuration_spec.rb +6 -6
- data/spec/getting_started_spec.rb +108 -108
- data/spec/models/account_holdings_account_spec.rb +54 -54
- data/spec/models/account_holdings_spec.rb +48 -48
- data/spec/models/account_order_record_spec.rb +132 -132
- data/spec/models/account_order_record_status_spec.rb +24 -24
- data/spec/models/account_simple_spec.rb +48 -48
- data/spec/models/account_spec.rb +84 -84
- data/spec/models/account_sync_status_spec.rb +30 -30
- data/spec/models/action_spec.rb +24 -24
- data/spec/models/auth_type_spec.rb +24 -24
- data/spec/models/authentication_login_snap_trade_user200_response_spec.rb +27 -27
- data/spec/models/balance_spec.rb +36 -36
- data/spec/models/brokerage_authorization_spec.rb +78 -78
- data/spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb +42 -42
- data/spec/models/brokerage_authorization_type_read_only_spec.rb +48 -48
- data/spec/models/brokerage_authorization_type_read_only_type_spec.rb +24 -24
- data/spec/models/brokerage_authorization_type_spec.rb +30 -30
- data/spec/models/brokerage_authorization_type_type_spec.rb +24 -24
- data/spec/models/brokerage_spec.rb +132 -132
- data/spec/models/brokerage_symbol_option_symbol_spec.rb +72 -72
- data/spec/models/brokerage_symbol_spec.rb +60 -60
- data/spec/models/brokerage_symbol_symbol_spec.rb +72 -72
- data/spec/models/brokerage_type_spec.rb +36 -36
- data/spec/models/calculated_trade_spec.rb +36 -36
- data/spec/models/cash_restriction_spec.rb +54 -54
- data/spec/models/connection_type_spec.rb +24 -24
- data/spec/models/connections_session_events200_response_inner_spec.rb +66 -66
- data/spec/models/currency_spec.rb +42 -42
- data/spec/models/delete_user_response_spec.rb +36 -36
- data/spec/models/dividend_at_date_spec.rb +42 -42
- data/spec/models/encrypted_response_encrypted_message_data_spec.rb +42 -42
- data/spec/models/encrypted_response_spec.rb +36 -36
- data/spec/models/exchange_rate_pairs_spec.rb +42 -42
- data/spec/models/exchange_spec.rb +72 -72
- data/spec/models/excluded_asset_spec.rb +30 -30
- data/spec/models/jwt_spec.rb +30 -30
- data/spec/models/login_redirect_uri_spec.rb +36 -36
- data/spec/models/manual_trade_and_impact_spec.rb +42 -42
- data/spec/models/manual_trade_balance_spec.rb +42 -42
- data/spec/models/manual_trade_form_spec.rb +72 -72
- data/spec/models/manual_trade_spec.rb +72 -72
- data/spec/models/manual_trade_symbol_spec.rb +60 -60
- data/spec/models/model400_failed_request_response_spec.rb +36 -36
- data/spec/models/model401_failed_request_response_spec.rb +36 -36
- data/spec/models/model403_failed_request_response_spec.rb +36 -36
- data/spec/models/model404_failed_request_response_spec.rb +36 -36
- data/spec/models/model_asset_class_details_spec.rb +36 -36
- data/spec/models/model_asset_class_spec.rb +36 -36
- data/spec/models/model_asset_class_target_spec.rb +30 -30
- data/spec/models/model_portfolio_asset_class_spec.rb +36 -36
- data/spec/models/model_portfolio_details_spec.rb +42 -42
- data/spec/models/model_portfolio_security_spec.rb +36 -36
- data/spec/models/model_portfolio_spec.rb +42 -42
- data/spec/models/model_type_spec.rb +24 -24
- data/spec/models/monthly_dividends_spec.rb +36 -36
- data/spec/models/net_contributions_spec.rb +42 -42
- data/spec/models/net_dividend_spec.rb +42 -42
- data/spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb +42 -42
- data/spec/models/option_chain_inner_chain_per_root_inner_spec.rb +42 -42
- data/spec/models/option_chain_inner_spec.rb +54 -54
- data/spec/models/option_leg_action_spec.rb +24 -24
- data/spec/models/option_leg_spec.rb +42 -42
- data/spec/models/option_strategy_legs_inner_spec.rb +48 -48
- data/spec/models/option_strategy_spec.rb +54 -54
- data/spec/models/options_get_option_strategy_request_spec.rb +42 -42
- data/spec/models/options_holdings_spec.rb +60 -60
- data/spec/models/options_place_option_strategy_request_spec.rb +42 -42
- data/spec/models/options_position_currency_spec.rb +42 -42
- data/spec/models/options_position_spec.rb +66 -72
- data/spec/models/options_symbol_spec.rb +72 -72
- data/spec/models/order_strategy_execute_body_order_type_spec.rb +24 -24
- data/spec/models/order_strategy_execute_body_time_in_force_spec.rb +24 -24
- data/spec/models/order_type_spec.rb +24 -24
- data/spec/models/partner_data_spec.rb +96 -96
- data/spec/models/past_value_spec.rb +42 -42
- data/spec/models/performance_custom_spec.rb +138 -138
- data/spec/models/portfolio_group_info_spec.rb +90 -90
- data/spec/models/portfolio_group_position_spec.rb +42 -42
- data/spec/models/portfolio_group_settings_spec.rb +54 -54
- data/spec/models/portfolio_group_spec.rb +36 -36
- data/spec/models/position_spec.rb +60 -66
- data/spec/models/position_symbol_spec.rb +60 -60
- data/spec/models/redirect_tokenand_pin_spec.rb +36 -36
- data/spec/models/security_type_spec.rb +48 -48
- data/spec/models/session_event_spec.rb +66 -66
- data/spec/models/session_event_type_spec.rb +24 -24
- data/spec/models/snap_trade_api_disclaimer_accept_status_spec.rb +36 -36
- data/spec/models/snap_trade_holdings_account_account_id_spec.rb +78 -78
- data/spec/models/snap_trade_holdings_account_spec.rb +72 -72
- data/spec/models/snap_trade_holdings_total_value_spec.rb +36 -36
- data/spec/models/snap_trade_login_user_request_body_spec.rb +54 -54
- data/spec/models/snap_trade_register_user_request_body_spec.rb +36 -36
- data/spec/models/state_spec.rb +24 -24
- data/spec/models/status_spec.rb +42 -42
- data/spec/models/strategy_impact_legs_inner_spec.rb +66 -66
- data/spec/models/strategy_impact_spec.rb +90 -90
- data/spec/models/strategy_order_place_orders_inner_legs_inner_spec.rb +66 -66
- data/spec/models/strategy_order_place_orders_inner_spec.rb +282 -282
- data/spec/models/strategy_order_place_spec.rb +36 -36
- data/spec/models/strategy_order_record_order_type_spec.rb +24 -24
- data/spec/models/strategy_order_record_spec.rb +90 -90
- data/spec/models/strategy_order_record_status_spec.rb +24 -24
- data/spec/models/strategy_order_record_time_in_force_spec.rb +24 -24
- data/spec/models/strategy_quotes_greek_spec.rb +54 -54
- data/spec/models/strategy_quotes_spec.rb +60 -60
- data/spec/models/strategy_type_spec.rb +24 -24
- data/spec/models/sub_period_return_rate_spec.rb +42 -42
- data/spec/models/symbol_query_spec.rb +30 -30
- data/spec/models/symbol_spec.rb +66 -66
- data/spec/models/symbols_quotes_inner_spec.rb +60 -60
- data/spec/models/target_asset_spec.rb +60 -60
- data/spec/models/time_in_force_spec.rb +24 -24
- data/spec/models/trade_action_spec.rb +24 -24
- data/spec/models/trade_execution_status_action_spec.rb +24 -24
- data/spec/models/trade_execution_status_spec.rb +78 -78
- data/spec/models/trade_impact_spec.rb +54 -54
- data/spec/models/trade_spec.rb +72 -72
- data/spec/models/trading_cancel_user_account_order_request_spec.rb +30 -30
- data/spec/models/trading_place_oco_order_request_spec.rb +36 -36
- data/spec/models/transactions_status_spec.rb +36 -36
- data/spec/models/type_spec.rb +24 -24
- data/spec/models/underlying_symbol_spec.rb +66 -66
- data/spec/models/universal_activity_spec.rb +120 -120
- data/spec/models/universal_symbol_spec.rb +72 -72
- data/spec/models/universal_symbol_ticker_spec.rb +72 -72
- data/spec/models/us_exchange_spec.rb +78 -78
- data/spec/models/user_error_log_spec.rb +60 -60
- data/spec/models/user_i_dand_secret_spec.rb +36 -36
- data/spec/models/user_settings_spec.rb +84 -84
- data/spec/spec_helper.rb +6 -6
- metadata +116 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da42236eb82d73f7b28d78b69315aa52d97ae2cb2bb0b137c4ef5878784488bb
|
4
|
+
data.tar.gz: 29606406eb67388aa608c22d0f65ba4f93f8fb79f83f2f4148ccf221a5e55e52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0187dc42e67c6c2246fd73e814eaddfddda5b4311fa693f40fe8346b6c39052fac21b569e9d1f03a1b3a5e606e6aa4af2550079c5a3ea55c5f8691b85c9f8582'
|
7
|
+
data.tar.gz: ec44ddf25482afb65b422aa5095d6bdc4e0be6e3830faa9d0748615ed085113e9d77b019dc0331a47624a847a97d13ed6ac7d9b9ea82ca0be5dc1d7336f74101
|
data/Gemfile
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
gemspec
|
4
|
-
|
5
|
-
group :development, :test do
|
6
|
-
gem "rake", "~> 13.0.1"
|
7
|
-
gem "pry-byebug"
|
8
|
-
gem "rubocop", "~> 1.12.1"
|
9
|
-
gem "debug", "~> 1.8"
|
10
|
-
end
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gemspec
|
4
|
+
|
5
|
+
group :development, :test do
|
6
|
+
gem "rake", "~> 13.0.1"
|
7
|
+
gem "pry-byebug"
|
8
|
+
gem "rubocop", "~> 1.12.1"
|
9
|
+
gem "debug", "~> 1.8"
|
10
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
snaptrade (1.
|
4
|
+
snaptrade (1.15.0)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart (~> 1.0, >= 1.0.4)
|
7
7
|
|
@@ -22,23 +22,25 @@ GEM
|
|
22
22
|
multipart-post (~> 2)
|
23
23
|
faraday-net_http (3.0.2)
|
24
24
|
io-console (0.6.0)
|
25
|
-
irb (1.
|
26
|
-
reline (>= 0.3.
|
25
|
+
irb (1.7.3)
|
26
|
+
reline (>= 0.3.6)
|
27
27
|
method_source (1.0.0)
|
28
28
|
multipart-post (2.3.0)
|
29
29
|
parallel (1.23.0)
|
30
|
-
parser (3.2.2.
|
30
|
+
parser (3.2.2.3)
|
31
31
|
ast (~> 2.4.1)
|
32
|
+
racc
|
32
33
|
pry (0.14.2)
|
33
34
|
coderay (~> 1.1)
|
34
35
|
method_source (~> 1.0)
|
35
36
|
pry-byebug (3.10.1)
|
36
37
|
byebug (~> 11.0)
|
37
38
|
pry (>= 0.13, < 0.15)
|
39
|
+
racc (1.7.1)
|
38
40
|
rainbow (3.1.1)
|
39
41
|
rake (13.0.6)
|
40
|
-
regexp_parser (2.8.
|
41
|
-
reline (0.3.
|
42
|
+
regexp_parser (2.8.1)
|
43
|
+
reline (0.3.6)
|
42
44
|
io-console (~> 0.5)
|
43
45
|
rexml (3.2.5)
|
44
46
|
rspec (3.12.0)
|
@@ -50,10 +52,10 @@ GEM
|
|
50
52
|
rspec-expectations (3.12.3)
|
51
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
52
54
|
rspec-support (~> 3.12.0)
|
53
|
-
rspec-mocks (3.12.
|
55
|
+
rspec-mocks (3.12.6)
|
54
56
|
diff-lcs (>= 1.2.0, < 2.0)
|
55
57
|
rspec-support (~> 3.12.0)
|
56
|
-
rspec-support (3.12.
|
58
|
+
rspec-support (3.12.1)
|
57
59
|
rubocop (1.12.1)
|
58
60
|
parallel (~> 1.10)
|
59
61
|
parser (>= 3.0.0.0)
|
@@ -63,14 +65,14 @@ GEM
|
|
63
65
|
rubocop-ast (>= 1.2.0, < 2.0)
|
64
66
|
ruby-progressbar (~> 1.7)
|
65
67
|
unicode-display_width (>= 1.4.0, < 3.0)
|
66
|
-
rubocop-ast (1.
|
68
|
+
rubocop-ast (1.29.0)
|
67
69
|
parser (>= 3.2.1.0)
|
68
70
|
ruby-progressbar (1.13.0)
|
69
71
|
ruby2_keywords (0.0.5)
|
70
72
|
unicode-display_width (2.4.2)
|
71
73
|
|
72
74
|
PLATFORMS
|
73
|
-
|
75
|
+
x64-mingw-ucrt
|
74
76
|
|
75
77
|
DEPENDENCIES
|
76
78
|
debug (~> 1.8)
|
@@ -81,4 +83,4 @@ DEPENDENCIES
|
|
81
83
|
snaptrade!
|
82
84
|
|
83
85
|
BUNDLED WITH
|
84
|
-
2.
|
86
|
+
2.4.16
|
data/README.md
CHANGED
@@ -1,221 +1,221 @@
|
|
1
|
-
# snaptrade
|
2
|
-
|
3
|
-
Connect brokerage accounts to your app for live positions and trading
|
4
|
-
|
5
|
-
For more information, please visit [https://snaptrade.com/](https://snaptrade.com/)
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add to Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'snaptrade', '~> 1.
|
13
|
-
```
|
14
|
-
|
15
|
-
## Getting Started
|
16
|
-
|
17
|
-
```ruby
|
18
|
-
require 'snaptrade'
|
19
|
-
|
20
|
-
SnapTrade.client_id = "YOUR_CLIENT_ID"
|
21
|
-
SnapTrade.consumer_key = "YOUR_CONSUMER_KEY"
|
22
|
-
|
23
|
-
user_id = "John.doe@snaptrade.com"
|
24
|
-
user_secret = "USERSECRET123"
|
25
|
-
brokerage_authorizations = "917c8734-8470-4a3e-a18f-57c3f2ee6631"
|
26
|
-
|
27
|
-
begin
|
28
|
-
# List all accounts for the user, plus balances, positions, and orders for each account.
|
29
|
-
result = SnapTrade::AccountInformation.get_all_user_holdings(
|
30
|
-
user_id: user_id,
|
31
|
-
user_secret: user_secret,
|
32
|
-
brokerage_authorizations: brokerage_authorizations,
|
33
|
-
)
|
34
|
-
p result
|
35
|
-
rescue SnapTrade::ApiError => e
|
36
|
-
puts "Exception when calling SnapTrade::AccountInformation.get_all_user_holdings: #{e}"
|
37
|
-
end
|
38
|
-
```
|
39
|
-
|
40
|
-
## Documentation for API Endpoints
|
41
|
-
|
42
|
-
All URIs are relative to *https://api.snaptrade.com/api/v1*
|
43
|
-
|
44
|
-
Class | Method | HTTP request | Description
|
45
|
-
------------ | ------------- | ------------- | -------------
|
46
|
-
*SnapTrade::AccountInformationApi* | [**get_all_user_holdings**](docs/AccountInformationApi.md#get_all_user_holdings) | **GET** /holdings | List all accounts for the user, plus balances, positions, and orders for each account.
|
47
|
-
*SnapTrade::AccountInformationApi* | [**get_user_account_balance**](docs/AccountInformationApi.md#get_user_account_balance) | **GET** /accounts/{accountId}/balances | List account balances
|
48
|
-
*SnapTrade::AccountInformationApi* | [**get_user_account_details**](docs/AccountInformationApi.md#get_user_account_details) | **GET** /accounts/{accountId} | Return details of a specific investment account
|
49
|
-
*SnapTrade::AccountInformationApi* | [**get_user_account_orders**](docs/AccountInformationApi.md#get_user_account_orders) | **GET** /accounts/{accountId}/orders | Get
|
50
|
-
*SnapTrade::AccountInformationApi* | [**get_user_account_positions**](docs/AccountInformationApi.md#get_user_account_positions) | **GET** /accounts/{accountId}/positions | List account positions
|
51
|
-
*SnapTrade::AccountInformationApi* | [**get_user_holdings**](docs/AccountInformationApi.md#get_user_holdings) | **GET** /accounts/{accountId}/holdings | List balances, positions and orders for the specified account.
|
52
|
-
*SnapTrade::AccountInformationApi* | [**list_user_accounts**](docs/AccountInformationApi.md#list_user_accounts) | **GET** /accounts | List accounts
|
53
|
-
*SnapTrade::AccountInformationApi* | [**update_user_account**](docs/AccountInformationApi.md#update_user_account) | **PUT** /accounts/{accountId} | Update details of an investment account
|
54
|
-
*SnapTrade::APIStatusApi* | [**check**](docs/APIStatusApi.md#check) | **GET** / | Get API Status
|
55
|
-
*SnapTrade::AuthenticationApi* | [**delete_snap_trade_user**](docs/AuthenticationApi.md#delete_snap_trade_user) | **DELETE** /snapTrade/deleteUser | Delete SnapTrade user
|
56
|
-
*SnapTrade::AuthenticationApi* | [**get_user_jwt**](docs/AuthenticationApi.md#get_user_jwt) | **GET** /snapTrade/encryptedJWT | Generate encrypted JWT token
|
57
|
-
*SnapTrade::AuthenticationApi* | [**list_snap_trade_users**](docs/AuthenticationApi.md#list_snap_trade_users) | **GET** /snapTrade/listUsers | List SnapTrade users
|
58
|
-
*SnapTrade::AuthenticationApi* | [**login_snap_trade_user**](docs/AuthenticationApi.md#login_snap_trade_user) | **POST** /snapTrade/login | Login user & generate connection link
|
59
|
-
*SnapTrade::AuthenticationApi* | [**register_snap_trade_user**](docs/AuthenticationApi.md#register_snap_trade_user) | **POST** /snapTrade/registerUser | Create SnapTrade user
|
60
|
-
*SnapTrade::ConnectionsApi* | [**detail_brokerage_authorization**](docs/ConnectionsApi.md#detail_brokerage_authorization) | **GET** /authorizations/{authorizationId} | Get
|
61
|
-
*SnapTrade::ConnectionsApi* | [**list_brokerage_authorizations**](docs/ConnectionsApi.md#list_brokerage_authorizations) | **GET** /authorizations | List all brokerage authorizations for the user
|
62
|
-
*SnapTrade::ConnectionsApi* | [**remove_brokerage_authorization**](docs/ConnectionsApi.md#remove_brokerage_authorization) | **DELETE** /authorizations/{authorizationId} |
|
63
|
-
*SnapTrade::ConnectionsApi* | [**session_events**](docs/ConnectionsApi.md#session_events) | **GET** /sessionEvents | List all session events for the partner
|
64
|
-
*SnapTrade::ErrorLogsApi* | [**list_user_errors**](docs/ErrorLogsApi.md#list_user_errors) | **GET** /snapTrade/listUserErrors | Retrieve error logs on behalf of your SnapTrade users
|
65
|
-
*SnapTrade::OptionsApi* | [**get_option_strategy**](docs/OptionsApi.md#get_option_strategy) | **POST** /accounts/{accountId}/optionStrategy | Creates an option strategy object that will be used to place an option strategy order
|
66
|
-
*SnapTrade::OptionsApi* | [**get_options_chain**](docs/OptionsApi.md#get_options_chain) | **GET** /accounts/{accountId}/optionsChain | Get the options chain
|
67
|
-
*SnapTrade::OptionsApi* | [**get_options_strategy_quote**](docs/OptionsApi.md#get_options_strategy_quote) | **GET** /accounts/{accountId}/optionStrategy/{optionStrategyId} | Get latest market data of option strategy
|
68
|
-
*SnapTrade::OptionsApi* | [**list_option_holdings**](docs/OptionsApi.md#list_option_holdings) | **GET** /accounts/{accountId}/options | Get the options holdings in the account
|
69
|
-
*SnapTrade::OptionsApi* | [**place_option_strategy**](docs/OptionsApi.md#place_option_strategy) | **POST** /accounts/{accountId}/optionStrategy/{optionStrategyId}/execute | Place an option strategy order on the brokerage
|
70
|
-
*SnapTrade::ReferenceDataApi* | [**get_currency_exchange_rate_pair**](docs/ReferenceDataApi.md#get_currency_exchange_rate_pair) | **GET** /currencies/rates/{currencyPair} | Return the exchange rate of a currency pair
|
71
|
-
*SnapTrade::ReferenceDataApi* | [**get_partner_info**](docs/ReferenceDataApi.md#get_partner_info) | **GET** /snapTrade/partners | Get metadata related to Snaptrade partner
|
72
|
-
*SnapTrade::ReferenceDataApi* | [**get_security_types**](docs/ReferenceDataApi.md#get_security_types) | **GET** /securityTypes | List of all security types.
|
73
|
-
*SnapTrade::ReferenceDataApi* | [**get_stock_exchanges**](docs/ReferenceDataApi.md#get_stock_exchanges) | **GET** /exchanges | List exchanges
|
74
|
-
*SnapTrade::ReferenceDataApi* | [**get_symbols**](docs/ReferenceDataApi.md#get_symbols) | **POST** /symbols | Search for symbols
|
75
|
-
*SnapTrade::ReferenceDataApi* | [**get_symbols_by_ticker**](docs/ReferenceDataApi.md#get_symbols_by_ticker) | **GET** /symbols/{ticker} | Get details of a symbol by the ticker
|
76
|
-
*SnapTrade::ReferenceDataApi* | [**list_all_brokerage_authorization_type**](docs/ReferenceDataApi.md#list_all_brokerage_authorization_type) | **GET** /brokerageAuthorizationTypes | List of all brokerage authorization types
|
77
|
-
*SnapTrade::ReferenceDataApi* | [**list_all_brokerages**](docs/ReferenceDataApi.md#list_all_brokerages) | **GET** /brokerages | List brokerages
|
78
|
-
*SnapTrade::ReferenceDataApi* | [**list_all_currencies**](docs/ReferenceDataApi.md#list_all_currencies) | **GET** /currencies | List currencies
|
79
|
-
*SnapTrade::ReferenceDataApi* | [**list_all_currencies_rates**](docs/ReferenceDataApi.md#list_all_currencies_rates) | **GET** /currencies/rates | List currency exchange rates
|
80
|
-
*SnapTrade::ReferenceDataApi* | [**symbol_search_user_account**](docs/ReferenceDataApi.md#symbol_search_user_account) | **POST** /accounts/{accountId}/symbols | Search for symbols available in an account
|
81
|
-
*SnapTrade::TradingApi* | [**cancel_user_account_order**](docs/TradingApi.md#cancel_user_account_order) | **POST** /accounts/{accountId}/orders/cancel | Cancel open order in account
|
82
|
-
*SnapTrade::TradingApi* | [**get_order_impact**](docs/TradingApi.md#get_order_impact) | **POST** /trade/impact | Check impact of trades on account.
|
83
|
-
*SnapTrade::TradingApi* | [**get_user_account_quotes**](docs/TradingApi.md#get_user_account_quotes) | **GET** /accounts/{accountId}/quotes | Get symbol quotes
|
84
|
-
*SnapTrade::TradingApi* | [**place_force_order**](docs/TradingApi.md#place_force_order) | **POST** /trade/place | Place a trade with NO validation.
|
85
|
-
*SnapTrade::TradingApi* | [**place_oco_order**](docs/TradingApi.md#place_oco_order) | **POST** /trade/oco | Place a OCO (One Cancels Other) order
|
86
|
-
*SnapTrade::TradingApi* | [**place_order**](docs/TradingApi.md#place_order) | **POST** /trade/{tradeId} | Place order
|
87
|
-
*SnapTrade::TransactionsAndReportingApi* | [**get_activities**](docs/TransactionsAndReportingApi.md#get_activities) | **GET** /activities | Get transaction history for a user
|
88
|
-
*SnapTrade::TransactionsAndReportingApi* | [**get_reporting_custom_range**](docs/TransactionsAndReportingApi.md#get_reporting_custom_range) | **GET** /performance/custom | Get performance information for a specific timeframe
|
89
|
-
|
90
|
-
|
91
|
-
## Documentation for Models
|
92
|
-
|
93
|
-
- [SnapTrade::Account](docs/Account.md)
|
94
|
-
- [SnapTrade::AccountHoldings](docs/AccountHoldings.md)
|
95
|
-
- [SnapTrade::AccountHoldingsAccount](docs/AccountHoldingsAccount.md)
|
96
|
-
- [SnapTrade::AccountOrderRecord](docs/AccountOrderRecord.md)
|
97
|
-
- [SnapTrade::AccountOrderRecordStatus](docs/AccountOrderRecordStatus.md)
|
98
|
-
- [SnapTrade::AccountSimple](docs/AccountSimple.md)
|
99
|
-
- [SnapTrade::AccountSyncStatus](docs/AccountSyncStatus.md)
|
100
|
-
- [SnapTrade::Action](docs/Action.md)
|
101
|
-
- [SnapTrade::AuthType](docs/AuthType.md)
|
102
|
-
- [SnapTrade::AuthenticationLoginSnapTradeUser200Response](docs/AuthenticationLoginSnapTradeUser200Response.md)
|
103
|
-
- [SnapTrade::Balance](docs/Balance.md)
|
104
|
-
- [SnapTrade::Brokerage](docs/Brokerage.md)
|
105
|
-
- [SnapTrade::BrokerageAuthorization](docs/BrokerageAuthorization.md)
|
106
|
-
- [SnapTrade::BrokerageAuthorizationType](docs/BrokerageAuthorizationType.md)
|
107
|
-
- [SnapTrade::BrokerageAuthorizationTypeReadOnly](docs/BrokerageAuthorizationTypeReadOnly.md)
|
108
|
-
- [SnapTrade::BrokerageAuthorizationTypeReadOnlyBrokerage](docs/BrokerageAuthorizationTypeReadOnlyBrokerage.md)
|
109
|
-
- [SnapTrade::BrokerageAuthorizationTypeReadOnlyType](docs/BrokerageAuthorizationTypeReadOnlyType.md)
|
110
|
-
- [SnapTrade::BrokerageAuthorizationTypeType](docs/BrokerageAuthorizationTypeType.md)
|
111
|
-
- [SnapTrade::BrokerageSymbol](docs/BrokerageSymbol.md)
|
112
|
-
- [SnapTrade::BrokerageSymbolOptionSymbol](docs/BrokerageSymbolOptionSymbol.md)
|
113
|
-
- [SnapTrade::BrokerageSymbolSymbol](docs/BrokerageSymbolSymbol.md)
|
114
|
-
- [SnapTrade::BrokerageType](docs/BrokerageType.md)
|
115
|
-
- [SnapTrade::CalculatedTrade](docs/CalculatedTrade.md)
|
116
|
-
- [SnapTrade::CashRestriction](docs/CashRestriction.md)
|
117
|
-
- [SnapTrade::ConnectionType](docs/ConnectionType.md)
|
118
|
-
- [SnapTrade::ConnectionsSessionEvents200ResponseInner](docs/ConnectionsSessionEvents200ResponseInner.md)
|
119
|
-
- [SnapTrade::Currency](docs/Currency.md)
|
120
|
-
- [SnapTrade::DeleteUserResponse](docs/DeleteUserResponse.md)
|
121
|
-
- [SnapTrade::DividendAtDate](docs/DividendAtDate.md)
|
122
|
-
- [SnapTrade::EncryptedResponse](docs/EncryptedResponse.md)
|
123
|
-
- [SnapTrade::EncryptedResponseEncryptedMessageData](docs/EncryptedResponseEncryptedMessageData.md)
|
124
|
-
- [SnapTrade::Exchange](docs/Exchange.md)
|
125
|
-
- [SnapTrade::ExchangeRatePairs](docs/ExchangeRatePairs.md)
|
126
|
-
- [SnapTrade::ExcludedAsset](docs/ExcludedAsset.md)
|
127
|
-
- [SnapTrade::JWT](docs/JWT.md)
|
128
|
-
- [SnapTrade::LoginRedirectURI](docs/LoginRedirectURI.md)
|
129
|
-
- [SnapTrade::ManualTrade](docs/ManualTrade.md)
|
130
|
-
- [SnapTrade::ManualTradeAndImpact](docs/ManualTradeAndImpact.md)
|
131
|
-
- [SnapTrade::ManualTradeBalance](docs/ManualTradeBalance.md)
|
132
|
-
- [SnapTrade::ManualTradeForm](docs/ManualTradeForm.md)
|
133
|
-
- [SnapTrade::ManualTradeSymbol](docs/ManualTradeSymbol.md)
|
134
|
-
- [SnapTrade::Model400FailedRequestResponse](docs/Model400FailedRequestResponse.md)
|
135
|
-
- [SnapTrade::Model401FailedRequestResponse](docs/Model401FailedRequestResponse.md)
|
136
|
-
- [SnapTrade::Model403FailedRequestResponse](docs/Model403FailedRequestResponse.md)
|
137
|
-
- [SnapTrade::Model404FailedRequestResponse](docs/Model404FailedRequestResponse.md)
|
138
|
-
- [SnapTrade::ModelAssetClass](docs/ModelAssetClass.md)
|
139
|
-
- [SnapTrade::ModelAssetClassDetails](docs/ModelAssetClassDetails.md)
|
140
|
-
- [SnapTrade::ModelAssetClassTarget](docs/ModelAssetClassTarget.md)
|
141
|
-
- [SnapTrade::ModelPortfolio](docs/ModelPortfolio.md)
|
142
|
-
- [SnapTrade::ModelPortfolioAssetClass](docs/ModelPortfolioAssetClass.md)
|
143
|
-
- [SnapTrade::ModelPortfolioDetails](docs/ModelPortfolioDetails.md)
|
144
|
-
- [SnapTrade::ModelPortfolioSecurity](docs/ModelPortfolioSecurity.md)
|
145
|
-
- [SnapTrade::ModelType](docs/ModelType.md)
|
146
|
-
- [SnapTrade::MonthlyDividends](docs/MonthlyDividends.md)
|
147
|
-
- [SnapTrade::NetContributions](docs/NetContributions.md)
|
148
|
-
- [SnapTrade::NetDividend](docs/NetDividend.md)
|
149
|
-
- [SnapTrade::OptionChainInner](docs/OptionChainInner.md)
|
150
|
-
- [SnapTrade::OptionChainInnerChainPerRootInner](docs/OptionChainInnerChainPerRootInner.md)
|
151
|
-
- [SnapTrade::OptionChainInnerChainPerRootInnerChainPerStrikePriceInner](docs/OptionChainInnerChainPerRootInnerChainPerStrikePriceInner.md)
|
152
|
-
- [SnapTrade::OptionLeg](docs/OptionLeg.md)
|
153
|
-
- [SnapTrade::OptionLegAction](docs/OptionLegAction.md)
|
154
|
-
- [SnapTrade::OptionStrategy](docs/OptionStrategy.md)
|
155
|
-
- [SnapTrade::OptionStrategyLegsInner](docs/OptionStrategyLegsInner.md)
|
156
|
-
- [SnapTrade::OptionsGetOptionStrategyRequest](docs/OptionsGetOptionStrategyRequest.md)
|
157
|
-
- [SnapTrade::OptionsHoldings](docs/OptionsHoldings.md)
|
158
|
-
- [SnapTrade::OptionsPlaceOptionStrategyRequest](docs/OptionsPlaceOptionStrategyRequest.md)
|
159
|
-
- [SnapTrade::OptionsPosition](docs/OptionsPosition.md)
|
160
|
-
- [SnapTrade::OptionsPositionCurrency](docs/OptionsPositionCurrency.md)
|
161
|
-
- [SnapTrade::OptionsSymbol](docs/OptionsSymbol.md)
|
162
|
-
- [SnapTrade::OrderStrategyExecuteBodyOrderType](docs/OrderStrategyExecuteBodyOrderType.md)
|
163
|
-
- [SnapTrade::OrderStrategyExecuteBodyTimeInForce](docs/OrderStrategyExecuteBodyTimeInForce.md)
|
164
|
-
- [SnapTrade::OrderType](docs/OrderType.md)
|
165
|
-
- [SnapTrade::PartnerData](docs/PartnerData.md)
|
166
|
-
- [SnapTrade::PastValue](docs/PastValue.md)
|
167
|
-
- [SnapTrade::PerformanceCustom](docs/PerformanceCustom.md)
|
168
|
-
- [SnapTrade::PortfolioGroup](docs/PortfolioGroup.md)
|
169
|
-
- [SnapTrade::PortfolioGroupInfo](docs/PortfolioGroupInfo.md)
|
170
|
-
- [SnapTrade::PortfolioGroupPosition](docs/PortfolioGroupPosition.md)
|
171
|
-
- [SnapTrade::PortfolioGroupSettings](docs/PortfolioGroupSettings.md)
|
172
|
-
- [SnapTrade::Position](docs/Position.md)
|
173
|
-
- [SnapTrade::PositionSymbol](docs/PositionSymbol.md)
|
174
|
-
- [SnapTrade::RedirectTokenandPin](docs/RedirectTokenandPin.md)
|
175
|
-
- [SnapTrade::SecurityType](docs/SecurityType.md)
|
176
|
-
- [SnapTrade::SessionEvent](docs/SessionEvent.md)
|
177
|
-
- [SnapTrade::SessionEventType](docs/SessionEventType.md)
|
178
|
-
- [SnapTrade::SnapTradeAPIDisclaimerAcceptStatus](docs/SnapTradeAPIDisclaimerAcceptStatus.md)
|
179
|
-
- [SnapTrade::SnapTradeHoldingsAccount](docs/SnapTradeHoldingsAccount.md)
|
180
|
-
- [SnapTrade::SnapTradeHoldingsAccountAccountId](docs/SnapTradeHoldingsAccountAccountId.md)
|
181
|
-
- [SnapTrade::SnapTradeHoldingsTotalValue](docs/SnapTradeHoldingsTotalValue.md)
|
182
|
-
- [SnapTrade::SnapTradeLoginUserRequestBody](docs/SnapTradeLoginUserRequestBody.md)
|
183
|
-
- [SnapTrade::SnapTradeRegisterUserRequestBody](docs/SnapTradeRegisterUserRequestBody.md)
|
184
|
-
- [SnapTrade::State](docs/State.md)
|
185
|
-
- [SnapTrade::Status](docs/Status.md)
|
186
|
-
- [SnapTrade::StrategyImpact](docs/StrategyImpact.md)
|
187
|
-
- [SnapTrade::StrategyImpactLegsInner](docs/StrategyImpactLegsInner.md)
|
188
|
-
- [SnapTrade::StrategyOrderPlace](docs/StrategyOrderPlace.md)
|
189
|
-
- [SnapTrade::StrategyOrderPlaceOrdersInner](docs/StrategyOrderPlaceOrdersInner.md)
|
190
|
-
- [SnapTrade::StrategyOrderPlaceOrdersInnerLegsInner](docs/StrategyOrderPlaceOrdersInnerLegsInner.md)
|
191
|
-
- [SnapTrade::StrategyOrderRecord](docs/StrategyOrderRecord.md)
|
192
|
-
- [SnapTrade::StrategyOrderRecordOrderType](docs/StrategyOrderRecordOrderType.md)
|
193
|
-
- [SnapTrade::StrategyOrderRecordStatus](docs/StrategyOrderRecordStatus.md)
|
194
|
-
- [SnapTrade::StrategyOrderRecordTimeInForce](docs/StrategyOrderRecordTimeInForce.md)
|
195
|
-
- [SnapTrade::StrategyQuotes](docs/StrategyQuotes.md)
|
196
|
-
- [SnapTrade::StrategyQuotesGreek](docs/StrategyQuotesGreek.md)
|
197
|
-
- [SnapTrade::StrategyType](docs/StrategyType.md)
|
198
|
-
- [SnapTrade::SubPeriodReturnRate](docs/SubPeriodReturnRate.md)
|
199
|
-
- [SnapTrade::Symbol](docs/Symbol.md)
|
200
|
-
- [SnapTrade::SymbolQuery](docs/SymbolQuery.md)
|
201
|
-
- [SnapTrade::SymbolsQuotesInner](docs/SymbolsQuotesInner.md)
|
202
|
-
- [SnapTrade::TargetAsset](docs/TargetAsset.md)
|
203
|
-
- [SnapTrade::TimeInForce](docs/TimeInForce.md)
|
204
|
-
- [SnapTrade::Trade](docs/Trade.md)
|
205
|
-
- [SnapTrade::TradeAction](docs/TradeAction.md)
|
206
|
-
- [SnapTrade::TradeExecutionStatus](docs/TradeExecutionStatus.md)
|
207
|
-
- [SnapTrade::TradeExecutionStatusAction](docs/TradeExecutionStatusAction.md)
|
208
|
-
- [SnapTrade::TradeImpact](docs/TradeImpact.md)
|
209
|
-
- [SnapTrade::TradingCancelUserAccountOrderRequest](docs/TradingCancelUserAccountOrderRequest.md)
|
210
|
-
- [SnapTrade::TradingPlaceOCOOrderRequest](docs/TradingPlaceOCOOrderRequest.md)
|
211
|
-
- [SnapTrade::TransactionsStatus](docs/TransactionsStatus.md)
|
212
|
-
- [SnapTrade::Type](docs/Type.md)
|
213
|
-
- [SnapTrade::USExchange](docs/USExchange.md)
|
214
|
-
- [SnapTrade::UnderlyingSymbol](docs/UnderlyingSymbol.md)
|
215
|
-
- [SnapTrade::UniversalActivity](docs/UniversalActivity.md)
|
216
|
-
- [SnapTrade::UniversalSymbol](docs/UniversalSymbol.md)
|
217
|
-
- [SnapTrade::UniversalSymbolTicker](docs/UniversalSymbolTicker.md)
|
218
|
-
- [SnapTrade::UserErrorLog](docs/UserErrorLog.md)
|
219
|
-
- [SnapTrade::UserIDandSecret](docs/UserIDandSecret.md)
|
220
|
-
- [SnapTrade::UserSettings](docs/UserSettings.md)
|
221
|
-
|
1
|
+
# snaptrade
|
2
|
+
|
3
|
+
Connect brokerage accounts to your app for live positions and trading
|
4
|
+
|
5
|
+
For more information, please visit [https://snaptrade.com/](https://snaptrade.com/)
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add to Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'snaptrade', '~> 1.15.1'
|
13
|
+
```
|
14
|
+
|
15
|
+
## Getting Started
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'snaptrade'
|
19
|
+
|
20
|
+
SnapTrade.client_id = "YOUR_CLIENT_ID"
|
21
|
+
SnapTrade.consumer_key = "YOUR_CONSUMER_KEY"
|
22
|
+
|
23
|
+
user_id = "John.doe@snaptrade.com"
|
24
|
+
user_secret = "USERSECRET123"
|
25
|
+
brokerage_authorizations = "917c8734-8470-4a3e-a18f-57c3f2ee6631"
|
26
|
+
|
27
|
+
begin
|
28
|
+
# List all accounts for the user, plus balances, positions, and orders for each account.
|
29
|
+
result = SnapTrade::AccountInformation.get_all_user_holdings(
|
30
|
+
user_id: user_id,
|
31
|
+
user_secret: user_secret,
|
32
|
+
brokerage_authorizations: brokerage_authorizations,
|
33
|
+
)
|
34
|
+
p result
|
35
|
+
rescue SnapTrade::ApiError => e
|
36
|
+
puts "Exception when calling SnapTrade::AccountInformation.get_all_user_holdings: #{e}"
|
37
|
+
end
|
38
|
+
```
|
39
|
+
|
40
|
+
## Documentation for API Endpoints
|
41
|
+
|
42
|
+
All URIs are relative to *https://api.snaptrade.com/api/v1*
|
43
|
+
|
44
|
+
Class | Method | HTTP request | Description
|
45
|
+
------------ | ------------- | ------------- | -------------
|
46
|
+
*SnapTrade::AccountInformationApi* | [**get_all_user_holdings**](docs/AccountInformationApi.md#get_all_user_holdings) | **GET** /holdings | List all accounts for the user, plus balances, positions, and orders for each account.
|
47
|
+
*SnapTrade::AccountInformationApi* | [**get_user_account_balance**](docs/AccountInformationApi.md#get_user_account_balance) | **GET** /accounts/{accountId}/balances | List account balances
|
48
|
+
*SnapTrade::AccountInformationApi* | [**get_user_account_details**](docs/AccountInformationApi.md#get_user_account_details) | **GET** /accounts/{accountId} | Return details of a specific investment account
|
49
|
+
*SnapTrade::AccountInformationApi* | [**get_user_account_orders**](docs/AccountInformationApi.md#get_user_account_orders) | **GET** /accounts/{accountId}/orders | Get history of orders placed in account
|
50
|
+
*SnapTrade::AccountInformationApi* | [**get_user_account_positions**](docs/AccountInformationApi.md#get_user_account_positions) | **GET** /accounts/{accountId}/positions | List account positions
|
51
|
+
*SnapTrade::AccountInformationApi* | [**get_user_holdings**](docs/AccountInformationApi.md#get_user_holdings) | **GET** /accounts/{accountId}/holdings | List balances, positions and orders for the specified account.
|
52
|
+
*SnapTrade::AccountInformationApi* | [**list_user_accounts**](docs/AccountInformationApi.md#list_user_accounts) | **GET** /accounts | List accounts
|
53
|
+
*SnapTrade::AccountInformationApi* | [**update_user_account**](docs/AccountInformationApi.md#update_user_account) | **PUT** /accounts/{accountId} | Update details of an investment account
|
54
|
+
*SnapTrade::APIStatusApi* | [**check**](docs/APIStatusApi.md#check) | **GET** / | Get API Status
|
55
|
+
*SnapTrade::AuthenticationApi* | [**delete_snap_trade_user**](docs/AuthenticationApi.md#delete_snap_trade_user) | **DELETE** /snapTrade/deleteUser | Delete SnapTrade user
|
56
|
+
*SnapTrade::AuthenticationApi* | [**get_user_jwt**](docs/AuthenticationApi.md#get_user_jwt) | **GET** /snapTrade/encryptedJWT | Generate encrypted JWT token
|
57
|
+
*SnapTrade::AuthenticationApi* | [**list_snap_trade_users**](docs/AuthenticationApi.md#list_snap_trade_users) | **GET** /snapTrade/listUsers | List SnapTrade users
|
58
|
+
*SnapTrade::AuthenticationApi* | [**login_snap_trade_user**](docs/AuthenticationApi.md#login_snap_trade_user) | **POST** /snapTrade/login | Login user & generate connection link
|
59
|
+
*SnapTrade::AuthenticationApi* | [**register_snap_trade_user**](docs/AuthenticationApi.md#register_snap_trade_user) | **POST** /snapTrade/registerUser | Create SnapTrade user
|
60
|
+
*SnapTrade::ConnectionsApi* | [**detail_brokerage_authorization**](docs/ConnectionsApi.md#detail_brokerage_authorization) | **GET** /authorizations/{authorizationId} | Get brokerage authorization details
|
61
|
+
*SnapTrade::ConnectionsApi* | [**list_brokerage_authorizations**](docs/ConnectionsApi.md#list_brokerage_authorizations) | **GET** /authorizations | List all brokerage authorizations for the user
|
62
|
+
*SnapTrade::ConnectionsApi* | [**remove_brokerage_authorization**](docs/ConnectionsApi.md#remove_brokerage_authorization) | **DELETE** /authorizations/{authorizationId} | Delete brokerage authorization
|
63
|
+
*SnapTrade::ConnectionsApi* | [**session_events**](docs/ConnectionsApi.md#session_events) | **GET** /sessionEvents | List all session events for the partner
|
64
|
+
*SnapTrade::ErrorLogsApi* | [**list_user_errors**](docs/ErrorLogsApi.md#list_user_errors) | **GET** /snapTrade/listUserErrors | Retrieve error logs on behalf of your SnapTrade users
|
65
|
+
*SnapTrade::OptionsApi* | [**get_option_strategy**](docs/OptionsApi.md#get_option_strategy) | **POST** /accounts/{accountId}/optionStrategy | Creates an option strategy object that will be used to place an option strategy order
|
66
|
+
*SnapTrade::OptionsApi* | [**get_options_chain**](docs/OptionsApi.md#get_options_chain) | **GET** /accounts/{accountId}/optionsChain | Get the options chain
|
67
|
+
*SnapTrade::OptionsApi* | [**get_options_strategy_quote**](docs/OptionsApi.md#get_options_strategy_quote) | **GET** /accounts/{accountId}/optionStrategy/{optionStrategyId} | Get latest market data of option strategy
|
68
|
+
*SnapTrade::OptionsApi* | [**list_option_holdings**](docs/OptionsApi.md#list_option_holdings) | **GET** /accounts/{accountId}/options | Get the options holdings in the account
|
69
|
+
*SnapTrade::OptionsApi* | [**place_option_strategy**](docs/OptionsApi.md#place_option_strategy) | **POST** /accounts/{accountId}/optionStrategy/{optionStrategyId}/execute | Place an option strategy order on the brokerage
|
70
|
+
*SnapTrade::ReferenceDataApi* | [**get_currency_exchange_rate_pair**](docs/ReferenceDataApi.md#get_currency_exchange_rate_pair) | **GET** /currencies/rates/{currencyPair} | Return the exchange rate of a currency pair
|
71
|
+
*SnapTrade::ReferenceDataApi* | [**get_partner_info**](docs/ReferenceDataApi.md#get_partner_info) | **GET** /snapTrade/partners | Get metadata related to Snaptrade partner
|
72
|
+
*SnapTrade::ReferenceDataApi* | [**get_security_types**](docs/ReferenceDataApi.md#get_security_types) | **GET** /securityTypes | List of all security types.
|
73
|
+
*SnapTrade::ReferenceDataApi* | [**get_stock_exchanges**](docs/ReferenceDataApi.md#get_stock_exchanges) | **GET** /exchanges | List exchanges
|
74
|
+
*SnapTrade::ReferenceDataApi* | [**get_symbols**](docs/ReferenceDataApi.md#get_symbols) | **POST** /symbols | Search for symbols
|
75
|
+
*SnapTrade::ReferenceDataApi* | [**get_symbols_by_ticker**](docs/ReferenceDataApi.md#get_symbols_by_ticker) | **GET** /symbols/{ticker} | Get details of a symbol by the ticker
|
76
|
+
*SnapTrade::ReferenceDataApi* | [**list_all_brokerage_authorization_type**](docs/ReferenceDataApi.md#list_all_brokerage_authorization_type) | **GET** /brokerageAuthorizationTypes | List of all brokerage authorization types
|
77
|
+
*SnapTrade::ReferenceDataApi* | [**list_all_brokerages**](docs/ReferenceDataApi.md#list_all_brokerages) | **GET** /brokerages | List brokerages
|
78
|
+
*SnapTrade::ReferenceDataApi* | [**list_all_currencies**](docs/ReferenceDataApi.md#list_all_currencies) | **GET** /currencies | List currencies
|
79
|
+
*SnapTrade::ReferenceDataApi* | [**list_all_currencies_rates**](docs/ReferenceDataApi.md#list_all_currencies_rates) | **GET** /currencies/rates | List currency exchange rates
|
80
|
+
*SnapTrade::ReferenceDataApi* | [**symbol_search_user_account**](docs/ReferenceDataApi.md#symbol_search_user_account) | **POST** /accounts/{accountId}/symbols | Search for symbols available in an account
|
81
|
+
*SnapTrade::TradingApi* | [**cancel_user_account_order**](docs/TradingApi.md#cancel_user_account_order) | **POST** /accounts/{accountId}/orders/cancel | Cancel open order in account
|
82
|
+
*SnapTrade::TradingApi* | [**get_order_impact**](docs/TradingApi.md#get_order_impact) | **POST** /trade/impact | Check impact of trades on account.
|
83
|
+
*SnapTrade::TradingApi* | [**get_user_account_quotes**](docs/TradingApi.md#get_user_account_quotes) | **GET** /accounts/{accountId}/quotes | Get symbol quotes
|
84
|
+
*SnapTrade::TradingApi* | [**place_force_order**](docs/TradingApi.md#place_force_order) | **POST** /trade/place | Place a trade with NO validation.
|
85
|
+
*SnapTrade::TradingApi* | [**place_oco_order**](docs/TradingApi.md#place_oco_order) | **POST** /trade/oco | Place a OCO (One Cancels Other) order
|
86
|
+
*SnapTrade::TradingApi* | [**place_order**](docs/TradingApi.md#place_order) | **POST** /trade/{tradeId} | Place order
|
87
|
+
*SnapTrade::TransactionsAndReportingApi* | [**get_activities**](docs/TransactionsAndReportingApi.md#get_activities) | **GET** /activities | Get transaction history for a user
|
88
|
+
*SnapTrade::TransactionsAndReportingApi* | [**get_reporting_custom_range**](docs/TransactionsAndReportingApi.md#get_reporting_custom_range) | **GET** /performance/custom | Get performance information for a specific timeframe
|
89
|
+
|
90
|
+
|
91
|
+
## Documentation for Models
|
92
|
+
|
93
|
+
- [SnapTrade::Account](docs/Account.md)
|
94
|
+
- [SnapTrade::AccountHoldings](docs/AccountHoldings.md)
|
95
|
+
- [SnapTrade::AccountHoldingsAccount](docs/AccountHoldingsAccount.md)
|
96
|
+
- [SnapTrade::AccountOrderRecord](docs/AccountOrderRecord.md)
|
97
|
+
- [SnapTrade::AccountOrderRecordStatus](docs/AccountOrderRecordStatus.md)
|
98
|
+
- [SnapTrade::AccountSimple](docs/AccountSimple.md)
|
99
|
+
- [SnapTrade::AccountSyncStatus](docs/AccountSyncStatus.md)
|
100
|
+
- [SnapTrade::Action](docs/Action.md)
|
101
|
+
- [SnapTrade::AuthType](docs/AuthType.md)
|
102
|
+
- [SnapTrade::AuthenticationLoginSnapTradeUser200Response](docs/AuthenticationLoginSnapTradeUser200Response.md)
|
103
|
+
- [SnapTrade::Balance](docs/Balance.md)
|
104
|
+
- [SnapTrade::Brokerage](docs/Brokerage.md)
|
105
|
+
- [SnapTrade::BrokerageAuthorization](docs/BrokerageAuthorization.md)
|
106
|
+
- [SnapTrade::BrokerageAuthorizationType](docs/BrokerageAuthorizationType.md)
|
107
|
+
- [SnapTrade::BrokerageAuthorizationTypeReadOnly](docs/BrokerageAuthorizationTypeReadOnly.md)
|
108
|
+
- [SnapTrade::BrokerageAuthorizationTypeReadOnlyBrokerage](docs/BrokerageAuthorizationTypeReadOnlyBrokerage.md)
|
109
|
+
- [SnapTrade::BrokerageAuthorizationTypeReadOnlyType](docs/BrokerageAuthorizationTypeReadOnlyType.md)
|
110
|
+
- [SnapTrade::BrokerageAuthorizationTypeType](docs/BrokerageAuthorizationTypeType.md)
|
111
|
+
- [SnapTrade::BrokerageSymbol](docs/BrokerageSymbol.md)
|
112
|
+
- [SnapTrade::BrokerageSymbolOptionSymbol](docs/BrokerageSymbolOptionSymbol.md)
|
113
|
+
- [SnapTrade::BrokerageSymbolSymbol](docs/BrokerageSymbolSymbol.md)
|
114
|
+
- [SnapTrade::BrokerageType](docs/BrokerageType.md)
|
115
|
+
- [SnapTrade::CalculatedTrade](docs/CalculatedTrade.md)
|
116
|
+
- [SnapTrade::CashRestriction](docs/CashRestriction.md)
|
117
|
+
- [SnapTrade::ConnectionType](docs/ConnectionType.md)
|
118
|
+
- [SnapTrade::ConnectionsSessionEvents200ResponseInner](docs/ConnectionsSessionEvents200ResponseInner.md)
|
119
|
+
- [SnapTrade::Currency](docs/Currency.md)
|
120
|
+
- [SnapTrade::DeleteUserResponse](docs/DeleteUserResponse.md)
|
121
|
+
- [SnapTrade::DividendAtDate](docs/DividendAtDate.md)
|
122
|
+
- [SnapTrade::EncryptedResponse](docs/EncryptedResponse.md)
|
123
|
+
- [SnapTrade::EncryptedResponseEncryptedMessageData](docs/EncryptedResponseEncryptedMessageData.md)
|
124
|
+
- [SnapTrade::Exchange](docs/Exchange.md)
|
125
|
+
- [SnapTrade::ExchangeRatePairs](docs/ExchangeRatePairs.md)
|
126
|
+
- [SnapTrade::ExcludedAsset](docs/ExcludedAsset.md)
|
127
|
+
- [SnapTrade::JWT](docs/JWT.md)
|
128
|
+
- [SnapTrade::LoginRedirectURI](docs/LoginRedirectURI.md)
|
129
|
+
- [SnapTrade::ManualTrade](docs/ManualTrade.md)
|
130
|
+
- [SnapTrade::ManualTradeAndImpact](docs/ManualTradeAndImpact.md)
|
131
|
+
- [SnapTrade::ManualTradeBalance](docs/ManualTradeBalance.md)
|
132
|
+
- [SnapTrade::ManualTradeForm](docs/ManualTradeForm.md)
|
133
|
+
- [SnapTrade::ManualTradeSymbol](docs/ManualTradeSymbol.md)
|
134
|
+
- [SnapTrade::Model400FailedRequestResponse](docs/Model400FailedRequestResponse.md)
|
135
|
+
- [SnapTrade::Model401FailedRequestResponse](docs/Model401FailedRequestResponse.md)
|
136
|
+
- [SnapTrade::Model403FailedRequestResponse](docs/Model403FailedRequestResponse.md)
|
137
|
+
- [SnapTrade::Model404FailedRequestResponse](docs/Model404FailedRequestResponse.md)
|
138
|
+
- [SnapTrade::ModelAssetClass](docs/ModelAssetClass.md)
|
139
|
+
- [SnapTrade::ModelAssetClassDetails](docs/ModelAssetClassDetails.md)
|
140
|
+
- [SnapTrade::ModelAssetClassTarget](docs/ModelAssetClassTarget.md)
|
141
|
+
- [SnapTrade::ModelPortfolio](docs/ModelPortfolio.md)
|
142
|
+
- [SnapTrade::ModelPortfolioAssetClass](docs/ModelPortfolioAssetClass.md)
|
143
|
+
- [SnapTrade::ModelPortfolioDetails](docs/ModelPortfolioDetails.md)
|
144
|
+
- [SnapTrade::ModelPortfolioSecurity](docs/ModelPortfolioSecurity.md)
|
145
|
+
- [SnapTrade::ModelType](docs/ModelType.md)
|
146
|
+
- [SnapTrade::MonthlyDividends](docs/MonthlyDividends.md)
|
147
|
+
- [SnapTrade::NetContributions](docs/NetContributions.md)
|
148
|
+
- [SnapTrade::NetDividend](docs/NetDividend.md)
|
149
|
+
- [SnapTrade::OptionChainInner](docs/OptionChainInner.md)
|
150
|
+
- [SnapTrade::OptionChainInnerChainPerRootInner](docs/OptionChainInnerChainPerRootInner.md)
|
151
|
+
- [SnapTrade::OptionChainInnerChainPerRootInnerChainPerStrikePriceInner](docs/OptionChainInnerChainPerRootInnerChainPerStrikePriceInner.md)
|
152
|
+
- [SnapTrade::OptionLeg](docs/OptionLeg.md)
|
153
|
+
- [SnapTrade::OptionLegAction](docs/OptionLegAction.md)
|
154
|
+
- [SnapTrade::OptionStrategy](docs/OptionStrategy.md)
|
155
|
+
- [SnapTrade::OptionStrategyLegsInner](docs/OptionStrategyLegsInner.md)
|
156
|
+
- [SnapTrade::OptionsGetOptionStrategyRequest](docs/OptionsGetOptionStrategyRequest.md)
|
157
|
+
- [SnapTrade::OptionsHoldings](docs/OptionsHoldings.md)
|
158
|
+
- [SnapTrade::OptionsPlaceOptionStrategyRequest](docs/OptionsPlaceOptionStrategyRequest.md)
|
159
|
+
- [SnapTrade::OptionsPosition](docs/OptionsPosition.md)
|
160
|
+
- [SnapTrade::OptionsPositionCurrency](docs/OptionsPositionCurrency.md)
|
161
|
+
- [SnapTrade::OptionsSymbol](docs/OptionsSymbol.md)
|
162
|
+
- [SnapTrade::OrderStrategyExecuteBodyOrderType](docs/OrderStrategyExecuteBodyOrderType.md)
|
163
|
+
- [SnapTrade::OrderStrategyExecuteBodyTimeInForce](docs/OrderStrategyExecuteBodyTimeInForce.md)
|
164
|
+
- [SnapTrade::OrderType](docs/OrderType.md)
|
165
|
+
- [SnapTrade::PartnerData](docs/PartnerData.md)
|
166
|
+
- [SnapTrade::PastValue](docs/PastValue.md)
|
167
|
+
- [SnapTrade::PerformanceCustom](docs/PerformanceCustom.md)
|
168
|
+
- [SnapTrade::PortfolioGroup](docs/PortfolioGroup.md)
|
169
|
+
- [SnapTrade::PortfolioGroupInfo](docs/PortfolioGroupInfo.md)
|
170
|
+
- [SnapTrade::PortfolioGroupPosition](docs/PortfolioGroupPosition.md)
|
171
|
+
- [SnapTrade::PortfolioGroupSettings](docs/PortfolioGroupSettings.md)
|
172
|
+
- [SnapTrade::Position](docs/Position.md)
|
173
|
+
- [SnapTrade::PositionSymbol](docs/PositionSymbol.md)
|
174
|
+
- [SnapTrade::RedirectTokenandPin](docs/RedirectTokenandPin.md)
|
175
|
+
- [SnapTrade::SecurityType](docs/SecurityType.md)
|
176
|
+
- [SnapTrade::SessionEvent](docs/SessionEvent.md)
|
177
|
+
- [SnapTrade::SessionEventType](docs/SessionEventType.md)
|
178
|
+
- [SnapTrade::SnapTradeAPIDisclaimerAcceptStatus](docs/SnapTradeAPIDisclaimerAcceptStatus.md)
|
179
|
+
- [SnapTrade::SnapTradeHoldingsAccount](docs/SnapTradeHoldingsAccount.md)
|
180
|
+
- [SnapTrade::SnapTradeHoldingsAccountAccountId](docs/SnapTradeHoldingsAccountAccountId.md)
|
181
|
+
- [SnapTrade::SnapTradeHoldingsTotalValue](docs/SnapTradeHoldingsTotalValue.md)
|
182
|
+
- [SnapTrade::SnapTradeLoginUserRequestBody](docs/SnapTradeLoginUserRequestBody.md)
|
183
|
+
- [SnapTrade::SnapTradeRegisterUserRequestBody](docs/SnapTradeRegisterUserRequestBody.md)
|
184
|
+
- [SnapTrade::State](docs/State.md)
|
185
|
+
- [SnapTrade::Status](docs/Status.md)
|
186
|
+
- [SnapTrade::StrategyImpact](docs/StrategyImpact.md)
|
187
|
+
- [SnapTrade::StrategyImpactLegsInner](docs/StrategyImpactLegsInner.md)
|
188
|
+
- [SnapTrade::StrategyOrderPlace](docs/StrategyOrderPlace.md)
|
189
|
+
- [SnapTrade::StrategyOrderPlaceOrdersInner](docs/StrategyOrderPlaceOrdersInner.md)
|
190
|
+
- [SnapTrade::StrategyOrderPlaceOrdersInnerLegsInner](docs/StrategyOrderPlaceOrdersInnerLegsInner.md)
|
191
|
+
- [SnapTrade::StrategyOrderRecord](docs/StrategyOrderRecord.md)
|
192
|
+
- [SnapTrade::StrategyOrderRecordOrderType](docs/StrategyOrderRecordOrderType.md)
|
193
|
+
- [SnapTrade::StrategyOrderRecordStatus](docs/StrategyOrderRecordStatus.md)
|
194
|
+
- [SnapTrade::StrategyOrderRecordTimeInForce](docs/StrategyOrderRecordTimeInForce.md)
|
195
|
+
- [SnapTrade::StrategyQuotes](docs/StrategyQuotes.md)
|
196
|
+
- [SnapTrade::StrategyQuotesGreek](docs/StrategyQuotesGreek.md)
|
197
|
+
- [SnapTrade::StrategyType](docs/StrategyType.md)
|
198
|
+
- [SnapTrade::SubPeriodReturnRate](docs/SubPeriodReturnRate.md)
|
199
|
+
- [SnapTrade::Symbol](docs/Symbol.md)
|
200
|
+
- [SnapTrade::SymbolQuery](docs/SymbolQuery.md)
|
201
|
+
- [SnapTrade::SymbolsQuotesInner](docs/SymbolsQuotesInner.md)
|
202
|
+
- [SnapTrade::TargetAsset](docs/TargetAsset.md)
|
203
|
+
- [SnapTrade::TimeInForce](docs/TimeInForce.md)
|
204
|
+
- [SnapTrade::Trade](docs/Trade.md)
|
205
|
+
- [SnapTrade::TradeAction](docs/TradeAction.md)
|
206
|
+
- [SnapTrade::TradeExecutionStatus](docs/TradeExecutionStatus.md)
|
207
|
+
- [SnapTrade::TradeExecutionStatusAction](docs/TradeExecutionStatusAction.md)
|
208
|
+
- [SnapTrade::TradeImpact](docs/TradeImpact.md)
|
209
|
+
- [SnapTrade::TradingCancelUserAccountOrderRequest](docs/TradingCancelUserAccountOrderRequest.md)
|
210
|
+
- [SnapTrade::TradingPlaceOCOOrderRequest](docs/TradingPlaceOCOOrderRequest.md)
|
211
|
+
- [SnapTrade::TransactionsStatus](docs/TransactionsStatus.md)
|
212
|
+
- [SnapTrade::Type](docs/Type.md)
|
213
|
+
- [SnapTrade::USExchange](docs/USExchange.md)
|
214
|
+
- [SnapTrade::UnderlyingSymbol](docs/UnderlyingSymbol.md)
|
215
|
+
- [SnapTrade::UniversalActivity](docs/UniversalActivity.md)
|
216
|
+
- [SnapTrade::UniversalSymbol](docs/UniversalSymbol.md)
|
217
|
+
- [SnapTrade::UniversalSymbolTicker](docs/UniversalSymbolTicker.md)
|
218
|
+
- [SnapTrade::UserErrorLog](docs/UserErrorLog.md)
|
219
|
+
- [SnapTrade::UserIDandSecret](docs/UserIDandSecret.md)
|
220
|
+
- [SnapTrade::UserSettings](docs/UserSettings.md)
|
221
|
+
|