kraken_bridge 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 5397bfb623a5433ebf88507b946ec3536ed334d4af933b02d8eb2f09747bb9f9
4
+ data.tar.gz: 4fca7ecc5019b00cdf3e83d17df57d65648e9475c02a5de3c74082fec4e8c583
5
+ SHA512:
6
+ metadata.gz: 1a12ffd53e72cbf456ceb73ec8e9720f7b74bd9092187ac65b874e122bede6b0f61feeed549f76583e4b4832ea230c2073c94861ec0d8a860735b8ebd0a7e441
7
+ data.tar.gz: 58dcd2398cc142701c2ac3de14c1a4c25e84637ddc900a82f42ee9c52d5f9f1d49d42016e3f1b70192920beefb7da8e3c069fc9689bdfbcfd68e989f81f47ed9
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --require spec_helper
2
+ --color
3
+ --format documentation
4
+ --order random
data/.rubocop.yml ADDED
@@ -0,0 +1,69 @@
1
+ require:
2
+ - rubocop-rspec
3
+
4
+ AllCops:
5
+ TargetRubyVersion: 3.1
6
+ SuggestExtensions: false
7
+ NewCops: enable
8
+ Exclude:
9
+ - 'vendor/**/*'
10
+ - 'bin/**/*'
11
+ - 'node_modules/**/*'
12
+
13
+ Layout/LineLength:
14
+ Max: 120
15
+ AllowedPatterns: ['\A#']
16
+
17
+ Layout/MultilineMethodCallIndentation:
18
+ EnforcedStyle: indented
19
+
20
+ Style/Documentation:
21
+ Enabled: false
22
+
23
+ Style/StringLiterals:
24
+ EnforcedStyle: single_quotes
25
+
26
+ Style/FrozenStringLiteralComment:
27
+ Enabled: true
28
+ EnforcedStyle: always
29
+
30
+ Style/HashSyntax:
31
+ EnforcedStyle: ruby19
32
+
33
+ Metrics/BlockLength:
34
+ Exclude:
35
+ - 'spec/**/*'
36
+ - '*.gemspec'
37
+
38
+ Metrics/MethodLength:
39
+ Max: 25
40
+ Exclude:
41
+ - 'spec/**/*'
42
+
43
+ Metrics/ClassLength:
44
+ Max: 150
45
+
46
+ Metrics/ModuleLength:
47
+ Max: 150
48
+
49
+ Metrics/AbcSize:
50
+ Max: 30
51
+
52
+ Metrics/CyclomaticComplexity:
53
+ Max: 10
54
+
55
+ Metrics/PerceivedComplexity:
56
+ Max: 10
57
+
58
+ Metrics/ParameterLists:
59
+ Max: 6
60
+
61
+ # RSpec
62
+ RSpec/ExampleLength:
63
+ Max: 15
64
+
65
+ RSpec/MultipleExpectations:
66
+ Max: 5
67
+
68
+ RSpec/NestedGroups:
69
+ Max: 4
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2025-12-02
4
+
5
+ - Initial release
@@ -0,0 +1,132 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [INSERT CONTACT METHOD].
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
+
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 balram
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,267 @@
1
+ # KrakenBridge
2
+
3
+ A comprehensive Ruby gem for seamless integration with Kraken cryptocurrency exchange APIs. Supports both REST and WebSocket protocols for public market data and authenticated trading operations.
4
+
5
+ ## Features
6
+
7
+ - ✅ **Complete REST API Support**: Public and private endpoints
8
+ - ✅ **WebSocket Real-time Feeds**: Ticker, trades, OHLC/Klines, and spread data
9
+ - ✅ **Automatic Nonce Generation**: Millisecond-precision timestamps
10
+ - ✅ **Signature Generation**: HMAC-SHA512 authentication per Kraken specs
11
+ - ✅ **Rate Limiting**: Built-in request rate limiting
12
+ - ✅ **Automatic Retries**: Configurable retry logic with exponential backoff
13
+ - ✅ **Error Handling**: Comprehensive error classes and logging
14
+ - ✅ **2FA Support**: Optional OTP parameter for two-factor-authenticated accounts
15
+
16
+ ## Installation
17
+
18
+ Add this line to your application's Gemfile:
19
+
20
+ ```ruby
21
+ gem 'kraken_bridge'
22
+ ```
23
+
24
+ Then execute:
25
+
26
+ ```bash
27
+ bundle install
28
+ ```
29
+
30
+ Or install it yourself:
31
+
32
+ ```bash
33
+ gem install kraken_bridge
34
+ ```
35
+
36
+ ## Quick Start
37
+
38
+ ### Basic Usage - Public API
39
+
40
+ ```ruby
41
+ require 'kraken_bridge'
42
+
43
+ client = KrakenBridge::Client.new
44
+
45
+ # Get server time
46
+ time = client.market_data.time
47
+ puts time.data
48
+
49
+ # Get ticker data
50
+ ticker = client.market_data.ticker(['XBTUSD', 'ETHUSD'])
51
+ puts ticker.data
52
+
53
+ # Get OHLC data
54
+ ohlc = client.market_data.ohlc('XBTUSD', interval: 1)
55
+ puts ohlc.data
56
+ ```
57
+
58
+ ### Authenticated Requests - Private API
59
+
60
+ ```ruby
61
+ require 'kraken_bridge'
62
+
63
+ client = KrakenBridge::Client.new(
64
+ api_key: ENV['KRAKEN_API_KEY'],
65
+ api_secret: ENV['KRAKEN_API_SECRET']
66
+ )
67
+
68
+ # Get account balance
69
+ balance = client.account.balance
70
+ puts balance.data
71
+
72
+ # Place a buy order
73
+ order = client.trading.add_order(
74
+ pair: 'XBTUSD',
75
+ type: 'buy',
76
+ ordertype: 'limit',
77
+ volume: 0.01,
78
+ price: 25000
79
+ )
80
+ puts order.data
81
+ ```
82
+
83
+ ### WebSocket - Real-time Data
84
+
85
+ ```ruby
86
+ require 'kraken_bridge'
87
+
88
+ client = KrakenBridge::Client.new
89
+
90
+ # Connect to WebSocket
91
+ client.connect_websocket do |message|
92
+ puts "Raw message: #{message.inspect}"
93
+ end
94
+
95
+ # Subscribe to ticker
96
+ client.subscribe_ticker(['XBTUSD']) do |data|
97
+ puts "Ticker: #{data}"
98
+ end
99
+
100
+ # Subscribe to trades
101
+ client.subscribe_trades(['XBTUSD']) do |data|
102
+ puts "Trade: #{data}"
103
+ end
104
+
105
+ # Subscribe to OHLC/Klines
106
+ client.subscribe_ohlc(['XBTUSD'], interval: 1) do |data|
107
+ puts "OHLC: #{data}"
108
+ end
109
+
110
+ # Let it run for 30 seconds
111
+ sleep(30)
112
+
113
+ # Disconnect
114
+ client.disconnect_websocket
115
+ ```
116
+
117
+ ## Configuration
118
+
119
+ ### Environment Variables
120
+
121
+ ```bash
122
+ export KRAKEN_API_KEY="your_public_api_key"
123
+ export KRAKEN_API_SECRET="your_base64_encoded_private_key"
124
+ export KRAKEN_API_URL="https://api.kraken.com" # Optional
125
+ export KRAKEN_WEBSOCKET_URL="wss://ws.kraken.com" # Optional
126
+ ```
127
+
128
+ ### Programmatic Configuration
129
+
130
+ ```ruby
131
+ client = KrakenBridge::Client.new(
132
+ api_key: 'your_api_key',
133
+ api_secret: 'your_api_secret',
134
+ timeout: 60,
135
+ open_timeout: 10,
136
+ rate_limit_enabled: true,
137
+ retry_enabled: true,
138
+ max_retries: 3,
139
+ log_level: Logger::DEBUG
140
+ )
141
+ ```
142
+
143
+ ## API Reference
144
+
145
+ ### Market Data (Public)
146
+
147
+ ```ruby
148
+ client.market_data.time
149
+ client.market_data.system_status
150
+ client.market_data.assets(assets: ['BTC', 'ETH'])
151
+ client.market_data.asset_pairs(pairs: ['XBTUSD', 'ETHUSD'])
152
+ client.market_data.ticker(['XBTUSD', 'ETHUSD'])
153
+ client.market_data.ohlc('XBTUSD', interval: 1)
154
+ client.market_data.order_book('XBTUSD')
155
+ client.market_data.trades('XBTUSD')
156
+ client.market_data.spread('XBTUSD')
157
+ ```
158
+
159
+ ### Account (Private)
160
+
161
+ ```ruby
162
+ client.account.balance
163
+ client.account.extended_balance
164
+ client.account.trade_balance
165
+ client.account.open_orders
166
+ client.account.closed_orders
167
+ client.account.query_orders(txid: 'order_id')
168
+ client.account.trades_history
169
+ client.account.query_trades(txid: 'trade_id')
170
+ client.account.open_positions
171
+ client.account.ledger
172
+ client.account.query_ledger(id: 'entry_id')
173
+ client.account.trade_volume
174
+ client.account.request_export_report(description: 'Report', report: 'trades')
175
+ client.account.get_export_report(report: 'trades')
176
+ ```
177
+
178
+ ### Trading (Private)
179
+
180
+ ```ruby
181
+ client.trading.add_order(pair: 'XBTUSD', type: 'buy', ordertype: 'limit', volume: 0.01, price: 25000)
182
+ client.trading.edit_order(txid: 'order_id', volume: 0.02, price: 26000)
183
+ client.trading.cancel_order('order_id')
184
+ client.trading.cancel_all_orders
185
+ client.trading.cancel_all_orders_after(timeout: 300)
186
+ ```
187
+
188
+ ### WebSocket (Public Feeds)
189
+
190
+ ```ruby
191
+ client.connect_websocket { |msg| puts msg }
192
+ client.subscribe_ticker(['XBTUSD']) { |data| puts data }
193
+ client.subscribe_trades(['XBTUSD']) { |data| puts data }
194
+ client.subscribe_ohlc(['XBTUSD'], interval: 1) { |data| puts data }
195
+ client.subscribe_spread(['XBTUSD']) { |data| puts data }
196
+ client.disconnect_websocket
197
+ ```
198
+
199
+ ## Error Handling
200
+
201
+ ```ruby
202
+ begin
203
+ balance = client.account.balance
204
+ rescue KrakenBridge::Errors::AuthenticationError => e
205
+ puts "Authentication failed: #{e.message}"
206
+ rescue KrakenBridge::Errors::RateLimitError => e
207
+ puts "Rate limited: #{e.message}"
208
+ rescue KrakenBridge::Errors::ConnectionError => e
209
+ puts "Connection failed: #{e.message}"
210
+ end
211
+ ```
212
+
213
+ ## 2FA (Two-Factor Authentication)
214
+
215
+ ```ruby
216
+ otp = '123456'
217
+ client.account.balance(otp: otp)
218
+ client.trading.add_order(pair: 'XBTUSD', type: 'buy', ordertype: 'limit', volume: 0.01, price: 25000, otp: otp)
219
+ ```
220
+
221
+ ## Testing
222
+
223
+ ```bash
224
+ bundle exec rspec
225
+ ```
226
+
227
+ ## Security Recommendations
228
+
229
+ ⚠️ **Important:**
230
+
231
+ - Never commit API keys to version control
232
+ - Use environment variables or secrets manager
233
+ - Enable IP whitelisting on API keys
234
+ - Use 2FA on your Kraken account
235
+ - Rotate API keys regularly
236
+ - Use read-only keys where possible
237
+
238
+ ## Troubleshooting
239
+
240
+ ### "EAPI:Invalid key"
241
+ - Verify API key and secret are correct
242
+ - Ensure API secret is base64 encoded
243
+ - Check system clock is synchronized
244
+
245
+ ### "EAPI:Invalid nonce"
246
+ - Sync system clock with NTP
247
+ - Use separate API keys for different processes
248
+
249
+ ### Rate Limit Exceeded
250
+ - Use WebSocket for real-time data
251
+ - Increase time between requests
252
+ - Enable automatic retries (enabled by default)
253
+
254
+ ## Contributing
255
+
256
+ Bug reports and pull requests are welcome on [GitHub](https://github.com/balram/kraken_bridge).
257
+
258
+ ## License
259
+
260
+ The gem is available as open source under the terms of the [MIT License](LICENSE.txt).
261
+
262
+ ## References
263
+
264
+ - [Kraken API Documentation](https://docs.kraken.com/api/)
265
+ - [Kraken REST API](https://docs.kraken.com/rest-api)
266
+ - [Kraken WebSocket API](https://docs.kraken.com/websockets)
267
+ - [Create Kraken API Key](https://support.kraken.com/hc/en-us/articles/360000919966)
data/Rakefile ADDED
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+ require 'rubocop/rake_task'
6
+
7
+ RSpec::Core::RakeTask.new(:spec)
8
+ RuboCop::RakeTask.new
9
+
10
+ task default: %i[spec rubocop]
11
+
12
+ desc 'Run RSpec with coverage'
13
+ task :coverage do
14
+ ENV['COVERAGE'] = 'true'
15
+ Rake::Task['spec'].execute
16
+ end
17
+
18
+ desc 'Console for development'
19
+ task :console do
20
+ require 'irb'
21
+ require 'kraken_bridge'
22
+ ARGV.clear
23
+ IRB.start
24
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module KrakenBridge
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'json'
4
+ require 'net/http'
5
+ require 'openssl'
6
+ require 'base64'
7
+ require 'websocket-client-simple'
8
+ require 'logger'
9
+
10
+ require_relative 'kraken_bridge/version'
11
+ require_relative 'kraken_bridge/configuration'
12
+ require_relative 'kraken_bridge/client'
13
+
14
+ # Errors
15
+ require_relative 'kraken_bridge/errors/base_error'
16
+ require_relative 'kraken_bridge/errors/api_error'
17
+ require_relative 'kraken_bridge/errors/authentication_error'
18
+ require_relative 'kraken_bridge/errors/rate_limit_error'
19
+ require_relative 'kraken_bridge/errors/connection_error'
20
+ require_relative 'kraken_bridge/errors/validation_error'
21
+
22
+ # Utils
23
+ require_relative 'kraken_bridge/utils/signature'
24
+ require_relative 'kraken_bridge/utils/nonce_generator'
25
+ # require_relative 'kraken_bridge/utils/url_builder'
26
+ # require_relative 'kraken_bridge/utils/validator'
27
+
28
+ # Middleware
29
+ require_relative 'kraken_bridge/middleware/rate_limiter'
30
+ require_relative 'kraken_bridge/middleware/retry_handler'
31
+ require_relative 'kraken_bridge/middleware/logger'
32
+ require_relative 'kraken_bridge/middleware/error_handler'
33
+
34
+ # REST
35
+ require_relative 'kraken_bridge/rest/authentication'
36
+ require_relative 'kraken_bridge/rest/request'
37
+ require_relative 'kraken_bridge/rest/response'
38
+ require_relative 'kraken_bridge/rest/connection'
39
+ require_relative 'kraken_bridge/rest/endpoints/base'
40
+ require_relative 'kraken_bridge/rest/endpoints/market_data'
41
+ require_relative 'kraken_bridge/rest/endpoints/account'
42
+ require_relative 'kraken_bridge/rest/endpoints/trading'
43
+ # require_relative 'kraken_bridge/rest/endpoints/funding'
44
+ require_relative 'kraken_bridge/rest/client'
45
+
46
+ # WebSocket
47
+ require_relative 'kraken_bridge/websocket/message_handler'
48
+ require_relative 'kraken_bridge/websocket/connection'
49
+ require_relative 'kraken_bridge/websocket/client'
50
+
51
+ # Models
52
+ # require_relative 'kraken_bridge/models/base'
53
+ # require_relative 'kraken_bridge/models/ticker'
54
+ # require_relative 'kraken_bridge/models/trade'
55
+ # require_relative 'kraken_bridge/models/order'
56
+ # require_relative 'kraken_bridge/models/order_book'
57
+ # require_relative 'kraken_bridge/models/balance'
58
+
59
+ module KrakenBridge
60
+ class << self
61
+ attr_writer :configuration
62
+
63
+ def configuration
64
+ @configuration ||= Configuration.new
65
+ end
66
+
67
+ def configure
68
+ yield(configuration)
69
+ end
70
+
71
+ def reset_configuration!
72
+ @configuration = Configuration.new
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,4 @@
1
+ module KrakenBridge
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kraken_bridge
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - balram
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2025-12-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: websocket-client-simple
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '13.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '13.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.12'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.12'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.50'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.50'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.20'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.20'
97
+ - !ruby/object:Gem::Dependency
98
+ name: vcr
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '6.1'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '6.1'
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.18'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.18'
125
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.22'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.22'
139
+ - !ruby/object:Gem::Dependency
140
+ name: yard
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.9'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.9'
153
+ description: A comprehensive, well-structured Ruby gem for integrating with Kraken
154
+ cryptocurrency exchange REST and WebSocket APIs. Features include rate limiting,
155
+ automatic retries, error handling, and full support for public and private endpoints.
156
+ email:
157
+ - devloper.balram@gmail.com
158
+ executables: []
159
+ extensions: []
160
+ extra_rdoc_files: []
161
+ files:
162
+ - ".rspec"
163
+ - ".rubocop.yml"
164
+ - CHANGELOG.md
165
+ - CODE_OF_CONDUCT.md
166
+ - LICENSE.txt
167
+ - README.md
168
+ - Rakefile
169
+ - lib/kraken_bridge.rb
170
+ - lib/kraken_bridge/version.rb
171
+ - sig/kraken_bridge.rbs
172
+ homepage: https://github.com/balram2107/kraken_bridge
173
+ licenses:
174
+ - MIT
175
+ metadata:
176
+ homepage_uri: https://github.com/balram2107/kraken_bridge
177
+ source_code_uri: https://github.com/balram2107/kraken_bridge
178
+ changelog_uri: https://github.com/balram2107/kraken_bridge/blob/main/CHANGELOG.md
179
+ documentation_uri: https://github.com/balram2107/kraken_bridge/blob/main/README.md
180
+ post_install_message:
181
+ rdoc_options: []
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: 3.0.0
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ requirements: []
195
+ rubygems_version: 3.3.3
196
+ signing_key:
197
+ specification_version: 4
198
+ summary: Ruby client for Kraken REST and WebSocket APIs
199
+ test_files: []