Thanks in advance.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to access SqLite database from an indicator
Collapse
X
-
How to access SqLite database from an indicator
I've been accessing an .sdf database from an indicator. The .sdf format is getting a bit long in the tooth so I'm transitioning to SqLite, or trying. I'm very new to SqLite. I've successfully created and updated databases using both sqlite3 and SQLite-net-pcl. This has been accomplished in Visual Studio 2022. When I try to copy the code into a NinjaTrader indicator script with a 'using SQLite;' statement I get errors. I have copied the reference files into ...\custom\bin folder. I've also tried using sqlite3 which also causes errors. The question here is which libraries do I need to use to access .sqlite databases and where do I find them?
Thanks in advance. -
Thanks Chelsea, I posted this question after spending a week and a half searching for answers. SqLite has been mentioned a couple of times in forum posts but the specific details have not been discussed. I've seen a few questions about SqLite and thought a post would give anyone interested a place of reference. I did get NT to load a database using System.Data.Sqlite ver 117. I'm not trying to find how to get LINQ to work. Thanks for all the great help.
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
574 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
331 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
550 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment