Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Schema for Database...creating a private database for historical/analytical reporting

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

    Schema for Database...creating a private database for historical/analytical reporting

    Ninja does not publish the schema for NinjaTrader.sdf, which is a SQL Server Compact 3.5 database, or support it for any other purpose than the NinjaTrader application itself.

    I am wanting to extract the data daily and build my own historical reporting/analytical database.

    Copying the data is easy, there being a free fully operational SQL Server available for download from Microsoft, including all the necessary tools.

    What would save me time would be the SQL Join Code that assembles the data as shown on the Orders Tab of Account Performance.

    (There is a reported "bug" on this tab...if you exit an ATM manually or if the ATM is completed outside of its control, the profit/loss is not reported correctly...perhaps we can improve this)

    Just glancing at the schema it appears that one needs to match raw buy and sell executions and combine them into completed orders.

    Anyone done this and willing to share the syntax? You can send me a private email if you wish.

    If no one has done this I will be willing to send the sql code I write in a private message....(when I can get this on the to do list...)

Latest Posts

Collapse

Topics Statistics Last Post
Started by Hwop38, 05-04-2026, 07:02 PM
0 responses
174 views
0 likes
Last Post Hwop38
by Hwop38
 
Started by CaptainJack, 04-24-2026, 11:07 PM
0 responses
329 views
0 likes
Last Post CaptainJack  
Started by Mindset, 04-21-2026, 06:46 AM
0 responses
252 views
0 likes
Last Post Mindset
by Mindset
 
Started by M4ndoo, 04-20-2026, 05:21 PM
0 responses
355 views
0 likes
Last Post M4ndoo
by M4ndoo
 
Started by M4ndoo, 04-19-2026, 05:54 PM
0 responses
182 views
0 likes
Last Post M4ndoo
by M4ndoo
 
Working...
X