Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 757 Bytes

File metadata and controls

12 lines (7 loc) · 757 Bytes

PreviewToParam

For preview only OrderPreviewV1Req.to. Target currency + ratio ratio. Forbidden is confused with the order CreateParam: the to of the order must be amount, and there is no ratio field.

Properties

Name Type Description Notes
asset String Target currency symbol; often corresponds to `recommend_v2.*[].schemes[].name` in config.
ratio String The weight ratio of the target currency in the portfolio, decimal string (such as `0.2`, `0.5`). Often consistent with the `schemes[].ratio` of a strategy under `recommend_v2` of `GET /asset-swap/config`.