public double GetExpose(string coinName)
        {
            double exposeVolume = 0;

            if (StockPositionMap.ContainsKey(coinName))
            {
                StockPosition position = StockPositionMap[coinName];
                return(position.TotalVolume - position.BaseVolume);
            }
            return(exposeVolume);
        }
        public void adjustStockVolume(String coinName, double volume)
        {
            if (!StockPositionMap.ContainsKey(coinName))
            {
                StockPositionMap[coinName] = new StockPosition {
                    CoinName = coinName
                };
            }
            StockPosition position = StockPositionMap[coinName];

            position.TotalVolume += volume;
            position.AvailVolume += volume;
        }