Exemple #1
0
        private EquityInformationTable ETFInformationToTable(ETFInformation e)
        {
            EquityInformationTable et = new EquityInformationTable();

            et.Symbol        = e.Symbol;
            et.CompanyName   = e.ETFName;
            et.ISINNumber    = e.IsinNumber;
            et.MarketLot     = e.MarketLot;
            et.DateOfListing = e.DateOfListing;
            et.FaceValue     = e.FaceValue;
            et.IsETF         = true;
            et.Underlying    = e.Underlying;
            et.PaidUpValue   = -1;
            et.Series        = "ETF";
            return(et);
        }
Exemple #2
0
        private EquityInformationTable EquityInformationOfUnknown(string symbol, string series, string IsinNumber)
        {
            EquityInformationTable et = new EquityInformationTable();

            et.Symbol        = symbol;
            et.CompanyName   = symbol;
            et.ISINNumber    = IsinNumber;
            et.MarketLot     = 1;
            et.PaidUpValue   = 1;
            et.Series        = "EQ";
            et.DateOfListing = FirstDay;
            et.FaceValue     = 1;
            et.IsETF         = false;
            et.Underlying    = "";
            return(et);
        }