Ejemplo n.º 1
0
    protected void btnUpdatePrices_Click(object sender, EventArgs e)
    {
        TBMRequest tbmrequest = new TBMRequest();
        DataSet ds = TBMDataAdapter.GetMutualFunds();

        foreach ( DataRow dr in ds.Tables[0].Rows )
        {
            string isin = "";

            if (dr.ItemArray[1].GetType().ToString() != "System.DBNull")
            {
                isin = (string)dr.ItemArray[1];

                tbmrequest.updateQuoteHistory(isin);
            }
        }
    }
Ejemplo n.º 2
0
        public static void ImportHistoricalPrices()
        {
            TBMRequest tbmrequest = new TBMRequest();
            DataSet ds = TBMDataAdapter.GetMutualFunds();

            foreach (DataRow dr in ds.Tables[0].Rows)
            {
                string isin = "";

                if (dr.ItemArray[1].GetType().ToString() != "System.DBNull")
                {
                    isin = (string)dr.ItemArray[1];

                    tbmrequest.updateQuoteHistory(isin);
                }
            }
        }
Ejemplo n.º 3
0
 protected void btnGetQuoteHistory_Click(object sender, EventArgs e)
 {
     TBMRequest tbmrequest = new TBMRequest();
     tbmrequest.TickerType = "ISIN";
     tbmrequest.updateQuoteHistory(txtInstrumentID.Text);
 }
Ejemplo n.º 4
0
 protected void btnGetQuoteCollection_Click(object sender, EventArgs e)
 {
     TBMRequest tbmrequest = new TBMRequest();
     tbmrequest.TickerType = "ISIN";
     txtResults.Text = tbmrequest.getQuoteCollection();
 }
Ejemplo n.º 5
0
 protected void btnCheckMissingHistPrices_Click(object sender, EventArgs e)
 {
     TBMRequest tbmrequest = new TBMRequest();
     tbmrequest.TickerType = "ISIN";
     tbmrequest.CheckMissingHistoricalPrices();
 }