Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Saving indicator values in a custom SQLite database

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

    Saving indicator values in a custom SQLite database

    Hi!

    I want to save some indicator values in a custom SQLite database. How would I do that?

    I have NinjaTrader 8, .NET SDK 6.0, and the following runtimes:
    • Microsoft.AspNetCore.App 6.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
    • Microsoft.AspNetCore.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
    • Microsoft.NETCore.App 6.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    • Microsoft.NETCore.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    • Microsoft.NETCore.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
    • Microsoft.WindowsDesktop.App 6.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    • Microsoft.WindowsDesktop.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    • Microsoft.WindowsDesktop.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    I understand that I should also have also System.Data.SQLite. Which version should I install?

    What other .NET frameworks should I have?

    Finally, how should I proceed once I have all the required frameworks?
    Last edited by Gianpiero; 01-21-2023, 03:46 AM. Reason: Fixed typos

    #2
    Hello Gianpiero,

    Thanks for your post.

    This would go beyond the support we would be able to provide in the NinjaTrader support department since it is not related to NinjaScript-specific code.

    That said, NinjaTrader uses .NET version 4.8 and this could be seen in the Release Notes section of the help guide linked below. Using versions newer than .NET 4.8 are not supported and should be used at your own discretion.

    Release Notes: https://ninjatrader.com/support/help...8/8_0_23_2.htm

    For information about working with SQLite using .NET 4.8, you could do a quick Google search for something like 'Working with SQLite on .NET 4.8'.

    This forum will also be open for other community members to share their insights on the topic.

    Please let me know if I may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    546 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X