1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.xcong.excoin.modules.okxApi;
|
| /**
| * 交易方向枚举。
| *
| * <ul>
| * <li>{@link #LONG} — 多头(做多)</li>
| * <li>{@link #SHORT} — 空头(做空)</li>
| * </ul>
| *
| * <p>从原 {@code TraderParam.Direction} 提取为独立枚举,供策略接口和 WS 处理器共用。
| *
| * @author Administrator
| */
| public enum Direction {
| /** 多头方向 */
| LONG,
| /** 空头方向 */
| SHORT
| }
|
|