Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MarketDepthEventArgs Price

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MarketDepthEventArgs Price

    Good Morning,

    with OnMarketDepth(MarketDepthEventArgs e)

    Print(e.Price.ToString()); doesn't print anything
    whereas Print(e.Position.ToString()) does.

    Why is that?

    NT 7.0.1000.9, kinetick, with /es

    Regards

    #2
    diff42rac,

    Do you have a subscription to Kinetick for real time data? I currently am getting price prints using this method and kinetick.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      yes i do

      JF

      Comment


        #4
        It's only working in onmarketdata

        Comment


          #5
          JF,

          Do you subscribe to Market Depth in your Kinetick subscription? It may be you are not receiving this data.
          Adam P.NinjaTrader Customer Service

          Comment


            #6
            i do receive the data: e.position, e.volume, e.marketdatatype, e.mar****peration, e.time, i just don't get e.price.

            Comment


              #7
              diff42rac,

              You may need to contact kinetick and verify that you have the market depth subscription here. I am currently unable to replicate on my end using this method with such a subscription. The subscription is an extra monthly fee.



              If you could also post more of your code I could test on my end.
              Adam P.NinjaTrader Customer Service

              Comment


                #8
                here is the billing:

                Market Depth 4/1/2012 - 5/1/2012 $20.00 USD

                Comment


                  #9
                  diffrac,

                  Ok thanks for verifying; I wasn't clear if you did or not from your previous posts.

                  Do you perhaps have a code sample I may run on my end? If it works here I may need to test your kinetick connection.

                  If you simply run this :

                  protected override void OnBarUpdate()
                  {
                  }

                  protected override void OnMarketDepth(MarketDepthEventArgs e)
                  {
                  Print(e.Price.ToString());
                  }

                  Does it work?
                  Adam P.NinjaTrader Customer Service

                  Comment


                    #10
                    i've closed the chart and opened a new one, now it's working.

                    Comment


                      #11
                      sorry to have bothered you, but it was just too odd

                      Comment


                        #12
                        diffrac,

                        You are definitely not bothering us. We are here to help. I am happy your issue is resolved, please let us know if you require additional assistance.
                        Adam P.NinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by CarlTrading, 03-31-2026, 09:41 PM
                        1 response
                        152 views
                        1 like
                        Last Post NinjaTrader_ChelseaB  
                        Started by CarlTrading, 04-01-2026, 02:41 AM
                        0 responses
                        89 views
                        1 like
                        Last Post CarlTrading  
                        Started by CaptainJack, 03-31-2026, 11:44 PM
                        0 responses
                        131 views
                        2 likes
                        Last Post CaptainJack  
                        Started by CarlTrading, 03-30-2026, 11:51 AM
                        0 responses
                        127 views
                        1 like
                        Last Post CarlTrading  
                        Started by CarlTrading, 03-30-2026, 11:48 AM
                        0 responses
                        107 views
                        0 likes
                        Last Post CarlTrading  
                        Working...
                        X