diff --git a/pages/api_integration-guides/CLI_Python_Script.mdx b/pages/api_integration-guides/CLI_Python_Script.mdx index 30ca3ad..c4bd93d 100644 --- a/pages/api_integration-guides/CLI_Python_Script.mdx +++ b/pages/api_integration-guides/CLI_Python_Script.mdx @@ -43,6 +43,7 @@ This command gets the balance of all of your subaccounts or a specific subaccoun `python3 v4dydxcli.py testnet.py balance 0` - Screenshot: + ![CLIPythonScript1](../../artifacts/CLIPythonScript1.png) ## Command: buyquantity @@ -57,6 +58,7 @@ This command buys a specific amount of crypto using MARKET order. `python3 v4dydxcli.py testnet.py buyquantity BTC-USD 0.001` - Screenshot: + ![CLIPythonScript2](../../artifacts/CLIPythonScript2.png) ## Command: sellquantity @@ -71,6 +73,7 @@ This command sells a specific amount of crypto using MARKET order. `python3 v4dydxcli.py testnet.py sellquantity ETH-USD 0.01` - Screenshot: + ![CLIPythonScript3](../../artifacts/CLIPythonScript3.png) ## Command: buyusdc @@ -85,6 +88,7 @@ This command buys a specific USD-amount of crypto using MARKET order. `python3 v4dydxcli.py testnet.py buyusdc SOL-USD 200` - Screenshot: + ![CLIPythonScript4](../../artifacts/CLIPythonScript4.png) ## Command: sellusdc @@ -99,6 +103,7 @@ This command sells a specific USD-amount of crypto using MARKET order. `python3 v4dydxcli.py testnet.py sellusdc LINK-USD 200` - Screenshot: + ![CLIPythonScript5](../../artifacts/CLIPythonScript5.png) ## Command: positions @@ -113,6 +118,7 @@ This command shows open positions. If no open positions, it returns nothing. I `python3 v4dydxcli.py testnet.py positions` - Screenshot: + ![CLIPythonScript6](../../artifacts/CLIPythonScript6.png) ## Command: buyquantitylimit @@ -127,6 +133,7 @@ This command buys a specific amount of crypto using LIMIT order. `python3 v4dydxcli.py testnet.py buyquantitylimit BTC-USD 0.002 30000 3600` - Screenshot: + ![CLIPythonScript7](../../artifacts/CLIPythonScript7.png) ## Command: sellquantitylimit @@ -142,6 +149,7 @@ This command sells a specific amount of crypto using LIMIT order. `python3 v4dydxcli.py testnet.py sellquantitylimit ETH-USD 0.02 4000 3600` - Screenshot: + ![CLIPythonScript8](../../artifacts/CLIPythonScript8.png) ## Command: getorder @@ -157,6 +165,7 @@ This command gets the data on an order with a specific client-id. Alternatively `python3 v4dydxcli.py testnet.py getorder 525086946 - Screenshot: + ![CLIPythonScript9](../../artifacts/CLIPythonScript9.png) - Example @@ -164,6 +173,7 @@ This command gets the data on an order with a specific client-id. Alternatively `python3 v4dydxcli.py testnet.py getorder OPEN` - Screenshot: + ![CLIPythonScript10](../../artifacts/CLIPythonScript10.png) ## Command: getorderid @@ -179,6 +189,7 @@ This command gets the data on an order with a specific order-id. `python3 v4dydxcli.py testnet.py getorderid e7474df1-669c-5c06-a331-889d91b0306b` - Screenshot: + ![CLIPythonScript11](../../artifacts/CLIPythonScript11.png) ## Command: cancelorder @@ -193,11 +204,13 @@ This command cancels an order with a specific client-id. Alternatively, you can `python3 v4dydxcli.py testnet.py cancelorder 314604016` - Screenshot: + ![CLIPythonScript12](../../artifacts/CLIPythonScript12.png) - Example: - Screenshot: + `python3 v4dydxcli.py testnet.py cancelorder OPEN` ![CLIPythonScript13](../../artifacts/CLIPythonScript13.png)