Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
i'd like to store all data from all futures ( many that i can) and share with other guys,
could someone explain how to start collect data and share them?
Can you help answer these questions from other members on NexusFi?
One possible approach would be to load a database driver in a ninja script and write the data as it comes in (OnBarUpdate()) to a table in the database. I was looking at storing some information from a strategy into postgres (my preference), but not actual back tested data. I did some googleing and found a C#-postgres database driver, but I have not tried using it yet. Here's a writeup on getting started with that: Using PostgreSQL in your C# (.NET) application (An introduction) - CodeProject
i see that the best datafeed and granularity is zenfire by mirus.
My idea was very simple.
I see that there is a project on this forum on database in mysql, i have a pc that i can use to store data, so i'd like to store data from datafeed and post the data evry day.
I am not a programmer, so my is only an idea, i don't have the knowledge to use mysql.
I ask if is there a video tutorial on this forum but nothing.
I see also that bigmike wants to jump on multicharts, so would be nice if is it possible to use one databe for 2 trading paltform.
Anothe poiu is to kake rollover and long data for futures automatic way.
Another approach is to take the existing historical data files and insert them into database tables via bulk insert (for postgres anyways). I have not looked at the format for the data, but I don't think that massaging the data for inserts should not be difficult (for me anyways. I have experience with this sort of thing ).
Now getting data into NT from the db will require some work. From this post on the NT forum, NTDataFeeder pulls in data from a file and plays it back to NT:
If the source code is available for NTDataFeeder, then that's even better
This opens up a range of other possibilities as well. For example, special instruments can be created just for simulated data created using the monte carlo....
If evryday i have my ninjatrader open and market analyzer ready with all instrument, futures, stock... that i like, are the stored in the database?
How could i fill the gap of one week if i am going to holiday?
When there is a rollover day about futures how could manage the database in right way, to have a long chart of many years without bad spike or databroken?
Each trader should have a database of at least 8 years to test strategy.
This data should be load on ninja and afther maintain database.
It seems a not important work this but for algotrader is it foundamental.
Another point is that all this process should be simple and not a waste of time.
So all kiss idea and practical are accepted.
Sorry i am not a programmer, but a trader and i am learning now how to do this, but i try to help the other and give good ideas.