public Instrument(string symbol, CategoryName categoryName, string currency, Valuation valuation, TimeSpan openTime, string groupName = "") { OpenTime = openTime; Valuation = valuation; GroupName = groupName; Symbol = symbol; CategoryName = categoryName; Currency = currency; Dividends ??= new List <Dividend>(); }
public void SetPrices(Valuation valuation) { Valuation.ChangeAskPrice(valuation.AskPrice); Valuation.ChangeBidPrice(valuation.BidPrice); }