1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package com.xcong.excoin.modules.okxNewPrice.okxpi.trade;
|
| import com.xcong.excoin.modules.okxNewPrice.okxpi.config.OKXAccount;
|
| import java.util.LinkedHashMap;
|
| public interface TradeService {
| /**
| * 采用策略
| * @return
| */
| String tradeEvent();
|
| /**
| * 执行
| * @param tradeDto
| * @param okxAccount
| */
| String doTrade(LinkedHashMap<String, Object> tradeDto, OKXAccount okxAccount);
|
| }
|
|