Skip to content

Commit

Permalink
Update API_Trading_with_Classic_v4_Python_Client.json
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyGarch authored Dec 12, 2024
1 parent 0f5e62d commit e58a4d8
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
3. Pro: Required for V4 dYdX CLI Tool.
4. Con: Can only trade cross-margin markets in cross-margin mode. As of 12/3/2024, the following markets are cross-margin capable or isolated-margin only.

![APITradingClassicPic1](../../artifacts/APITradingClassicPic1.png)

## Requirements (Initial Setup)
1. Recommended OS: Ubuntu 22.04.4 LTS server (ubuntu-22.04.4-live-server-amd64.iso)
2. Install dependencies.
Expand All @@ -19,9 +21,15 @@
3. Create a APIKEY file. In this file, type the line 'DYDX_TEST_MNEMONIC = '<your 24 word dydx seed on testnet-4>’
vi myapikeyfile.py'

Add testnet parameters to API client:
![APITradingClassicPic2](../../artifacts/APITradingClassicPic2.png)

4. Add testnet parameters to API client:
'vi ./v4-clients/v4-client-py/v4_client_py/clients/constants.py'

![APITradingClassicPic3](../../artifacts/APITradingClassicPic3.png)

![APITradingClassicPic4](../../artifacts/APITradingClassicPic4.png)

VALIDATOR_GRPC_ENDPOINT = 'test-dydx-grpc.kingnodes.com:443'
AERIAL_CONFIG_URL = 'https://test-dydx-grpc.kingnodes.com:443'
AERIAL_GRPC_OR_REST_PREFIX = "grpc"
Expand Down

0 comments on commit e58a4d8

Please sign in to comment.