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 JonesJoker, 04-22-2024, 12:23 PM
7 responses
40 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by Waxavi, 04-19-2024, 02:10 AM
2 responses
37 views
0 likes
Last Post poeds
by poeds
 
Started by chbruno, Yesterday, 04:10 PM
1 response
44 views
0 likes
Last Post NinjaTrader_Gaby  
Started by Max238, Today, 01:28 AM
1 response
24 views
0 likes
Last Post CactusMan  
Started by giulyko00, Yesterday, 12:03 PM
2 responses
10 views
0 likes
Last Post giulyko00  
Working...
X