| | |
| | | public class CoinTrader { |
| | | private String symbol; |
| | | private ExchangeProducer exchangeProducer; |
| | | private OrderCoinService orderCoinService; |
| | | //交易币种的精度 |
| | | private int coinScale = 4; |
| | | //基币的精度 |
| | |
| | | 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; |
| | | } |
| | | } |