예제 #1
0
        private void companyHottestNewsIn24hToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string companyCode = "SSI";
            try
            {
                //Get company name
                //Get active chart or selected item in Watchlist
                Trade.Forms.marketWatch marketWatchForm = GetMarketWatchForm(false);
                //Tools.Forms.tradeAnalysis stockchartForm = GetActiveStockForm();
                //if (stockchartForm == null) return;
                if (marketWatchForm == null) return;

                if (marketWatchForm.CurrentRow == null) return;
                companyCode = marketWatchForm.CurrentRow.code;

                //Open Web Browser    
                //https://www.google.com/search?as_q=SSI&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_vi&cr=countryVN&as_qdr=d&as_sitesearch=&as_occt=any&safe=images&as_filetype=&as_rights=&gws_rd=ssl

                string URL = @"https://www.google.com/search?as_q=" + companyCode + @"&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_vi&cr=countryVN&as_qdr=d&as_sitesearch=&as_occt=any&safe=images&as_filetype=&as_rights=&gws_rd=ssl";
                fundamentalWebBrowserForm form = new fundamentalWebBrowserForm(companyCode, URL);
                form.Show(dockPanel);
            }
            catch (Exception er)
            {
                this.ShowError(er);
            }
        }
예제 #2
0
        private void companyNToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string companyCode = "SSI";
            try
            {
                //Get company name
                //Get active chart or selected item in Watchlist
                Trade.Forms.marketWatch marketWatchForm = GetMarketWatchForm(false);
                if (marketWatchForm == null) return;
                if (marketWatchForm.CurrentRow == null) return;
                companyCode = marketWatchForm.CurrentRow.code;

                //Open Web Browser    
                //https://www.vndirect.com.vn/portal/tin-doanh-nghiep/

                string URL = "https://www.vndirect.com.vn/portal/tin-doanh-nghiep/" + companyCode + @".shtml";
                fundamentalWebBrowserForm form = new fundamentalWebBrowserForm(companyCode, URL);
                form.Show(dockPanel);
            }
            catch (Exception er)
            {
                this.ShowError(er);
            }
        }
예제 #3
0
        private void analysisReportsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string companyCode = "SSI";
            try
            {
                //Get company name
                //Get active chart or selected item in Watchlist
                Trade.Forms.marketWatch marketWatchForm = GetMarketWatchForm(false);
                if (marketWatchForm == null) return;
                if (marketWatchForm.CurrentRow == null) return;
                companyCode = marketWatchForm.CurrentRow.code;

                //Open Web Browser    
                //http://stox.vn/Report/Search?Kw=acb&Cat=-1&Industry=-1

                string URL = "http://stox.vn/Report/Search?Kw=" + companyCode + @"&Cat=-1&Industry=-1";
                fundamentalWebBrowserForm form = new fundamentalWebBrowserForm(companyCode, URL);
                form.Show(dockPanel);
            }
            catch (Exception er)
            {
                this.ShowError(er);
            }
        }
예제 #4
0
        private void companyOverviewMenuItem_Click(object sender, EventArgs e)
        {
            string companyCode="SSI";
            try
            {
                //Get company name from active chart
                Tools.Forms.tradeAnalysis activeForm = GetActiveStockForm();
                if (activeForm == null) return;
                companyCode = activeForm.myData.DataStockCode;

                //Open Web Browser
                string URL = "https://www.vndirect.com.vn/portal/tong-quan/"+companyCode+".shtml";
                fundamentalWebBrowserForm form = new fundamentalWebBrowserForm(companyCode, URL, "companyOverview");
                form.Show(dockPanel);
            }
            catch (Exception er)
            {
                this.ShowError(er);
            }
        }
예제 #5
0
        private void companyHottestNewsIn24hToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string companyCode = "SSI";
            try
            {
                //Get company name from active chart
                Tools.Forms.tradeAnalysis activeForm = GetActiveStockForm();
                if (activeForm == null) return;
                companyCode = activeForm.myData.DataStockCode;

                //Open Web Browser
                //https://www.google.com/search?as_q=SSI&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_vi&cr=countryVN&as_qdr=d&as_sitesearch=&as_occt=any&safe=images&as_filetype=&as_rights=&gws_rd=ssl

                string URL = @"https://www.google.com/search?as_q=" + companyCode + @"&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=lang_vi&cr=countryVN&as_qdr=d&as_sitesearch=&as_occt=any&safe=images&as_filetype=&as_rights=&gws_rd=ssl";
                fundamentalWebBrowserForm form = new fundamentalWebBrowserForm(companyCode, URL, "companyHotNews");
                form.Show(dockPanel);
            }
            catch (Exception er)
            {
                this.ShowError(er);
            }
        }
예제 #6
0
        private void analysisReportsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string companyCode = "SSI";
            try
            {
                //Get company name from active chart
                Tools.Forms.tradeAnalysis activeForm = GetActiveStockForm();
                if (activeForm == null) return;
                companyCode = activeForm.myData.DataStockCode;

                //Open Web Browser
                //http://stox.vn/Report/Search?Kw=acb&Cat=-1&Industry=-1

                string URL = "http://stox.vn/Report/Search?Kw=" + companyCode + @"&Cat=-1&Industry=-1";
                fundamentalWebBrowserForm form = new fundamentalWebBrowserForm(companyCode, URL, "analysistReport");
                form.Show(dockPanel);
            }
            catch (Exception er)
            {
                this.ShowError(er);
            }
        }