Esempio n. 1
0
 public bool downloadGetQuote(string folderPath, string scriptName, bool bIsTestOn, bool bSaveData)
 {
     if (StockApi.globalQuote(folderPath, scriptName, bIsTestModeOn: bIsTestOn, bSaveData: bSaveData, apiKey: Session["ApiKey"].ToString()) == null)
     {
         Response.Write("<script language=javascript>alert('Quote data not available for selected script.')</script>");
         return(false);
     }
     return(true);
 }