Ejemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            // subscribe l1quote streaming here
            List <string> symbols = txtSymbols.Text.Split(new char[] { ',', ' ', ';', '+' }).ToList();

            TDANET.Subscribe(symbols, StreamingServiceType.L1QuoteStreaming);
        }
Ejemplo n.º 2
0
 private void button8_Click(object sender, EventArgs e)
 {
     if (TDANET.client.AssociatedAccount.AccountAuthorizations.StreamingNews)
     {
         List <string> symbols = textBox7.Text.Split(new char[] { ',', ' ', ';', '+' }).ToList();
         TDANET.Subscribe(symbols, StreamingServiceType.News);
     }
     else
     {
         textBox6.Text = "You don't have streaming news subscription";
     }
 }
Ejemplo n.º 3
0
        private void button13_Click(object sender, EventArgs e)
        {
            List <string> symbols = textBox9.Text.Split(new char[] { ',', ' ', ';', '+' }).ToList();

            TDANET.Subscribe(symbols, StreamingServiceType.TimeSales);
        }
Ejemplo n.º 4
0
        private async void button7_Click(object sender, EventArgs e)
        {
            List <string> symbols = txtSymbols3.Text.Split(new char[] { ',', ' ', ';', '+' }).ToList();

            TDANET.Subscribe(symbols, StreamingServiceType.NASDAQ_Chart);
        }