Validate Fund Order
fund_validate_orderPre-trade validation for a fund buy/sell order. Places NO order — it only checks the request against the fund channel and returns the validation result (fees, limits, estimated units/amount). Requires auth.
Instructions
Pre-trade validation for a fund buy/sell order. Places NO order — it only checks the request against the fund channel and returns the validation result (fees, limits, estimated units/amount). Requires auth. counter_id from fund_hot / fund_list; action is buy or sell; currency e.g. HKD/USD; give either amount (cash) or units (shares).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response. | |
| units | No | Redemption units (shares to sell). Use for a sell / buy by units; mutually exclusive with `amount`. | |
| action | Yes | Order action: `buy` or `sell`. | |
| amount | No | Subscription amount (cash to invest). Use for a buy by amount; mutually exclusive with `units`. | |
| currency | Yes | Order currency, e.g. `HKD`, `USD`. | |
| counter_id | Yes | Fund counter_id, e.g. `UT/FD/HK0000384492` (from `fund_hot` / `fund_list`). | |
| fund_source | No | Funding source selector (server-defined). Omit for the default. | |
| account_channel | No | Account channel (server-defined). Omit for the default. | |
| dividend_option | No | Dividend handling option (server-defined, e.g. reinvest vs. cash payout). |