public void SubscribeHistory(string inst, string period, string beginTime, string endTime) { lock (locker) { MdApi.MD_SubscribeHistory(inst, period, beginTime, endTime); } }