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 mjairg, 07-20-2023, 11:57 PM
          3 responses
          213 views
          1 like
          Last Post PaulMohn  
          Started by TheWhiteDragon, 01-21-2019, 12:44 PM
          4 responses
          544 views
          0 likes
          Last Post PaulMohn  
          Started by GLFX005, Today, 03:23 AM
          0 responses
          3 views
          0 likes
          Last Post GLFX005
          by GLFX005
           
          Started by XXtrader, Yesterday, 11:30 PM
          2 responses
          12 views
          0 likes
          Last Post XXtrader  
          Started by Waxavi, Today, 02:10 AM
          0 responses
          7 views
          0 likes
          Last Post Waxavi
          by Waxavi
           
          Working...
          X