private void OnOrderFillData(FillObj m_Fill)
 {
     OnFill(Convert.ToInt32(m_Fill.get_Get("QTY")),
            Convert.ToString(m_Fill.get_Get("BUYSELL")),
            Convert.ToString(m_Fill.get_Get("PRICE")),
            Convert.ToString(m_Fill.get_Get("KEY")));
 }
示例#2
0
 private void OnFill( FillObj pFill )
 {
     //Get fill data here with chatty calls. Chunky calls is faster.
     orderLogText.Text += String.Concat( "FILL RECEIVED: ",
     pFill.get_Get( "FFT3" ).ToString(), " ID#: ",
     pFill.get_Get( "KEY" ).ToString(), " Price: ",
     pFill.get_Get( "PRICE" ).ToString(), " B/S: ",
     pFill.get_Get( "BUYSELL" ).ToString(), " QTY: ",
     pFill.get_Get( "QTY" ).ToString(), Environment.NewLine );
 }
        private void OnOrderFillData(FillObj m_Fill)
        {
            //(String product, String key, String BS, int qty, int price, String time)

            OnFill(Convert.ToString(m_Fill.get_Get("PRODUCT")),
                   Convert.ToString(m_Fill.get_Get("KEY")),
                   Convert.ToString(m_Fill.get_Get("BUYSELL")),
                   Convert.ToInt32(m_Fill.get_Get("QTY")),
                   Convert.ToInt32(m_Fill.get_Get("PRICE")),
                   Convert.ToString(m_Fill.get_Get("TIME")));
        }
示例#4
0
 private void OnOrderFillData(FillObj m_Fill)
 {
     OnFill( Convert.ToInt32(m_Fill.get_Get("QTY")),
             Convert.ToString(m_Fill.get_Get("BUYSELL")),
             Convert.ToString(m_Fill.get_Get("PRICE")),
             Convert.ToString(m_Fill.get_Get("KEY")));
 }