honeymaker 0.5.0 → 0.5.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +45 -1
  3. data/lib/honeymaker/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3263fa7b4c91808f48416df3570c42d21948759fb5190b9fe523671da953ce29
4
- data.tar.gz: ffb885474e57533e933cbeb36d81f6c63586e4b84282322757ebfaef3037b046
3
+ metadata.gz: a49e9be8c0e38711e061c2ea61373bbce84dfe3f779c5e6933fdc2c8185b942b
4
+ data.tar.gz: c9dda3aa8c109c0db2bdcaf086f4b86fe95214cc7a6690d39b921e1182a08766
5
5
  SHA512:
6
- metadata.gz: 4c76739afb0c6239ae6af0e2292646c43aba16a6ef1abf004ad1df65b9a305a6ca47976517ae5ca01ffa3ca6e1b3889882315ae33e15ef695b2f97b711764f51
7
- data.tar.gz: 4c4c7b51f95757f0ef330c54abdc215dd01bc6dc5242de1c2367b5cbe80188207715b7ab6534cd682b86cf27bc7fed62ae4016bcc46ba94fc89c2b7b88df8104
6
+ metadata.gz: 7fe8a3cd0df1bea5355498e117887e854716d8050bdfe12009c9b1f0225771b1a18ad59030dfdd1418629df8db06805d79e38392ab99f3b300f93e4a87a52c3b
7
+ data.tar.gz: 49e17edfcc5982629034cc755c315fc772188cc9a232102478eaf984522ed4df261bb55818bb0e62dcbe0b9f3a9a15c20759ef2199015da70d48a1b8098a22b3
data/README.md CHANGED
@@ -8,7 +8,7 @@ Ruby clients for cryptocurrency exchange APIs. Originally extracted from [Deltab
8
8
 
9
9
  ## Supported Exchanges
10
10
 
11
- Binance, Binance US, Kraken, Coinbase, Bybit, KuCoin, Bitget, MEXC, Bitvavo, Gemini, Hyperliquid, BingX, Bitrue, BitMart.
11
+ Binance, Binance US, Kraken, Kraken Futures, Coinbase, Bybit, KuCoin, Bitget, MEXC, Bitvavo, Gemini, Hyperliquid, BingX, Bitrue, BitMart.
12
12
 
13
13
  ## Installation
14
14
 
@@ -90,6 +90,50 @@ if result.success?
90
90
  end
91
91
  ```
92
92
 
93
+ ### Account History (Tax Reporting)
94
+
95
+ History endpoints for margin, futures, staking/earn, and other tax-relevant events:
96
+
97
+ ```ruby
98
+ # Margin
99
+ client.margin_borrow_repay_history(type: "BORROW") # Binance
100
+ client.margin_interest_history # Binance, KuCoin, Bitget
101
+ client.margin_force_liquidation # Binance
102
+
103
+ # Futures
104
+ client.futures_income_history(income_type: "REALIZED_PNL") # Binance USDT-M
105
+ client.coin_futures_income_history # Binance Coin-M
106
+ client.futures_account_bills(product_type: "USDT-FUTURES") # Bitget
107
+ client.futures_income # BingX
108
+
109
+ # Staking / Earn
110
+ client.simple_earn_flexible_rewards # Binance
111
+ client.simple_earn_locked_subscriptions # Binance
112
+ client.earn_yield_history # Bybit
113
+ client.staking_rewards # Gemini
114
+ client.staking_rewards_history # Binance US
115
+
116
+ # Other
117
+ client.universal_transfer_history(type: "MAIN_MARGIN") # Binance
118
+ client.dust_log # Binance
119
+ client.asset_dividend # Binance
120
+ ```
121
+
122
+ Coverage varies by exchange. Kraken's `get_ledgers(type:)` covers margin, staking, and trades in a single endpoint. Coinbase's `list_transactions` covers 30+ event types.
123
+
124
+ ### Kraken Futures
125
+
126
+ Kraken Futures uses separate API keys and a different auth scheme — it's a standalone client:
127
+
128
+ ```ruby
129
+ client = Honeymaker.client("kraken_futures", api_key: "...", api_secret: "...")
130
+
131
+ client.get_accounts # wallet balances, margin, PnL
132
+ client.get_fills # trade fills
133
+ client.get_open_positions # open positions
134
+ client.historical_funding_rates(symbol: "PF_XBTUSD") # funding rate history
135
+ ```
136
+
93
137
  ### Credential Validation
94
138
 
95
139
  ```ruby
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Honeymaker
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeymaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Deltabadger