Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.11 KB

OrderPreviewV1Req.md

File metadata and controls

15 lines (10 loc) · 1.11 KB

Io.Gate.GateApi.Model.OrderPreviewV1Req

Asset allocation optimization preview request. `from` is the selling quantity; `to` is the target currency and distribution ratio ratio (not the absolute quantity). Please use `OrderCreateV1Req` to place a formal order, and its `to` is `amount`.

Properties

Name Type Description Notes
From List<PreviewFromParam> Sell side; each item is the currency + the swap amount `amount` (string decimal).
To List<PreviewToParam> Target side; each item is currency + ratio `ratio` (string decimal, such as `0.5`). Typical source: `GET /asset-swap/config` → `recommend_v2` `schemes[].name` / `schemes[].ratio` of the strategy under a certain group.

[Back to Model list] [Back to API list] [Back to README]