Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Series.SetValueAt(Index) and Series.ResetAt(Index)

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

    Series.SetValueAt(Index) and Series.ResetAt(Index)

    The Series template class e.g. Series<double> foo = new Series<double>(this); allows the usage of .IsValidValueAt(index) and .GetValueAt(index) to avoid synchronization problems by using the indices directly. However, the .Set and .Reset methods only allow a "bars back" argument, which means there is no way to write into these series without synchronizing e.g. a custom event, which has performance considerations. It would be nice if there were provided a .SetValueAt(index) and .ResetAt(index) method to address this and for completeness.
    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    #2
    Hello Bruce DeVault,

    Thank you for the post, I have put in a feature request for these items.

    Please let me know if I may be of additional assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Please add my vote for this request.

      Comment


        #4
        Hello,

        Thank you for the post, I have added your vote as well.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          This is still an issue for sure. It's six years later, and because of concurrency, without this, we always risk that the series will advance a bar while we're in the process of updating it.
          Bruce DeVault
          QuantKey Trading Vendor Services
          NinjaTrader Ecosystem Vendor - QuantKey

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by claxxical, 05-30-2017, 12:30 PM
          37 responses
          4,453 views
          0 likes
          Last Post Padan
          by Padan
           
          Started by SugarDefwebsite, Today, 02:18 AM
          0 responses
          3 views
          0 likes
          Last Post SugarDefwebsite  
          Started by usglucofreeze, Today, 01:19 AM
          0 responses
          7 views
          0 likes
          Last Post usglucofreeze  
          Started by f.saeidi, Today, 01:12 AM
          0 responses
          14 views
          0 likes
          Last Post f.saeidi  
          Started by NinjaTrader_ChelseaB, 03-14-2017, 10:17 AM
          227 responses
          34,319 views
          7 likes
          Last Post rare312
          by rare312
           
          Working...
          X