From 74ca5bc0f40e3b91464c8972392271d24dd5f066 Mon Sep 17 00:00:00 2001 From: zainali5120 <512061637@qq.com> Date: Mon, 14 Sep 2020 11:05:48 +0800 Subject: [PATCH] 撮合交易代码提交 --- src/main/java/com/xcong/excoin/trade/CoinTrader.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/xcong/excoin/trade/CoinTrader.java b/src/main/java/com/xcong/excoin/trade/CoinTrader.java index 46289af..ca79fe9 100644 --- a/src/main/java/com/xcong/excoin/trade/CoinTrader.java +++ b/src/main/java/com/xcong/excoin/trade/CoinTrader.java @@ -17,7 +17,6 @@ public class CoinTrader { private String symbol; private ExchangeProducer exchangeProducer; - private OrderCoinService orderCoinService; //交易币种的精度 private int coinScale = 4; //基币的精度 @@ -752,11 +751,12 @@ return count; } - public OrderCoinService getOrderCoinService() { - return orderCoinService; + + public ExchangeProducer getExchangeProducer() { + return exchangeProducer; } - public void setOrderCoinService(OrderCoinService orderCoinService) { - this.orderCoinService = orderCoinService; + public void setExchangeProducer(ExchangeProducer exchangeProducer) { + this.exchangeProducer = exchangeProducer; } } -- Gitblit v1.9.1