Announcement

Collapse
No announcement yet.

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 NullPointStrategies, Today, 05:17 AM
          0 responses
          50 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          127 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          69 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X