
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
A Python wrapper for seamless integration with Deribit's trading API, offering easy access to market data, account management, and trading operations.
This Python script provides a comprehensive client for interacting with the Deribit API. It encapsulates functionality for both public and private endpoints, covering market data, account information, trading operations, and more. It supports both the production and test environments, making it suitable for developers at all stages of application development.
Install deribit-wrapper
using pip:
pip install deribit-wrapper
Instantiate the DeribitClient
class with the appropriate parameters:
client_id
: Your Deribit client ID.client_secret
: Your Deribit client secret.simulated
: Set to True
to use the test environment or False
to use the production environment.env
: Choose between 'test'
and 'prod'
environments. Defaults to 'prod'
.Example:
from deribit_wrapper import DeribitClient
client = DeribitClient(client_id='your_client_id', client_secret='your_client_secret')
get_contract_size(asset)
get_currencies()
get_ticker(asset)
get_complete_market_book()
get_account_summary(currency)
get_positions(currency, kind)
order(asset, amount, limit=None, label=None, reduce_only=False)
market_order(asset, amount, label=None, reduce_only=False)
bulk_order(orders, label=None)
ticker_info = client.get_ticker('BTC-25JUN21')
print(ticker_info)
order_response = client.market_order('BTC-25JUN21', 1)
print(order_response)
account_summary = client.get_account_summary('BTC')
print(account_summary)
If you encounter any issues or have questions about using deribit-wrapper
,
please create an issue in the GitHub repository.
Contributions to deribit-wrapper
are welcome!
Whether it's bug reports, feature requests, or code contributions, please feel free to make a contribution. For code
contributions, please:
Please ensure your code adheres to the project's coding standards and includes appropriate tests.
deribit-wrapper
is released under the MIT License. See the LICENSE file for more details.
FAQs
A Python wrapper for seamless integration with Deribit's trading API, offering easy access to market data, account management, and trading operations.
We found that deribit-wrapper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.