Skip to content

ex10ded/dydx-v3-python

 
 

Repository files navigation

Python client for X10 Legacy API (v3 API).

Installation

The x10-v3-python package is available as a direct install from github. Install with pip:

pip install git+https://github.com/ex10ded/dydx-v3-python.git

If you wish to verify the diffs with the upstream dydx v3 SDK, you can do so here. The only diffs should be asset configuration and removal of functionality not offered via the legacy API.

Getting Started

Currently due to signing scheme differences, you must onboard through the x10 UI to obtain trading credentials.

Proceed to https://testnet.x10.exchange and connect / register main screen

Navigate to the Api Management Screen main screen II

Generate Api Credentials Api Management I

View Api Credentials Api Management II

After obtaining your API credentials, you can put them into code as follows

  • Public and Private Keys are self named.
  • Vault corresponds to DyDx "positionId"
  • ApiKey is self named.

Code Example

more details are in the RestApi Example and the WebSocket Example

About

Python client for dYdX (API v3)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%