Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 710 Bytes

File metadata and controls

12 lines (7 loc) · 710 Bytes

PreviewToParam

仅用于预览 OrderPreviewV1Req.to。目标币种 + 比例 ratio禁止与下单 CreateParam 混淆:下单的 to 必须使用 amount,没有 ratio 字段。

Properties

Name Type Description Notes
asset String 目标币种符号;常与 config 中 `recommend_v2.*[].schemes[].name` 对应。
ratio String 该目标币种在组合中的权重比例,十进制字符串(如 `0.2`、`0.5`)。 常与 `GET /asset-swap/config` 的 `recommend_v2` 下某策略的 `schemes[].ratio` 一致。