Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

[Feature request] Implement "GetOption / SetOption" to store/retrieves data from DB

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

    [Feature request] Implement "GetOption / SetOption" to store/retrieves data from DB

    Most of frameworks out there have something like that, a readily available get/set methods to store/retrieve datas from the framework-created database. Now, we have to create tons of JSON files to read/save data for our addons/apps.

    That should be then possible to store large datas or even 2 words, like:

    Code:
    SetOption(this, "myKey", "a-large-data-heree");
    //and then
    var value = GetOption(this, "myKey", "a-large-data-heree");  
    
    
    //note: `this` is the script-scope, which will always have an unique namespace-script-name, according to that, the storage-dictionary should be created for that script separately.  However, there should be possible an exception, when there is passed "null", then the option should be GLOBAL scope, so other scripts could obtain that too, like:
    SetOption(null, "myKey", "dataaa");
    ...
    var value = GetOption(null, "myKey");
    I know NT doesn't implement anything user-suggested (even thought it doesn't need much hours or resources from NT developers) however, for the sake of personal records, I am creating this topic.
    Last edited by ttodua; 08-01-2021, 01:14 PM.

    #2
    Hello ttodua,

    I will submit your request for consideration.

    Please note, we receive many requests and cannot reasonably implement all requested features or changes. Interest is tracked internally and if enough interest is tracked, it would be weighed against how feasible it would be to make those changes to consider implementing, so we cannot offer an ETA or promise of fulfillment.

    When new features are implemented, they will be listed in the Release Notes page of the Help Guide. The ID number may be different than the internal feature request tracking ID, but the description of the feature will let you know if that feature has been implemented.

    Release Notes - https://ninjatrader.com/support/help...ease_notes.htm

    That said, NinjaTrader does implement user requests with enough demand when decided by development. NinjaTrader 8 was built with over 500 user requests. Have a look at the release notes to see the many new features that have been added over the years.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Can you tell me how much resource this feature-implementation needs?

      Comment


        #4
        Hello ttodua,

        I would not be able to say.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello ttodua,

          This request is being tracked with ID# SFT-5304.

          Please note, we receive many requests and cannot reasonably implement all requested features or changes. Interest is tracked internally and if enough interest is tracked, it would be weighed against how feasible it would be to make those changes to consider implementing, so we cannot offer an ETA or promise of fulfillment.

          When new features are implemented, they will be listed in the Release Notes page of the Help Guide. The ID number may be different than the internal feature request tracking ID, but the description of the feature will let you know if that feature has been implemented.

          Release Notes - https://ninjatrader.com/support/help...ease_notes.htm
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by RaddiFX, Yesterday, 11:57 PM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_Marco  
          Started by Tonofit, Today, 12:00 AM
          0 responses
          1 view
          0 likes
          Last Post Tonofit
          by Tonofit
           
          Started by ck6libra, Yesterday, 11:20 PM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by witipica, Yesterday, 10:02 PM
          1 response
          13 views
          0 likes
          Last Post NinjaTrader_ChrisSch  
          Started by rtwave, Yesterday, 09:52 PM
          0 responses
          8 views
          0 likes
          Last Post rtwave
          by rtwave
           
          Working...
          X