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 SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
36 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
14 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
19 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
22 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment