Beispiel #1
0
        // SENDERS
        //*************************************************************************
        // Send data were relevant
        public void dataComplete()
        {
            //Thread.Sleep(300000);
            // First we clean the Dictionary

            this.DictionaryCleanUp();
            originalForm.SetStrikes(this.tickerSymbol, this.tickerPrice, this.tickerStrikes);
        }
Beispiel #2
0
        //SENDER
        //**************************************************************************************************
        // This sends to the frmMain
        public void SetStrikesTable(TickerData incomingTickerData)
        {
            // We clean the Ticker Data dictionary
            incomingTickerData.DictionaryCleanUp();

            // We need to send the TickerData in pieces because we cant send it whole to frmMain (accessibility conflic)
            parentReference.SetStrikes(incomingTickerData.tickerSymbol, incomingTickerData.tickerPrice, incomingTickerData.tickerStrikes);// Send data to frmMain
            strikeListCounter = 0;
            if (tickerListCounter < tickersList.GetUpperBound(0))
            {
                tickerListCounter++;
                StartStrategyProcedure(tickersList[tickerListCounter]);
            }
        }