SQLite and Ninja Script - NinjaTrader Programming | futures io social day trading
futures io futures trading


SQLite and Ninja Script
Updated: Views / Replies:1,334 / 6
Created: by vantojo Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

SQLite and Ninja Script

  #1 (permalink)
Elite Member
Neuquen, Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: CL, TF, 6S, NG, sometimes GC
 
Posts: 195 since Jul 2012
Thanks: 25 given, 39 received

SQLite and Ninja Script

Any of you collecting data from a Ninja Indicator into SQLite?

It appears that SQLite database can entirely run in memory, including the data tables, so there is no disk i/o once it is launched.

This is a project on my table, perhaps I'll start soon....

It would be useful to have the connect and disconnect code, as well as insert

There would be multiple indicators running, each one posting data to the database. Each of the instantiated indicators would have its own connect.

The idea would, at certain intervals, to pull data from the in memory SQLite database into a permanent database such as SQL Server where I can then do more robust analytic s on it.

If no one has done this I will post what I do, but it may be a little while before I can get something working. Can't promise when..

:-)

Reply With Quote
The following user says Thank You to vantojo for this post:
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Neuquen, Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: CL, TF, 6S, NG, sometimes GC
 
Posts: 195 since Jul 2012
Thanks: 25 given, 39 received

http://www.sqlite.org/


SQLite Home Page

Reply With Quote
 
  #4 (permalink)
Elite Member
NC, USA
 
Futures Experience: None
Platform: None Yet
Favorite Futures: Guitar
 
MrYou's Avatar
 
Posts: 403 since Jun 2011
Thanks: 618 given, 193 received

What about Microsoft .NET LINQ?

Reply With Quote
 
  #5 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

Page regarding connection from C#

Using SQLite in your C# Application - CodeProject

Reply With Quote
 
  #6 (permalink)
Elite Member
Neuquen, Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: CL, TF, 6S, NG, sometimes GC
 
Posts: 195 since Jul 2012
Thanks: 25 given, 39 received

C# adapter for SQLite

found this:

System.Data.SQLite: File List

System.Data.SQLite: About

evidently the native interface is C/C++ and this wrapper provides access for ADO.NET

don't know how to use it yet...but will post here for documentation in case others are interested

Reply With Quote
 
  #7 (permalink)
Elite Member
Neuquen, Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: CL, TF, 6S, NG, sometimes GC
 
Posts: 195 since Jul 2012
Thanks: 25 given, 39 received

SQLite adapter download for .NET 3.5

found here

System.Data.SQLite: System.Data.SQLite Download Page

(also for .Net 4, but doesn't NT use 3.5?)

this appears to be the source for the most current adapters, the two or three others I've seen from other providers are obsolete/discontinued

Reply With Quote

Reply



futures io > > > > > SQLite and Ninja Script

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help for a very simple script for Ninja Trader vgbouchet NinjaTrader Programming 7 December 1st, 2011 04:06 PM
AND NOT operator on Ninja Trader script?!? vgbouchet NinjaTrader Programming 3 November 27th, 2011 12:53 AM
Easy Language to Ninja Script fireman912 NinjaTrader Programming 4 June 23rd, 2011 11:39 PM
Programming errors while importing Ninja script emini_Holy_Grail NinjaTrader Programming 8 May 20th, 2010 04:09 AM
Ninja Script Import Problem jdella NinjaTrader 5 November 6th, 2009 10:57 AM


All times are GMT -4. The time now is 12:49 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-11 in 0.09 seconds with 19 queries on phoenix via your IP 107.20.115.174