dwlf_close_trade
Close an open trade by specifying its trade ID and exit price, with an optional exit timestamp defaulting to now.
Instructions
Close an open trade by specifying the exit price.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tradeId": "<tradeId>",
"exitPrice": "<exitPrice>"
},
"name": "dwlf_close_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exitAt | No | Exit timestamp (ISO 8601, defaults to now) | |
| tradeId | Yes | Trade ID to close | |
| exitPrice | Yes | Exit price |