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 Mindset, 04-21-2026, 06:46 AM
|
0 responses
57 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
78 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
41 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
101 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
61 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment