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.
- checksums.yaml +4 -4
- data/README.md +45 -1
- data/lib/honeymaker/version.rb +1 -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: a49e9be8c0e38711e061c2ea61373bbce84dfe3f779c5e6933fdc2c8185b942b
|
|
4
|
+
data.tar.gz: c9dda3aa8c109c0db2bdcaf086f4b86fe95214cc7a6690d39b921e1182a08766
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/honeymaker/version.rb
CHANGED