Actions8
- Account Actions
- Market Actions
- Order Actions
Overview
This node interacts with the DeltaDefi Protocol via the CrowdHydra API to manage orders, accounts, and markets. Specifically, for the 'Cancel Order' operation under the 'Order' resource, it allows users to cancel an existing order by providing the order ID. This is useful in trading scenarios where a user needs to revoke an order that is no longer desired or needs adjustment.
Use Case Examples
- Cancel an open trading order by specifying its unique order ID to stop its execution on the market.
- Manage and control active orders programmatically within an automated trading workflow.
Properties
| Name | Meaning |
|---|---|
| Order ID | The unique identifier of the order to cancel, required to specify which order should be revoked. |
Output
JSON
json- The JSON response from the CrowdHydra API representing the result of the cancel order request, typically including confirmation or error details.
Dependencies
- Requires an API key credential for the CrowdHydra API, including an encryption password and network specification for authentication and operation key loading.
Troubleshooting
- Common errors include failure to load the operation key due to incorrect trading password, operation key created on a different network, or missing operation key for the account on the specified network. The error message will provide debug hints to verify the operation key existence and network correctness.
- If the node throws an error related to AES-GCM decryption failure, verify the trading password and network settings in the credentials.
- Ensure the order ID provided is valid and corresponds to an existing order to avoid errors from the API.
