snaptrade 2.0.217 → 2.0.218
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 +2 -2
- data/lib/snaptrade/models/account_order_record_leg_instrument.rb +1 -1
- data/lib/snaptrade/models/account_position.rb +1 -1
- data/lib/snaptrade/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df09f0dc7cd368a4b9ba89aa558208b596e4b24f3473d4ba9cfac9cdd2ff0ea5
|
|
4
|
+
data.tar.gz: 2b87db090d21c6bc009e7210301022e9f12dbab9667da3db93fae260666a674b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8bc3607aa168651c4493837d8f8b2bb53868eb0017769cf2ec97f2c10e9fe58f645d5be71565afa1bbdc0b7ac16bfc28e4fb4957443319594ae5cfd1e6f630f7
|
|
7
|
+
data.tar.gz: a2cc662f0de7a8750171dfe82d8295f5f39dee56582ed6d721030aaf430a569067815bdaeeaa2e9bc52772bc4d7e1e64a95bb8d14462868f210031d09946730b
|
data/Gemfile.lock
CHANGED
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.218)
|
|
10
10
|
[](https://snaptrade.com/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
@@ -94,7 +94,7 @@ Connect brokerage accounts to your app for live positions and trading
|
|
|
94
94
|
Add to Gemfile:
|
|
95
95
|
|
|
96
96
|
```ruby
|
|
97
|
-
gem 'snaptrade', '~> 2.0.
|
|
97
|
+
gem 'snaptrade', '~> 2.0.218'
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -22,7 +22,7 @@ module SnapTrade
|
|
|
22
22
|
# Type of instrument for the leg. - EQUITY - OPTION - CRYPTO
|
|
23
23
|
attr_accessor :asset_type
|
|
24
24
|
|
|
25
|
-
# Market Identifier Code (MIC) for the exchange on which the instrument trades.
|
|
25
|
+
# Market Identifier Code (MIC) for the exchange on which the instrument trades. Omitted for instruments with no listing exchange, such as index options (VIX, SPX).
|
|
26
26
|
attr_accessor :exchange_mic_code
|
|
27
27
|
|
|
28
28
|
# Financial Instrument Global Identifier (FIGI) if available.
|
|
@@ -21,7 +21,7 @@ module SnapTrade
|
|
|
21
21
|
# Last known market price _per share_. The freshness of this price depends on the brokerage. Some brokerages provide real-time prices, while others provide delayed prices. It is recommended that you rely on your own third-party market data provider for most up to date prices.
|
|
22
22
|
attr_accessor :price
|
|
23
23
|
|
|
24
|
-
# Book price or average purchase price for the position. For options, this is per-
|
|
24
|
+
# Book price or average purchase price for the position. For options, this is per-share.
|
|
25
25
|
attr_accessor :cost_basis
|
|
26
26
|
|
|
27
27
|
# ISO-4217 currency code for the position `price` and `cost_basis`.
|
data/lib/snaptrade/version.rb
CHANGED
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.218
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SnapTrade
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|