hyperliquid 0.4.67__tar.gz → 0.4.68__tar.gz
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.
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/PKG-INFO +31 -1
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/README.md +30 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/pyproject.toml +1 -1
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/__init__.py +1 -1
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/__init__.py +1 -1
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/exchange.py +1 -1
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/hyperliquid.py +1128 -17
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/base/exchange.py +1 -1
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/hyperliquid.py +1128 -17
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/pro/__init__.py +1 -1
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/pro/hyperliquid.py +139 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/.gitignore +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/abstract/hyperliquid.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/prediction_exchange.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/throttler.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/ws/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/ws/cache.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/ws/client.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/ws/functions.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/ws/future.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/ws/order_book.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/base/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/base/decimal_to_precision.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/base/errors.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/base/msgpack.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/base/order_router.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/base/precise.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/base/types.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/README.md +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/amino/amino_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/cosmos/base/v1beta1/coin_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/cosmos/crypto/multisig/v1beta1/multisig_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/cosmos/crypto/secp256k1/keys_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/cosmos/msg/v1/msg_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/cosmos/tx/signing/v1beta1/signing_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/cosmos/tx/v1beta1/tx_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/cosmos_proto/cosmos_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/accountplus/tx_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/block_rate_limit_config_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/clob_pair_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/equity_tier_limit_config_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/liquidations_config_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/liquidations_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/matches_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/order_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/order_removals_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/clob/tx_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/sending/transfer_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/sending/tx_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/subaccounts/asset_position_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/subaccounts/perpetual_position_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/dydxprotocol/subaccounts/subaccount_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/gogoproto/gogo_pb2.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/dydx_v4_client/registry.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/ethabi/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/ethabi/abi.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/ethabi/typed_data.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/lighter_client/signer.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/cairo/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/cairo/felt.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/ccxt_utils.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/common.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/constants.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/hash/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/hash/address.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/hash/poseidon.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/hash/selector.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/hash/utils.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/models/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/models/typed_data.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/utils/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starknet/utils/typed_data.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starkware/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starkware/crypto/__init__.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starkware/crypto/fast_pedersen_hash.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starkware/crypto/math_utils.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starkware/crypto/rfc6979.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starkware/crypto/signature.py +0 -0
- {hyperliquid-0.4.67 → hyperliquid-0.4.68}/src/hyperliquid/ccxt/static_dependencies/starkware/crypto/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: hyperliquid
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.68
|
|
4
4
|
Summary: hyperliquid crypto exchange api client
|
|
5
5
|
Project-URL: Homepage, https://github.com/ccxt/ccxt
|
|
6
6
|
Project-URL: Issues, https://github.com/ccxt/ccxt
|
|
@@ -131,12 +131,18 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
131
131
|
- `create_orders_request(self, orders: list, params: dict = {})`
|
|
132
132
|
- `create_orders(self, orders: list[OrderRequest], params: dict = {})`
|
|
133
133
|
- `create_sub_account(self, name: str, params: dict = {})`
|
|
134
|
+
- `create_trailing_stop_request(self, symbol: str, side: OrderSide, amount: float, params: dict = {})`
|
|
134
135
|
- `create_twap_order(self, symbol: str, side: OrderSide, amount: float, duration: float, params: dict = {})`
|
|
135
136
|
- `create_vault(self, name: str, description: str, initialUsd: int, params: dict = {})`
|
|
137
|
+
- `fetch_accounts(self, params: dict = {})`
|
|
138
|
+
- `fetch_approved_builders(self, params: dict = {})`
|
|
136
139
|
- `fetch_balance(self, params: dict = {})`
|
|
140
|
+
- `fetch_borrow_interest(self, code: Str = None, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
137
141
|
- `fetch_canceled_and_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
138
142
|
- `fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
139
143
|
- `fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
144
|
+
- `fetch_cross_borrow_rate(self, code: str, params: dict = {})`
|
|
145
|
+
- `fetch_cross_borrow_rates(self, params: dict = {})`
|
|
140
146
|
- `fetch_currencies(self, params: dict = {})`
|
|
141
147
|
- `fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
142
148
|
- `fetch_funding_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
@@ -145,6 +151,8 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
145
151
|
- `fetch_funding_rates(self, symbols: Strings = None, params: dict = {})`
|
|
146
152
|
- `fetch_hip3_markets(self, params: dict = {})`
|
|
147
153
|
- `fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
154
|
+
- `fetch_leverage_tiers(self, symbols: Strings = None, params: dict = {})`
|
|
155
|
+
- `fetch_leverage(self, symbol: str, params: dict = {})`
|
|
148
156
|
- `fetch_markets(self, params: dict = {})`
|
|
149
157
|
- `fetch_my_liquidations(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
150
158
|
- `fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
@@ -158,17 +166,24 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
158
166
|
- `fetch_position(self, symbol: str, params: dict = {})`
|
|
159
167
|
- `fetch_positions(self, symbols: Strings = None, params: dict = {})`
|
|
160
168
|
- `fetch_spot_markets(self, params: dict = {})`
|
|
169
|
+
- `fetch_staking_delegations(self, params: dict = {})`
|
|
170
|
+
- `fetch_staking_history(self, params: dict = {})`
|
|
171
|
+
- `fetch_staking_rewards(self, params: dict = {})`
|
|
172
|
+
- `fetch_staking_summary(self, params: dict = {})`
|
|
161
173
|
- `fetch_status(self, params: dict = {})`
|
|
162
174
|
- `fetch_swap_markets(self, params: dict = {})`
|
|
163
175
|
- `fetch_tickers(self, symbols: Strings = None, params: dict = {})`
|
|
164
176
|
- `fetch_time(self, params: dict = {})`
|
|
165
177
|
- `fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params: dict = {})`
|
|
166
178
|
- `fetch_trading_fee(self, symbol: str, params: dict = {})`
|
|
179
|
+
- `fetch_vault_details(self, vaultAddress: str, params: dict = {})`
|
|
167
180
|
- `fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
168
181
|
- `action_hash(self, action: object, vaultAddress: Str, nonce: object, expiresAfter: Int = None)`
|
|
169
182
|
- `add_margin(self, symbol: str, amount: float, params: dict = {})`
|
|
170
183
|
- `amount_to_precision(self, symbol: Str, amount: object)`
|
|
184
|
+
- `approve_agent(self, agentAddress: str, agentName: Str = None, params: dict = {})`
|
|
171
185
|
- `approve_builder_fee(self, builder: str, maxFeeRate: str)`
|
|
186
|
+
- `build_approve_agent_sig(self, message: dict)`
|
|
172
187
|
- `build_approve_builder_fee_sig(self, message: dict)`
|
|
173
188
|
- `build_send_asset_sig(self, message: dict)`
|
|
174
189
|
- `build_usd_class_send_sig(self, message: dict)`
|
|
@@ -184,6 +199,7 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
184
199
|
- `cancel_orders_request(self, ids: list[str], symbol: Str = None, params: dict = {})`
|
|
185
200
|
- `cancel_orders(self, ids: list[str], symbol: Str = None, params: dict = {})`
|
|
186
201
|
- `cancel_twap_order(self, id: str, symbol: Str = None, params: dict = {})`
|
|
202
|
+
- `claim_rewards(self, params: dict = {})`
|
|
187
203
|
- `coin_to_market_id(self, coin: Str)`
|
|
188
204
|
- `construct_phantom_agent(self, hash: object, isTestnet: bool = True)`
|
|
189
205
|
- `describe(self)`
|
|
@@ -196,11 +212,16 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
196
212
|
- `get_dex_from_hip3_symbol(self, market: Market)`
|
|
197
213
|
- `get_dex_from_symbols(self, methodName: str, symbols: Strings = None)`
|
|
198
214
|
- `hash_message(self, message: object)`
|
|
215
|
+
- `hype_to_wei(self, amount: float)`
|
|
216
|
+
- `hyperliquid_chain_name(self)`
|
|
199
217
|
- `initialize_client(self)`
|
|
200
218
|
- `is_unified_enabled(self, method: str, address: Str = None, shouldRefresh: bool = False, params: dict = {})`
|
|
201
219
|
- `market(self, symbol: Str)`
|
|
202
220
|
- `modify_margin_helper(self, symbol: str, amount: Num, type: str, params: dict = {})`
|
|
203
221
|
- `nonce(self)`
|
|
222
|
+
- `noop(self, nonce: Int = None, params: dict = {})`
|
|
223
|
+
- `post_l1_action(self, action: dict, nonce: Int = None, params: dict = {})`
|
|
224
|
+
- `post_user_signed_action(self, actionType: str, primaryType: str, messageTypes: list, message: dict, nonce: int, params: dict = {})`
|
|
204
225
|
- `price_to_precision(self, symbol: Str, price: object)`
|
|
205
226
|
- `reduce_margin(self, symbol: str, amount: float, params: dict = {})`
|
|
206
227
|
- `reserve_request_weight(self, weight: Num, params: dict = {})`
|
|
@@ -210,8 +231,14 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
210
231
|
- `set_ref(self)`
|
|
211
232
|
- `set_sandbox_mode(self, enabled: bool)`
|
|
212
233
|
- `set_user_abstraction(self, abstraction: str, params: dict = {})`
|
|
234
|
+
- `spot_send(self, code: str, amount: float, address: str, params: dict = {})`
|
|
235
|
+
- `staking_deposit(self, amount: float, params: dict = {})`
|
|
236
|
+
- `staking_withdraw(self, amount: float, params: dict = {})`
|
|
237
|
+
- `token_delegate(self, validator: str, amount: float, isUndelegate: bool = False, params: dict = {})`
|
|
238
|
+
- `token_index_to_currency_code(self, tokenIndex: Str)`
|
|
213
239
|
- `transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params: dict = {})`
|
|
214
240
|
- `update_spot_currency_code(self, code: Str)`
|
|
241
|
+
- `usd_send(self, amount: float, address: str, params: dict = {})`
|
|
215
242
|
- `withdraw(self, code: str, amount: float, address: str, params: dict = {})`
|
|
216
243
|
|
|
217
244
|
### REST Raw
|
|
@@ -229,6 +256,9 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
229
256
|
- `cancel_order_ws(self, id: str, symbol: Str = None, params: dict = {})`
|
|
230
257
|
- `watch_order_book(self, symbol: str, limit: Int = None, params: dict = {})`
|
|
231
258
|
- `un_watch_order_book(self, symbol: str, params: dict = {})`
|
|
259
|
+
- `watch_bids_asks(self, symbols: Strings = None, params: dict = {})`
|
|
260
|
+
- `un_watch_bids_asks(self, symbols: Strings = None, params: dict = {})`
|
|
261
|
+
- `single_bid_ask_symbol(self, methodName: str, symbols: Strings = None)`
|
|
232
262
|
- `watch_ticker(self, symbol: str, params: dict = {})`
|
|
233
263
|
- `un_watch_ticker(self, symbol: str, params: dict = {})`
|
|
234
264
|
- `watch_tickers(self, symbols: Strings = None, params: dict = {})`
|
|
@@ -112,12 +112,18 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
112
112
|
- `create_orders_request(self, orders: list, params: dict = {})`
|
|
113
113
|
- `create_orders(self, orders: list[OrderRequest], params: dict = {})`
|
|
114
114
|
- `create_sub_account(self, name: str, params: dict = {})`
|
|
115
|
+
- `create_trailing_stop_request(self, symbol: str, side: OrderSide, amount: float, params: dict = {})`
|
|
115
116
|
- `create_twap_order(self, symbol: str, side: OrderSide, amount: float, duration: float, params: dict = {})`
|
|
116
117
|
- `create_vault(self, name: str, description: str, initialUsd: int, params: dict = {})`
|
|
118
|
+
- `fetch_accounts(self, params: dict = {})`
|
|
119
|
+
- `fetch_approved_builders(self, params: dict = {})`
|
|
117
120
|
- `fetch_balance(self, params: dict = {})`
|
|
121
|
+
- `fetch_borrow_interest(self, code: Str = None, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
118
122
|
- `fetch_canceled_and_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
119
123
|
- `fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
120
124
|
- `fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
125
|
+
- `fetch_cross_borrow_rate(self, code: str, params: dict = {})`
|
|
126
|
+
- `fetch_cross_borrow_rates(self, params: dict = {})`
|
|
121
127
|
- `fetch_currencies(self, params: dict = {})`
|
|
122
128
|
- `fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
123
129
|
- `fetch_funding_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
@@ -126,6 +132,8 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
126
132
|
- `fetch_funding_rates(self, symbols: Strings = None, params: dict = {})`
|
|
127
133
|
- `fetch_hip3_markets(self, params: dict = {})`
|
|
128
134
|
- `fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
135
|
+
- `fetch_leverage_tiers(self, symbols: Strings = None, params: dict = {})`
|
|
136
|
+
- `fetch_leverage(self, symbol: str, params: dict = {})`
|
|
129
137
|
- `fetch_markets(self, params: dict = {})`
|
|
130
138
|
- `fetch_my_liquidations(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
131
139
|
- `fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
@@ -139,17 +147,24 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
139
147
|
- `fetch_position(self, symbol: str, params: dict = {})`
|
|
140
148
|
- `fetch_positions(self, symbols: Strings = None, params: dict = {})`
|
|
141
149
|
- `fetch_spot_markets(self, params: dict = {})`
|
|
150
|
+
- `fetch_staking_delegations(self, params: dict = {})`
|
|
151
|
+
- `fetch_staking_history(self, params: dict = {})`
|
|
152
|
+
- `fetch_staking_rewards(self, params: dict = {})`
|
|
153
|
+
- `fetch_staking_summary(self, params: dict = {})`
|
|
142
154
|
- `fetch_status(self, params: dict = {})`
|
|
143
155
|
- `fetch_swap_markets(self, params: dict = {})`
|
|
144
156
|
- `fetch_tickers(self, symbols: Strings = None, params: dict = {})`
|
|
145
157
|
- `fetch_time(self, params: dict = {})`
|
|
146
158
|
- `fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params: dict = {})`
|
|
147
159
|
- `fetch_trading_fee(self, symbol: str, params: dict = {})`
|
|
160
|
+
- `fetch_vault_details(self, vaultAddress: str, params: dict = {})`
|
|
148
161
|
- `fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params: dict = {})`
|
|
149
162
|
- `action_hash(self, action: object, vaultAddress: Str, nonce: object, expiresAfter: Int = None)`
|
|
150
163
|
- `add_margin(self, symbol: str, amount: float, params: dict = {})`
|
|
151
164
|
- `amount_to_precision(self, symbol: Str, amount: object)`
|
|
165
|
+
- `approve_agent(self, agentAddress: str, agentName: Str = None, params: dict = {})`
|
|
152
166
|
- `approve_builder_fee(self, builder: str, maxFeeRate: str)`
|
|
167
|
+
- `build_approve_agent_sig(self, message: dict)`
|
|
153
168
|
- `build_approve_builder_fee_sig(self, message: dict)`
|
|
154
169
|
- `build_send_asset_sig(self, message: dict)`
|
|
155
170
|
- `build_usd_class_send_sig(self, message: dict)`
|
|
@@ -165,6 +180,7 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
165
180
|
- `cancel_orders_request(self, ids: list[str], symbol: Str = None, params: dict = {})`
|
|
166
181
|
- `cancel_orders(self, ids: list[str], symbol: Str = None, params: dict = {})`
|
|
167
182
|
- `cancel_twap_order(self, id: str, symbol: Str = None, params: dict = {})`
|
|
183
|
+
- `claim_rewards(self, params: dict = {})`
|
|
168
184
|
- `coin_to_market_id(self, coin: Str)`
|
|
169
185
|
- `construct_phantom_agent(self, hash: object, isTestnet: bool = True)`
|
|
170
186
|
- `describe(self)`
|
|
@@ -177,11 +193,16 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
177
193
|
- `get_dex_from_hip3_symbol(self, market: Market)`
|
|
178
194
|
- `get_dex_from_symbols(self, methodName: str, symbols: Strings = None)`
|
|
179
195
|
- `hash_message(self, message: object)`
|
|
196
|
+
- `hype_to_wei(self, amount: float)`
|
|
197
|
+
- `hyperliquid_chain_name(self)`
|
|
180
198
|
- `initialize_client(self)`
|
|
181
199
|
- `is_unified_enabled(self, method: str, address: Str = None, shouldRefresh: bool = False, params: dict = {})`
|
|
182
200
|
- `market(self, symbol: Str)`
|
|
183
201
|
- `modify_margin_helper(self, symbol: str, amount: Num, type: str, params: dict = {})`
|
|
184
202
|
- `nonce(self)`
|
|
203
|
+
- `noop(self, nonce: Int = None, params: dict = {})`
|
|
204
|
+
- `post_l1_action(self, action: dict, nonce: Int = None, params: dict = {})`
|
|
205
|
+
- `post_user_signed_action(self, actionType: str, primaryType: str, messageTypes: list, message: dict, nonce: int, params: dict = {})`
|
|
185
206
|
- `price_to_precision(self, symbol: Str, price: object)`
|
|
186
207
|
- `reduce_margin(self, symbol: str, amount: float, params: dict = {})`
|
|
187
208
|
- `reserve_request_weight(self, weight: Num, params: dict = {})`
|
|
@@ -191,8 +212,14 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
191
212
|
- `set_ref(self)`
|
|
192
213
|
- `set_sandbox_mode(self, enabled: bool)`
|
|
193
214
|
- `set_user_abstraction(self, abstraction: str, params: dict = {})`
|
|
215
|
+
- `spot_send(self, code: str, amount: float, address: str, params: dict = {})`
|
|
216
|
+
- `staking_deposit(self, amount: float, params: dict = {})`
|
|
217
|
+
- `staking_withdraw(self, amount: float, params: dict = {})`
|
|
218
|
+
- `token_delegate(self, validator: str, amount: float, isUndelegate: bool = False, params: dict = {})`
|
|
219
|
+
- `token_index_to_currency_code(self, tokenIndex: Str)`
|
|
194
220
|
- `transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params: dict = {})`
|
|
195
221
|
- `update_spot_currency_code(self, code: Str)`
|
|
222
|
+
- `usd_send(self, amount: float, address: str, params: dict = {})`
|
|
196
223
|
- `withdraw(self, code: str, amount: float, address: str, params: dict = {})`
|
|
197
224
|
|
|
198
225
|
### REST Raw
|
|
@@ -210,6 +237,9 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
210
237
|
- `cancel_order_ws(self, id: str, symbol: Str = None, params: dict = {})`
|
|
211
238
|
- `watch_order_book(self, symbol: str, limit: Int = None, params: dict = {})`
|
|
212
239
|
- `un_watch_order_book(self, symbol: str, params: dict = {})`
|
|
240
|
+
- `watch_bids_asks(self, symbols: Strings = None, params: dict = {})`
|
|
241
|
+
- `un_watch_bids_asks(self, symbols: Strings = None, params: dict = {})`
|
|
242
|
+
- `single_bid_ask_symbol(self, methodName: str, symbols: Strings = None)`
|
|
213
243
|
- `watch_ticker(self, symbol: str, params: dict = {})`
|
|
214
244
|
- `un_watch_ticker(self, symbol: str, params: dict = {})`
|
|
215
245
|
- `watch_tickers(self, symbols: Strings = None, params: dict = {})`
|
|
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
|
|
|
26
26
|
|
|
27
27
|
# ----------------------------------------------------------------------------
|
|
28
28
|
|
|
29
|
-
__version__ = '4.5.
|
|
29
|
+
__version__ = '4.5.95'
|
|
30
30
|
|
|
31
31
|
# ----------------------------------------------------------------------------
|
|
32
32
|
|