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 Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        563 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        329 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        101 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        547 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        548 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X