snaptrade 2.0.202 → 2.0.204
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 +1 -1
- data/README.md +24 -9
- data/lib/snaptrade/api/experimental_endpoints_api.rb +21 -17
- data/lib/snaptrade/api/trading_api.rb +14 -6
- data/lib/snaptrade/models/all_account_positions_response.rb +18 -4
- data/lib/snaptrade/models/all_account_positions_response_data_freshness.rb +223 -0
- data/lib/snaptrade/models/manual_trade_form_complex.rb +0 -1
- data/lib/snaptrade/models/manual_trade_form_with_options.rb +28 -7
- data/lib/snaptrade/models/manual_trade_place_time_in_force_strict.rb +40 -0
- data/lib/snaptrade/models/trade_detection_add_subscription_request.rb +38 -4
- data/lib/snaptrade/models/trade_detection_cancel_subscription_request.rb +222 -0
- data/lib/snaptrade/version.rb +1 -1
- data/lib/snaptrade.rb +3 -0
- data/spec/api/experimental_endpoints_api_spec.rb +1 -1
- data/spec/models/all_account_positions_response_data_freshness_spec.rb +29 -0
- data/spec/models/all_account_positions_response_spec.rb +6 -0
- data/spec/models/manual_trade_form_with_options_spec.rb +12 -0
- data/spec/models/manual_trade_place_time_in_force_strict_spec.rb +23 -0
- data/spec/models/trade_detection_add_subscription_request_spec.rb +6 -0
- data/spec/models/trade_detection_cancel_subscription_request_spec.rb +29 -0
- metadata +11 -2
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.204
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SnapTrade
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -131,6 +131,7 @@ files:
|
|
|
131
131
|
- lib/snaptrade/models/adr_instrument.rb
|
|
132
132
|
- lib/snaptrade/models/adr_instrument_kind.rb
|
|
133
133
|
- lib/snaptrade/models/all_account_positions_response.rb
|
|
134
|
+
- lib/snaptrade/models/all_account_positions_response_data_freshness.rb
|
|
134
135
|
- lib/snaptrade/models/auth_type.rb
|
|
135
136
|
- lib/snaptrade/models/authentication_login_snap_trade_user200_response.rb
|
|
136
137
|
- lib/snaptrade/models/balance.rb
|
|
@@ -196,6 +197,7 @@ files:
|
|
|
196
197
|
- lib/snaptrade/models/manual_trade_form_notional_value.rb
|
|
197
198
|
- lib/snaptrade/models/manual_trade_form_with_options.rb
|
|
198
199
|
- lib/snaptrade/models/manual_trade_impact.rb
|
|
200
|
+
- lib/snaptrade/models/manual_trade_place_time_in_force_strict.rb
|
|
199
201
|
- lib/snaptrade/models/manual_trade_replace_form.rb
|
|
200
202
|
- lib/snaptrade/models/manual_trade_symbol.rb
|
|
201
203
|
- lib/snaptrade/models/mleg_action_strict.rb
|
|
@@ -286,6 +288,7 @@ files:
|
|
|
286
288
|
- lib/snaptrade/models/time_in_force_strict.rb
|
|
287
289
|
- lib/snaptrade/models/timeframe.rb
|
|
288
290
|
- lib/snaptrade/models/trade_detection_add_subscription_request.rb
|
|
291
|
+
- lib/snaptrade/models/trade_detection_cancel_subscription_request.rb
|
|
289
292
|
- lib/snaptrade/models/trade_detection_cancel_subscription_response.rb
|
|
290
293
|
- lib/snaptrade/models/trade_detection_subscription.rb
|
|
291
294
|
- lib/snaptrade/models/trading_instrument.rb
|
|
@@ -352,6 +355,7 @@ files:
|
|
|
352
355
|
- spec/models/action_strict_with_options_spec.rb
|
|
353
356
|
- spec/models/adr_instrument_kind_spec.rb
|
|
354
357
|
- spec/models/adr_instrument_spec.rb
|
|
358
|
+
- spec/models/all_account_positions_response_data_freshness_spec.rb
|
|
355
359
|
- spec/models/all_account_positions_response_spec.rb
|
|
356
360
|
- spec/models/auth_type_spec.rb
|
|
357
361
|
- spec/models/authentication_login_snap_trade_user200_response_spec.rb
|
|
@@ -417,6 +421,7 @@ files:
|
|
|
417
421
|
- spec/models/manual_trade_form_spec.rb
|
|
418
422
|
- spec/models/manual_trade_form_with_options_spec.rb
|
|
419
423
|
- spec/models/manual_trade_impact_spec.rb
|
|
424
|
+
- spec/models/manual_trade_place_time_in_force_strict_spec.rb
|
|
420
425
|
- spec/models/manual_trade_replace_form_spec.rb
|
|
421
426
|
- spec/models/manual_trade_spec.rb
|
|
422
427
|
- spec/models/manual_trade_symbol_spec.rb
|
|
@@ -508,6 +513,7 @@ files:
|
|
|
508
513
|
- spec/models/time_in_force_strict_spec.rb
|
|
509
514
|
- spec/models/timeframe_spec.rb
|
|
510
515
|
- spec/models/trade_detection_add_subscription_request_spec.rb
|
|
516
|
+
- spec/models/trade_detection_cancel_subscription_request_spec.rb
|
|
511
517
|
- spec/models/trade_detection_cancel_subscription_response_spec.rb
|
|
512
518
|
- spec/models/trade_detection_subscription_spec.rb
|
|
513
519
|
- spec/models/trading_instrument_spec.rb
|
|
@@ -624,7 +630,9 @@ test_files:
|
|
|
624
630
|
- spec/models/account_order_record_child_brokerage_order_ids_spec.rb
|
|
625
631
|
- spec/models/brokerage_authorization_type_read_only_type_spec.rb
|
|
626
632
|
- spec/models/model403_feature_not_enabled_response_spec.rb
|
|
633
|
+
- spec/models/all_account_positions_response_data_freshness_spec.rb
|
|
627
634
|
- spec/models/account_order_record_universal_symbol_spec.rb
|
|
635
|
+
- spec/models/trade_detection_cancel_subscription_request_spec.rb
|
|
628
636
|
- spec/models/account_order_record_spec.rb
|
|
629
637
|
- spec/models/crypto_order_form_type_spec.rb
|
|
630
638
|
- spec/models/encrypted_response_spec.rb
|
|
@@ -684,6 +692,7 @@ test_files:
|
|
|
684
692
|
- spec/models/monthly_dividends_spec.rb
|
|
685
693
|
- spec/models/manual_trade_form_with_options_spec.rb
|
|
686
694
|
- spec/models/brokerage_instrument_spec.rb
|
|
695
|
+
- spec/models/manual_trade_place_time_in_force_strict_spec.rb
|
|
687
696
|
- spec/models/stop_loss_spec.rb
|
|
688
697
|
- spec/models/instrument_spec.rb
|
|
689
698
|
- spec/models/performance_custom_spec.rb
|