snaptrade 2.0.70 → 2.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +78 -8
- data/lib/snaptrade/api/account_information_api.rb +132 -0
- data/lib/snaptrade/api/connections_api.rb +4 -2
- data/lib/snaptrade/api/transactions_and_reporting_api.rb +4 -4
- data/lib/snaptrade/version.rb +1 -1
- data/spec/api/account_information_api_spec.rb +17 -0
- data/spec/api/connections_api_spec.rb +1 -1
- data/spec/api/transactions_and_reporting_api_spec.rb +1 -1
- metadata +109 -109
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfac5c0b832ed3b82a4a588a6ebf80fb8dd87bae877c007bd2d9f71f5b8db0cf
|
4
|
+
data.tar.gz: e49ed67099dc4d91be78b45547246d5062e8a01d4903d04b886211bdc9c6ab65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa76df59baf8c9f7386587aea312185dc8195ee41281e8067cba6c9fde440872b9fd55e1ab797b1924d652ddcd56be82f370a492d5104e4e3242c32f8ba60f59
|
7
|
+
data.tar.gz: 5ab41c271ea235b05f51ac8071247b75ca8ee3aaa671f1c1790064435d5d1b57e5b91ab8f89671bb6e24eda5395a0a7be1e9a87e0ae088736fdfc3fd6e59e9b0
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
snaptrade (2.0.
|
4
|
+
snaptrade (2.0.72)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart (~> 1.0, >= 1.0.4)
|
7
7
|
|
@@ -29,7 +29,7 @@ GEM
|
|
29
29
|
method_source (1.1.0)
|
30
30
|
multipart-post (2.4.1)
|
31
31
|
parallel (1.26.3)
|
32
|
-
parser (3.3.
|
32
|
+
parser (3.3.7.0)
|
33
33
|
ast (~> 2.4.1)
|
34
34
|
racc
|
35
35
|
pry (0.14.2)
|
@@ -67,7 +67,7 @@ GEM
|
|
67
67
|
rubocop-ast (>= 1.2.0, < 2.0)
|
68
68
|
ruby-progressbar (~> 1.7)
|
69
69
|
unicode-display_width (>= 1.4.0, < 3.0)
|
70
|
-
rubocop-ast (1.
|
70
|
+
rubocop-ast (1.38.0)
|
71
71
|
parser (>= 3.3.1.0)
|
72
72
|
ruby-progressbar (1.13.0)
|
73
73
|
ruby2_keywords (0.0.5)
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
Connect brokerage accounts to your app for live positions and trading
|
8
8
|
|
9
|
-
[](https://rubygems.org/gems/snaptrade/versions/2.0.72)
|
10
10
|
[](https://snaptrade.com/)
|
11
11
|
|
12
12
|
</div>
|
@@ -19,6 +19,7 @@ Connect brokerage accounts to your app for live positions and trading
|
|
19
19
|
- [Getting Started](#getting-started)
|
20
20
|
- [Raw HTTP Response](#raw-http-response)
|
21
21
|
- [Reference](#reference)
|
22
|
+
* [`snaptrade.account_information.get_account_activities`](#snaptradeaccount_informationget_account_activities)
|
22
23
|
* [`snaptrade.account_information.get_all_user_holdings`](#snaptradeaccount_informationget_all_user_holdings)
|
23
24
|
* [`snaptrade.account_information.get_user_account_balance`](#snaptradeaccount_informationget_user_account_balance)
|
24
25
|
* [`snaptrade.account_information.get_user_account_details`](#snaptradeaccount_informationget_user_account_details)
|
@@ -73,7 +74,7 @@ Connect brokerage accounts to your app for live positions and trading
|
|
73
74
|
Add to Gemfile:
|
74
75
|
|
75
76
|
```ruby
|
76
|
-
gem 'snaptrade', '~> 2.0.
|
77
|
+
gem 'snaptrade', '~> 2.0.72'
|
77
78
|
```
|
78
79
|
|
79
80
|
## Getting Started<a id="getting-started"></a>
|
@@ -85,10 +86,13 @@ configuration = SnapTrade::Configuration.new
|
|
85
86
|
configuration.client_id = ENV["SNAPTRADE_CLIENT_ID"]
|
86
87
|
configuration.consumer_key = ENV["SNAPTRADE_CONSUMER_KEY"]
|
87
88
|
snaptrade = SnapTrade::Client.new(configuration)
|
88
|
-
result = snaptrade.account_information.
|
89
|
+
result = snaptrade.account_information.get_account_activities(
|
90
|
+
account_id: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
89
91
|
user_id: "snaptrade-user-123",
|
90
92
|
user_secret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
|
91
|
-
|
93
|
+
start_date: "2022-01-24",
|
94
|
+
end_date: "2022-01-24",
|
95
|
+
type: "BUY,SELL,DIVIDEND",
|
92
96
|
)
|
93
97
|
p result
|
94
98
|
```
|
@@ -98,12 +102,15 @@ p result
|
|
98
102
|
To access the raw HTTP response, suffix any method with `_with_http_info`.
|
99
103
|
|
100
104
|
```ruby
|
101
|
-
result = snaptrade.account_information.
|
105
|
+
result = snaptrade.account_information.get_account_activities_with_http_info(
|
106
|
+
account_id: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
102
107
|
user_id: "snaptrade-user-123",
|
103
108
|
user_secret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
|
104
|
-
|
109
|
+
start_date: "2022-01-24",
|
110
|
+
end_date: "2022-01-24",
|
111
|
+
type: "BUY,SELL,DIVIDEND",
|
105
112
|
)
|
106
|
-
p result[0] # [Array<
|
113
|
+
p result[0] # [Array<UniversalActivity>] Deserialized data
|
107
114
|
p.result[1] # [Integer] HTTP status code
|
108
115
|
p.result[2] # [Hash] HTTP headers
|
109
116
|
p.result[3] # [Faraday::Response] Raw HTTP response
|
@@ -112,6 +119,68 @@ p.result[3] # [Faraday::Response] Raw HTTP response
|
|
112
119
|
## Reference<a id="reference"></a>
|
113
120
|
|
114
121
|
|
122
|
+
### `snaptrade.account_information.get_account_activities`<a id="snaptradeaccount_informationget_account_activities"></a>
|
123
|
+
|
124
|
+
Returns all historical transactions for the specified account. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request.
|
125
|
+
|
126
|
+
There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order.
|
127
|
+
|
128
|
+
The data returned here is always cached and refreshed once a day.
|
129
|
+
|
130
|
+
|
131
|
+
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
132
|
+
|
133
|
+
```ruby
|
134
|
+
result = snaptrade.account_information.get_account_activities(
|
135
|
+
account_id: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
136
|
+
user_id: "snaptrade-user-123",
|
137
|
+
user_secret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
|
138
|
+
start_date: "2022-01-24",
|
139
|
+
end_date: "2022-01-24",
|
140
|
+
type: "BUY,SELL,DIVIDEND",
|
141
|
+
)
|
142
|
+
p result
|
143
|
+
```
|
144
|
+
|
145
|
+
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
146
|
+
|
147
|
+
##### account_id: `String`<a id="account_id-string"></a>
|
148
|
+
##### user_id: `String`<a id="user_id-string"></a>
|
149
|
+
##### user_secret: `String`<a id="user_secret-string"></a>
|
150
|
+
##### start_date: `Date`<a id="start_date-date"></a>
|
151
|
+
The start date (inclusive) of the transaction history to retrieve. If not
|
152
|
+
provided, the default is the first transaction known to SnapTrade based on
|
153
|
+
`trade_date`.
|
154
|
+
|
155
|
+
##### end_date: `Date`<a id="end_date-date"></a>
|
156
|
+
The end date (inclusive) of the transaction history to retrieve. If not
|
157
|
+
provided, the default is the last transaction known to SnapTrade based on
|
158
|
+
`trade_date`.
|
159
|
+
|
160
|
+
##### type: `String`<a id="type-string"></a>
|
161
|
+
Optional comma separated list of transaction types to filter by. SnapTrade does
|
162
|
+
a best effort to categorize brokerage transaction types into a common set of
|
163
|
+
values. Here are some of the most popular values: - `BUY` - Asset bought. -
|
164
|
+
`SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash
|
165
|
+
contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment.
|
166
|
+
- `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from
|
167
|
+
the account. - `OPTIONEXPIRATION` - Option expiration event. -
|
168
|
+
`OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option
|
169
|
+
exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
170
|
+
|
171
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
172
|
+
|
173
|
+
[UniversalActivity](./lib/snaptrade/models/universal_activity.rb)
|
174
|
+
|
175
|
+
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
176
|
+
|
177
|
+
`/accounts/{accountId}/activities` `GET`
|
178
|
+
|
179
|
+
[🔙 **Back to Table of Contents**](#table-of-contents)
|
180
|
+
|
181
|
+
---
|
182
|
+
|
183
|
+
|
115
184
|
### `snaptrade.account_information.get_all_user_holdings`<a id="snaptradeaccount_informationget_all_user_holdings"></a>
|
116
185
|

|
117
186
|
|
@@ -818,6 +887,7 @@ p result
|
|
818
887
|
### `snaptrade.connections.refresh_brokerage_authorization`<a id="snaptradeconnectionsrefresh_brokerage_authorization"></a>
|
819
888
|
|
820
889
|
Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
|
890
|
+
This endpoint will also trigger a transaction sync for the past day if one has not yet occured.
|
821
891
|
|
822
892
|
*Please contact support for access as this endpoint is not enabled by default.*
|
823
893
|
|
@@ -1800,7 +1870,7 @@ Returns all historical transactions for the specified user and filtering criteri
|
|
1800
1870
|
|
1801
1871
|
There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order.
|
1802
1872
|
|
1803
|
-
The data returned here is always cached and refreshed once a day.
|
1873
|
+
The data returned here is always cached and refreshed once a day.
|
1804
1874
|
|
1805
1875
|
|
1806
1876
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
@@ -17,6 +17,138 @@ module SnapTrade
|
|
17
17
|
@api_client = api_client
|
18
18
|
end
|
19
19
|
|
20
|
+
# List account activities
|
21
|
+
#
|
22
|
+
# Returns all historical transactions for the specified account. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request.
|
23
|
+
#
|
24
|
+
# There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order.
|
25
|
+
#
|
26
|
+
# The data returned here is always cached and refreshed once a day.
|
27
|
+
#
|
28
|
+
# @param account_id [String]
|
29
|
+
# @param user_id [String]
|
30
|
+
# @param user_secret [String]
|
31
|
+
# @param start_date [Date] The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
|
32
|
+
# @param end_date [Date] The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
|
33
|
+
# @param type [String] Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
34
|
+
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
35
|
+
def get_account_activities(account_id:, user_id:, user_secret:, start_date: SENTINEL, end_date: SENTINEL, type: SENTINEL, extra: {})
|
36
|
+
extra[:start_date] = start_date if start_date != SENTINEL
|
37
|
+
extra[:end_date] = end_date if end_date != SENTINEL
|
38
|
+
extra[:type] = type if type != SENTINEL
|
39
|
+
data, _status_code, _headers = get_account_activities_with_http_info_impl(account_id, user_id, user_secret, extra)
|
40
|
+
data
|
41
|
+
end
|
42
|
+
|
43
|
+
# List account activities
|
44
|
+
#
|
45
|
+
# Returns all historical transactions for the specified account. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request.
|
46
|
+
#
|
47
|
+
# There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order.
|
48
|
+
#
|
49
|
+
# The data returned here is always cached and refreshed once a day.
|
50
|
+
#
|
51
|
+
# @param account_id [String]
|
52
|
+
# @param user_id [String]
|
53
|
+
# @param user_secret [String]
|
54
|
+
# @param start_date [Date] The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
|
55
|
+
# @param end_date [Date] The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
|
56
|
+
# @param type [String] Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
57
|
+
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
58
|
+
def get_account_activities_with_http_info(account_id:, user_id:, user_secret:, start_date: SENTINEL, end_date: SENTINEL, type: SENTINEL, extra: {})
|
59
|
+
extra[:start_date] = start_date if start_date != SENTINEL
|
60
|
+
extra[:end_date] = end_date if end_date != SENTINEL
|
61
|
+
extra[:type] = type if type != SENTINEL
|
62
|
+
get_account_activities_with_http_info_impl(account_id, user_id, user_secret, extra)
|
63
|
+
end
|
64
|
+
|
65
|
+
# List account activities
|
66
|
+
# Returns all historical transactions for the specified account. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
67
|
+
# @param account_id [String]
|
68
|
+
# @param user_id [String]
|
69
|
+
# @param user_secret [String]
|
70
|
+
# @param [Hash] opts the optional parameters
|
71
|
+
# @option opts [Date] :start_date The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
|
72
|
+
# @option opts [Date] :end_date The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
|
73
|
+
# @option opts [String] :type Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
74
|
+
# @return [Array<UniversalActivity>]
|
75
|
+
private def get_account_activities_impl(account_id, user_id, user_secret, opts = {})
|
76
|
+
data, _status_code, _headers = get_account_activities_with_http_info(account_id, user_id, user_secret, opts)
|
77
|
+
data
|
78
|
+
end
|
79
|
+
|
80
|
+
# List account activities
|
81
|
+
# Returns all historical transactions for the specified account. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
82
|
+
# @param account_id [String]
|
83
|
+
# @param user_id [String]
|
84
|
+
# @param user_secret [String]
|
85
|
+
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [Date] :start_date The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
|
87
|
+
# @option opts [Date] :end_date The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
|
88
|
+
# @option opts [String] :type Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
89
|
+
# @return [Array<(Array<UniversalActivity>, Integer, Hash)>] Array<UniversalActivity> data, response status code and response headers
|
90
|
+
private def get_account_activities_with_http_info_impl(account_id, user_id, user_secret, opts = {})
|
91
|
+
if @api_client.config.debugging
|
92
|
+
@api_client.config.logger.debug 'Calling API: AccountInformationApi.get_account_activities ...'
|
93
|
+
end
|
94
|
+
# verify the required parameter 'account_id' is set
|
95
|
+
if @api_client.config.client_side_validation && account_id.nil?
|
96
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountInformationApi.get_account_activities"
|
97
|
+
end
|
98
|
+
# verify the required parameter 'user_id' is set
|
99
|
+
if @api_client.config.client_side_validation && user_id.nil?
|
100
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling AccountInformationApi.get_account_activities"
|
101
|
+
end
|
102
|
+
# verify the required parameter 'user_secret' is set
|
103
|
+
if @api_client.config.client_side_validation && user_secret.nil?
|
104
|
+
fail ArgumentError, "Missing the required parameter 'user_secret' when calling AccountInformationApi.get_account_activities"
|
105
|
+
end
|
106
|
+
# resource path
|
107
|
+
local_var_path = '/accounts/{accountId}/activities'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
|
108
|
+
|
109
|
+
# query parameters
|
110
|
+
query_params = opts[:query_params] || {}
|
111
|
+
query_params[:'userId'] = user_id
|
112
|
+
query_params[:'userSecret'] = user_secret
|
113
|
+
query_params[:'startDate'] = opts[:'start_date'] if !opts[:'start_date'].nil?
|
114
|
+
query_params[:'endDate'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
115
|
+
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
116
|
+
|
117
|
+
# header parameters
|
118
|
+
header_params = opts[:header_params] || {}
|
119
|
+
# HTTP header 'Accept' (if needed)
|
120
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
121
|
+
|
122
|
+
# form parameters
|
123
|
+
form_params = opts[:form_params] || {}
|
124
|
+
|
125
|
+
# http body (model)
|
126
|
+
post_body = opts[:debug_body]
|
127
|
+
|
128
|
+
# return_type
|
129
|
+
return_type = opts[:debug_return_type] || 'Array<UniversalActivity>'
|
130
|
+
|
131
|
+
# auth_names
|
132
|
+
auth_names = opts[:debug_auth_names] || ['PartnerClientId', 'PartnerSignature', 'PartnerTimestamp']
|
133
|
+
|
134
|
+
new_options = opts.merge(
|
135
|
+
:operation => :"AccountInformationApi.get_account_activities",
|
136
|
+
:header_params => header_params,
|
137
|
+
:query_params => query_params,
|
138
|
+
:form_params => form_params,
|
139
|
+
:body => post_body,
|
140
|
+
:auth_names => auth_names,
|
141
|
+
:return_type => return_type
|
142
|
+
)
|
143
|
+
|
144
|
+
data, status_code, headers, response = @api_client.call_api(:GET, local_var_path, new_options)
|
145
|
+
if @api_client.config.debugging
|
146
|
+
@api_client.config.logger.debug "API called: AccountInformationApi#get_account_activities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
147
|
+
end
|
148
|
+
return data, status_code, headers, response
|
149
|
+
end
|
150
|
+
|
151
|
+
|
20
152
|
# List all accounts for the user, plus balances, positions, and orders for each account.
|
21
153
|
#
|
22
154
|
# **Deprecated, please use the account-specific holdings endpoint instead.**
|
@@ -335,6 +335,7 @@ module SnapTrade
|
|
335
335
|
# Refresh holdings for a connection
|
336
336
|
#
|
337
337
|
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
|
338
|
+
# This endpoint will also trigger a transaction sync for the past day if one has not yet occured.
|
338
339
|
#
|
339
340
|
# *Please contact support for access as this endpoint is not enabled by default.*
|
340
341
|
#
|
@@ -350,6 +351,7 @@ module SnapTrade
|
|
350
351
|
# Refresh holdings for a connection
|
351
352
|
#
|
352
353
|
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
|
354
|
+
# This endpoint will also trigger a transaction sync for the past day if one has not yet occured.
|
353
355
|
#
|
354
356
|
# *Please contact support for access as this endpoint is not enabled by default.*
|
355
357
|
#
|
@@ -362,7 +364,7 @@ module SnapTrade
|
|
362
364
|
end
|
363
365
|
|
364
366
|
# Refresh holdings for a connection
|
365
|
-
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
|
367
|
+
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occured. *Please contact support for access as this endpoint is not enabled by default.*
|
366
368
|
# @param authorization_id [String]
|
367
369
|
# @param user_id [String]
|
368
370
|
# @param user_secret [String]
|
@@ -374,7 +376,7 @@ module SnapTrade
|
|
374
376
|
end
|
375
377
|
|
376
378
|
# Refresh holdings for a connection
|
377
|
-
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
|
379
|
+
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occured. *Please contact support for access as this endpoint is not enabled by default.*
|
378
380
|
# @param authorization_id [String]
|
379
381
|
# @param user_id [String]
|
380
382
|
# @param user_secret [String]
|
@@ -23,7 +23,7 @@ module SnapTrade
|
|
23
23
|
#
|
24
24
|
# There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order.
|
25
25
|
#
|
26
|
-
# The data returned here is always cached and refreshed once a day.
|
26
|
+
# The data returned here is always cached and refreshed once a day.
|
27
27
|
#
|
28
28
|
# @param user_id [String]
|
29
29
|
# @param user_secret [String]
|
@@ -49,7 +49,7 @@ module SnapTrade
|
|
49
49
|
#
|
50
50
|
# There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order.
|
51
51
|
#
|
52
|
-
# The data returned here is always cached and refreshed once a day.
|
52
|
+
# The data returned here is always cached and refreshed once a day.
|
53
53
|
#
|
54
54
|
# @param user_id [String]
|
55
55
|
# @param user_secret [String]
|
@@ -69,7 +69,7 @@ module SnapTrade
|
|
69
69
|
end
|
70
70
|
|
71
71
|
# Get transaction history for a user
|
72
|
-
# Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
72
|
+
# Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
73
73
|
# @param user_id [String]
|
74
74
|
# @param user_secret [String]
|
75
75
|
# @param [Hash] opts the optional parameters
|
@@ -85,7 +85,7 @@ module SnapTrade
|
|
85
85
|
end
|
86
86
|
|
87
87
|
# Get transaction history for a user
|
88
|
-
# Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
88
|
+
# Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
89
89
|
# @param user_id [String]
|
90
90
|
# @param user_secret [String]
|
91
91
|
# @param [Hash] opts the optional parameters
|
data/lib/snaptrade/version.rb
CHANGED
@@ -27,6 +27,23 @@ describe 'AccountInformationApi' do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
+
# unit tests for get_account_activities
|
31
|
+
# List account activities
|
32
|
+
# Returns all historical transactions for the specified account. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
33
|
+
# @param account_id
|
34
|
+
# @param user_id
|
35
|
+
# @param user_secret
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Date] :start_date The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
|
38
|
+
# @option opts [Date] :end_date The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
|
39
|
+
# @option opts [String] :type Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
40
|
+
# @return [Array<UniversalActivity>]
|
41
|
+
describe 'get_account_activities test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
30
47
|
# unit tests for get_all_user_holdings
|
31
48
|
# List all accounts for the user, plus balances, positions, and orders for each account.
|
32
49
|
# **Deprecated, please use the account-specific holdings endpoint instead.** List all accounts for the user, plus balances, positions, and orders for each account.
|
@@ -70,7 +70,7 @@ describe 'ConnectionsApi' do
|
|
70
70
|
|
71
71
|
# unit tests for refresh_brokerage_authorization
|
72
72
|
# Refresh holdings for a connection
|
73
|
-
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. *Please contact support for access as this endpoint is not enabled by default.*
|
73
|
+
# Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occured. *Please contact support for access as this endpoint is not enabled by default.*
|
74
74
|
# @param authorization_id
|
75
75
|
# @param user_id
|
76
76
|
# @param user_secret
|
@@ -29,7 +29,7 @@ describe 'TransactionsAndReportingApi' do
|
|
29
29
|
|
30
30
|
# unit tests for get_activities
|
31
31
|
# Get transaction history for a user
|
32
|
-
# Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
32
|
+
# Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. The data returned here is always cached and refreshed once a day.
|
33
33
|
# @param user_id
|
34
34
|
# @param user_secret
|
35
35
|
# @param [Hash] opts the optional parameters
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snaptrade
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.72
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SnapTrade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -379,137 +379,137 @@ signing_key:
|
|
379
379
|
specification_version: 4
|
380
380
|
summary: SnapTrade Ruby Gem
|
381
381
|
test_files:
|
382
|
-
- spec/api/
|
382
|
+
- spec/api/transactions_and_reporting_api_spec.rb
|
383
|
+
- spec/api/connections_api_spec.rb
|
383
384
|
- spec/api/trading_api_spec.rb
|
385
|
+
- spec/api/api_status_api_spec.rb
|
384
386
|
- spec/api/reference_data_api_spec.rb
|
385
387
|
- spec/api/authentication_api_spec.rb
|
386
388
|
- spec/api/account_information_api_spec.rb
|
387
|
-
- spec/api/
|
388
|
-
- spec/api/connections_api_spec.rb
|
389
|
-
- spec/api/transactions_and_reporting_api_spec.rb
|
389
|
+
- spec/api/options_api_spec.rb
|
390
390
|
- spec/api_client_spec.rb
|
391
391
|
- spec/configuration_spec.rb
|
392
392
|
- spec/getting_started_spec.rb
|
393
|
-
- spec/models/
|
394
|
-
- spec/models/
|
395
|
-
- spec/models/
|
396
|
-
- spec/models/take_profit_spec.rb
|
397
|
-
- spec/models/exchange_spec.rb
|
398
|
-
- spec/models/manual_trade_form_with_options_stop_loss_spec.rb
|
399
|
-
- spec/models/manual_trade_spec.rb
|
400
|
-
- spec/models/login_redirect_uri_spec.rb
|
401
|
-
- spec/models/encrypted_response_encrypted_message_data_spec.rb
|
402
|
-
- spec/models/strategy_quotes_spec.rb
|
403
|
-
- spec/models/rate_of_return_object_spec.rb
|
404
|
-
- spec/models/account_sync_status_spec.rb
|
405
|
-
- spec/models/options_place_option_strategy_request_spec.rb
|
406
|
-
- spec/models/account_order_record_spec.rb
|
407
|
-
- spec/models/brokerage_spec.rb
|
408
|
-
- spec/models/time_in_force_strict_spec.rb
|
409
|
-
- spec/models/action_strict_with_options_spec.rb
|
410
|
-
- spec/models/exchange_rate_pairs_spec.rb
|
411
|
-
- spec/models/account_holdings_account_spec.rb
|
393
|
+
- spec/models/option_leg_spec.rb
|
394
|
+
- spec/models/symbols_quotes_inner_spec.rb
|
395
|
+
- spec/models/session_event_spec.rb
|
412
396
|
- spec/models/model403_failed_request_response_spec.rb
|
413
|
-
- spec/models/
|
414
|
-
- spec/models/
|
415
|
-
- spec/models/
|
416
|
-
- spec/models/
|
397
|
+
- spec/models/account_order_record_option_symbol_spec.rb
|
398
|
+
- spec/models/options_place_option_strategy_request_spec.rb
|
399
|
+
- spec/models/strategy_quotes_spec.rb
|
400
|
+
- spec/models/encrypted_response_spec.rb
|
401
|
+
- spec/models/model404_failed_request_response_spec.rb
|
402
|
+
- spec/models/option_strategy_legs_inner_spec.rb
|
403
|
+
- spec/models/universal_activity_currency_spec.rb
|
417
404
|
- spec/models/position_symbol_spec.rb
|
418
|
-
- spec/models/
|
419
|
-
- spec/models/
|
420
|
-
- spec/models/
|
421
|
-
- spec/models/
|
405
|
+
- spec/models/option_chain_inner_spec.rb
|
406
|
+
- spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
|
407
|
+
- spec/models/notional_value_spec.rb
|
408
|
+
- spec/models/manual_trade_form_with_options_take_profit_spec.rb
|
409
|
+
- spec/models/position_spec.rb
|
410
|
+
- spec/models/timeframe_spec.rb
|
411
|
+
- spec/models/option_type_spec.rb
|
412
|
+
- spec/models/snap_trade_holdings_account_spec.rb
|
413
|
+
- spec/models/sub_period_return_rate_spec.rb
|
422
414
|
- spec/models/universal_activity_spec.rb
|
415
|
+
- spec/models/past_value_spec.rb
|
416
|
+
- spec/models/holdings_status_spec.rb
|
417
|
+
- spec/models/net_contributions_spec.rb
|
418
|
+
- spec/models/brokerage_spec.rb
|
423
419
|
- spec/models/dividend_at_date_spec.rb
|
424
|
-
- spec/models/
|
425
|
-
- spec/models/account_holdings_spec.rb
|
426
|
-
- spec/models/underlying_symbol_type_spec.rb
|
427
|
-
- spec/models/model400_failed_request_response_spec.rb
|
428
|
-
- spec/models/session_event_spec.rb
|
420
|
+
- spec/models/account_balance_spec.rb
|
429
421
|
- spec/models/model403_feature_not_enabled_response_spec.rb
|
430
|
-
- spec/models/
|
431
|
-
- spec/models/
|
432
|
-
- spec/models/
|
433
|
-
- spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
|
434
|
-
- spec/models/security_type_spec.rb
|
435
|
-
- spec/models/option_strategy_spec.rb
|
436
|
-
- spec/models/order_type_strict_spec.rb
|
437
|
-
- spec/models/rate_of_return_response_spec.rb
|
438
|
-
- spec/models/net_dividend_spec.rb
|
439
|
-
- spec/models/symbol_figi_instrument_spec.rb
|
422
|
+
- spec/models/exchange_spec.rb
|
423
|
+
- spec/models/snap_trade_holdings_total_value_spec.rb
|
424
|
+
- spec/models/time_in_force_strict_spec.rb
|
440
425
|
- spec/models/options_position_currency_spec.rb
|
441
|
-
- spec/models/option_type_spec.rb
|
442
|
-
- spec/models/brokerage_authorization_spec.rb
|
443
|
-
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
444
|
-
- spec/models/manual_trade_form_with_options_take_profit_spec.rb
|
445
|
-
- spec/models/brokerage_authorization_refresh_confirmation_spec.rb
|
446
|
-
- spec/models/option_strategy_legs_inner_spec.rb
|
447
|
-
- spec/models/snap_trade_holdings_account_spec.rb
|
448
|
-
- spec/models/holdings_status_spec.rb
|
449
|
-
- spec/models/type_spec.rb
|
450
|
-
- spec/models/encrypted_response_spec.rb
|
451
|
-
- spec/models/option_chain_inner_spec.rb
|
452
|
-
- spec/models/balance_spec.rb
|
453
|
-
- spec/models/us_exchange_spec.rb
|
454
|
-
- spec/models/delete_user_response_spec.rb
|
455
|
-
- spec/models/symbol_exchange_spec.rb
|
456
|
-
- spec/models/account_order_record_option_symbol_spec.rb
|
457
|
-
- spec/models/universal_activity_currency_spec.rb
|
458
|
-
- spec/models/timeframe_spec.rb
|
459
|
-
- spec/models/sub_period_return_rate_spec.rb
|
460
|
-
- spec/models/universal_activity_symbol_spec.rb
|
461
|
-
- spec/models/position_spec.rb
|
462
|
-
- spec/models/recent_orders_response_spec.rb
|
463
426
|
- spec/models/symbol_spec.rb
|
464
|
-
- spec/models/option_leg_spec.rb
|
465
|
-
- spec/models/brokerage_authorization_disabled_confirmation_spec.rb
|
466
427
|
- spec/models/options_symbol_spec.rb
|
467
|
-
- spec/models/
|
468
|
-
- spec/models/
|
469
|
-
- spec/models/
|
428
|
+
- spec/models/order_class_spec.rb
|
429
|
+
- spec/models/trading_cancel_user_account_order_request_spec.rb
|
430
|
+
- spec/models/partner_data_spec.rb
|
431
|
+
- spec/models/manual_trade_impact_spec.rb
|
432
|
+
- spec/models/session_event_type_spec.rb
|
433
|
+
- spec/models/option_chain_inner_chain_per_root_inner_spec.rb
|
434
|
+
- spec/models/recent_orders_response_spec.rb
|
435
|
+
- spec/models/universal_symbol_spec.rb
|
436
|
+
- spec/models/manual_trade_form_with_options_spec.rb
|
437
|
+
- spec/models/delete_user_response_spec.rb
|
470
438
|
- spec/models/currency_spec.rb
|
439
|
+
- spec/models/brokerage_type_spec.rb
|
440
|
+
- spec/models/type_spec.rb
|
441
|
+
- spec/models/rate_of_return_object_spec.rb
|
442
|
+
- spec/models/manual_trade_balance_spec.rb
|
443
|
+
- spec/models/validated_trade_body_spec.rb
|
444
|
+
- spec/models/balance_spec.rb
|
445
|
+
- spec/models/manual_trade_form_spec.rb
|
446
|
+
- spec/models/security_type_spec.rb
|
471
447
|
- spec/models/figi_instrument_spec.rb
|
472
|
-
- spec/models/
|
448
|
+
- spec/models/encrypted_response_encrypted_message_data_spec.rb
|
449
|
+
- spec/models/underlying_symbol_type_spec.rb
|
473
450
|
- spec/models/performance_custom_spec.rb
|
451
|
+
- spec/models/auth_type_spec.rb
|
452
|
+
- spec/models/model402_brokerage_auth_disabled_response_spec.rb
|
453
|
+
- spec/models/symbol_currency_spec.rb
|
454
|
+
- spec/models/account_sync_status_spec.rb
|
455
|
+
- spec/models/account_order_record_universal_symbol_spec.rb
|
456
|
+
- spec/models/symbol_query_spec.rb
|
457
|
+
- spec/models/universal_activity_option_symbol_spec.rb
|
474
458
|
- spec/models/account_spec.rb
|
475
|
-
- spec/models/
|
476
|
-
- spec/models/
|
477
|
-
- spec/models/
|
459
|
+
- spec/models/model425_failed_request_response_spec.rb
|
460
|
+
- spec/models/strategy_type_spec.rb
|
461
|
+
- spec/models/action_strict_with_options_spec.rb
|
462
|
+
- spec/models/strategy_order_record_status_spec.rb
|
463
|
+
- spec/models/manual_trade_symbol_spec.rb
|
464
|
+
- spec/models/options_position_spec.rb
|
478
465
|
- spec/models/model401_failed_request_response_spec.rb
|
479
|
-
- spec/models/
|
480
|
-
- spec/models/
|
466
|
+
- spec/models/account_holdings_account_spec.rb
|
467
|
+
- spec/models/symbol_exchange_spec.rb
|
468
|
+
- spec/models/underlying_symbol_spec.rb
|
469
|
+
- spec/models/symbol_figi_instrument_spec.rb
|
470
|
+
- spec/models/balance_currency_spec.rb
|
471
|
+
- spec/models/option_strategy_spec.rb
|
472
|
+
- spec/models/model402_brokerage_auth_already_disabled_exception_spec.rb
|
473
|
+
- spec/models/stop_loss_spec.rb
|
474
|
+
- spec/models/status_spec.rb
|
475
|
+
- spec/models/connection_portal_version_spec.rb
|
476
|
+
- spec/models/model500_unexpected_exception_response_spec.rb
|
477
|
+
- spec/models/snap_trade_register_user_request_body_spec.rb
|
478
|
+
- spec/models/option_brokerage_symbol_spec.rb
|
479
|
+
- spec/models/manual_trade_form_notional_value_spec.rb
|
480
|
+
- spec/models/universal_activity_symbol_spec.rb
|
481
|
+
- spec/models/manual_trade_spec.rb
|
482
|
+
- spec/models/take_profit_spec.rb
|
483
|
+
- spec/models/brokerage_authorization_refresh_confirmation_spec.rb
|
484
|
+
- spec/models/net_dividend_spec.rb
|
485
|
+
- spec/models/account_order_record_spec.rb
|
486
|
+
- spec/models/user_i_dand_secret_spec.rb
|
487
|
+
- spec/models/authentication_login_snap_trade_user200_response_spec.rb
|
481
488
|
- spec/models/account_balance_total_spec.rb
|
482
|
-
- spec/models/
|
489
|
+
- spec/models/exchange_rate_pairs_spec.rb
|
490
|
+
- spec/models/brokerage_authorization_type_read_only_spec.rb
|
483
491
|
- spec/models/options_get_option_strategy_request_spec.rb
|
484
|
-
- spec/models/model500_unexpected_exception_response_spec.rb
|
485
|
-
- spec/models/strategy_type_spec.rb
|
486
492
|
- spec/models/strategy_quotes_greek_spec.rb
|
487
|
-
- spec/models/
|
493
|
+
- spec/models/monthly_dividends_spec.rb
|
494
|
+
- spec/models/model400_failed_request_response_spec.rb
|
495
|
+
- spec/models/account_holdings_spec.rb
|
496
|
+
- spec/models/brokerage_authorization_disabled_confirmation_spec.rb
|
488
497
|
- spec/models/connections_session_events200_response_inner_spec.rb
|
489
|
-
- spec/models/
|
490
|
-
- spec/models/
|
491
|
-
- spec/models/
|
492
|
-
- spec/models/
|
493
|
-
- spec/models/
|
494
|
-
- spec/models/
|
495
|
-
- spec/models/
|
496
|
-
- spec/models/
|
498
|
+
- spec/models/order_type_strict_spec.rb
|
499
|
+
- spec/models/connection_type_spec.rb
|
500
|
+
- spec/models/account_order_record_status_spec.rb
|
501
|
+
- spec/models/us_exchange_spec.rb
|
502
|
+
- spec/models/option_leg_action_spec.rb
|
503
|
+
- spec/models/transactions_status_spec.rb
|
504
|
+
- spec/models/account_simple_spec.rb
|
505
|
+
- spec/models/rate_of_return_response_spec.rb
|
506
|
+
- spec/models/manual_trade_and_impact_spec.rb
|
497
507
|
- spec/models/option_chain_inner_chain_per_root_inner_chain_per_strike_price_inner_spec.rb
|
498
|
-
- spec/models/option_chain_inner_chain_per_root_inner_spec.rb
|
499
|
-
- spec/models/brokerage_authorization_type_read_only_brokerage_spec.rb
|
500
|
-
- spec/models/net_contributions_spec.rb
|
501
|
-
- spec/models/underlying_symbol_spec.rb
|
502
|
-
- spec/models/symbols_quotes_inner_spec.rb
|
503
|
-
- spec/models/account_order_record_universal_symbol_spec.rb
|
504
508
|
- spec/models/strategy_order_record_spec.rb
|
505
|
-
- spec/models/
|
506
|
-
- spec/models/
|
507
|
-
- spec/models/
|
508
|
-
- spec/models/
|
509
|
-
- spec/models/
|
510
|
-
- spec/models/
|
511
|
-
- spec/models/universal_symbol_spec.rb
|
512
|
-
- spec/models/balance_currency_spec.rb
|
513
|
-
- spec/models/model404_failed_request_response_spec.rb
|
514
|
-
- spec/models/option_leg_action_spec.rb
|
509
|
+
- spec/models/manual_trade_form_with_options_stop_loss_spec.rb
|
510
|
+
- spec/models/login_redirect_uri_spec.rb
|
511
|
+
- spec/models/brokerage_authorization_spec.rb
|
512
|
+
- spec/models/underlying_symbol_exchange_spec.rb
|
513
|
+
- spec/models/action_strict_spec.rb
|
514
|
+
- spec/models/snap_trade_login_user_request_body_spec.rb
|
515
515
|
- spec/spec_helper.rb
|