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 cmoran13, 04-16-2026, 01:02 PM
|
0 responses
43 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
26 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
163 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
98 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
158 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Comment