polygonio-ruby 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/lib/polygonio/version.rb +1 -1
- data/lib/polygonio/websocket/client.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd2208137de88cf3903e8b70d4326b7a980cbb53e73ef35ee5740cb39574d57b
|
4
|
+
data.tar.gz: 428d7c0d6b41c1ded06a0fbfbe5bce4e3fd6ecf29765560ba35323328d26caa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1e82c65515334bfaaeecbf124394e7a40664c3fb9b44a3e47ab26ae8092e7693514055c687614236b874f9f096ca5d51734e1f0ff69f611b49c4a02a32116b0
|
7
|
+
data.tar.gz: c064a8089b8a56f25f5e36f24f75460ed5da618aefa5fb7de2797653011294e8ca57e61a666bd2d80e934312d231f2848293259983cda1b4d836a196ee779320
|
data/README.md
CHANGED
@@ -48,3 +48,13 @@ Polygonio::Websocket::Client.new("crypto", api_key).subscribe("XQ.BTC-USD") do |
|
|
48
48
|
pp event
|
49
49
|
end
|
50
50
|
```
|
51
|
+
|
52
|
+
Using delayed websockets. If your account only supports delayed feeds you will need to use the delayed websocket endpoint
|
53
|
+
|
54
|
+
```ruby
|
55
|
+
Polygonio::Websocket::Client.new("stocks", api_key, delayed: true).subscribe("AM.*,A.*,T.*") do |event|
|
56
|
+
pp "Incoming message"
|
57
|
+
pp event
|
58
|
+
end
|
59
|
+
```
|
60
|
+
|
data/lib/polygonio/version.rb
CHANGED