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

  • NinjaTrader_ChelseaB
    replied
    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

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello ttodua,

    I would not be able to say.

    Leave a comment:


  • ttodua
    replied
    Can you tell me how much resource this feature-implementation needs?

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    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.

    Leave a comment:


  • [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.

Latest Posts

Collapse

Topics Statistics Last Post
Started by sjeffblack, Today, 01:22 PM
1 response
12 views
0 likes
Last Post NinjaTrader_ChrisL  
Started by Kicks.Spin, Today, 01:24 PM
1 response
9 views
0 likes
Last Post NinjaTrader_Jesse  
Started by JLSwin, Today, 01:07 PM
1 response
6 views
0 likes
Last Post NinjaTrader_ChrisL  
Started by dgee949, Today, 12:11 PM
4 responses
17 views
0 likes
Last Post dgee949
by dgee949
 
Started by jalro, Today, 10:25 AM
1 response
18 views
0 likes
Last Post NinjaTrader_Kate  
Working...
X