![]() |
|
|||||||
| Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2009
Location: Kent, England
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
In some pre relase documentation there was the following statement: ' Import routines are now implemented as NinjaScript objects thus, developers can develop their own custom data import routines' I have looked through the online help files but can't find anything that looks as if it is going to do this. Please could you let me know where I need to look to find this. TIA, Graham. |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Graham,
This is currently not documented. What it means though is that you can use the import tool to bring in things like workspaces, templates, etc. To do so all you need to do is open up your zip file from an export and add in a workspace folder or a templates folder containing the files you wish the import to install as well.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2009
Location: Kent, England
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
Josh,
Thanks for the reply. I was wondering if there was a way to write data import routines, rather than importing templates, specifically importing data directly from Metastock (since I can access the metastock database directly), and metastock is now a 'supported' import. Regards, Graham. |
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Graham,
Unfortunately we do not support writing import routines, but to use MetaStock data for import all you have to do is go to Tools>Historical Data Manager>Import tab and select MetaStock as your input data format.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Aug 2009
Location: Kent, England
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
Josh,
Sorry about that, I had looked at the online help and it seemed as if the files had to be in .txt format. I have just started playing around with the importer and it seems to be doing what it is supposed to. I'll let you know how I get on. Regards, Graham. |
|
|
|
|
|
#6 |
|
Member
Join Date: Aug 2009
Location: Kent, England
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
Josh,
I have now had a bit more chance to play with the importing of Metastock data, and have the following comments. It has taken about 15 minutes to import some of my files (I can send you copies of these if necessary so that you can replicate) Also I sometimes get the following error message, and am not sure what it really means. 30/04/2010 21:13:58 Default Unable to import data for MetaStock symbol 'LCP_u.TO': Instrument is not supported by repository. The reason that I use the metastock data importer is because I have a lot of data supplied by Reuters in the Metastock format, do you know if there is an easy way to update this data within NT7 on a daily basis, rather than having to import all the data on a daily basis? Thanks for your help with this matter. Regards, Graham. |
|
|
|
|
|
#7 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Graham,
When importing MetaStock data it needs to do many conversions and recreations of files and such so it can take some time. Can you please provide your file for LCP_u.TO? Unfortunately there is no way to bring the data into NT without importing it.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Member
Join Date: Aug 2009
Location: Kent, England
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
Josh,
That error was one of many, do you want the log file that goes with that? Do you want a copy of all the files or just the one file? Graham. |
|
|
|
|
|
#9 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Graham,
If you can reproduce with just one file then that single file would suffice. Thank you.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
Member
Join Date: Aug 2009
Location: Kent, England
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
Josh,
File attached, it should be a .dat file not .doc, but had to change it to get it to upload it. After all is said and done the importing of Metastock data is really only meant to be used for a one time import, and there isn't a way to be able to import Reuters data into NT? This is a shame as Reuters offer a fantastic coverage of markets at reasonable prices. Graham. |
|
|
|
|
|
#11 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Graham,
Do you have the MASTER file as well? Unfortunately the format supported is MetaStock.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#12 |
|
Member
Join Date: Aug 2009
Location: Kent, England
Posts: 57
Thanks: 0
Thanked 0 times in 0 posts
|
Josh,
Copies of Master and emaster files. You will need to remove the .doc extensions. Graham. |
|
|
|
|
|
#13 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,499
Thanks: 109
Thanked 291 times in 280 posts
|
Just tested this and recieved the same error on my side. Passing these files to development to see what the next step will be.
Thank you for your patience.
Brett
NinjaTrader Customer Service |
|
|
|
|
|
#14 |
|
NinjaTrader Development
Join Date: Feb 2007
Location: Bamberg, , Germany
Posts: 279
Thanks: 0
Thanked 2 times in 2 posts
|
Hi grahamwillsher !
In order to import MetaStock data, NinjaTrader needs to have an instrument for that data. The on the fly creation of a instrument with name 'LCP_u.TO' is not supported. If you create an instrument, e.g.: - File -> New -> Utilities -> Import Stock Symbol List - type 'LCP_u.TO' and press return - repeat import --> import will work Kind regards, Christian
Christian
NinjaTrader Customer Service |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Import/Export ninjaScript | MrBaffalo | Miscellaneous Support | 7 | 10-18-2010 07:19 AM |
| can't import NinjaScript | kumaresh11 | Installation and Licensing | 1 | 10-30-2009 06:48 AM |
| NinjaScript Import Error | MiniDowTrader | General Programming | 4 | 02-13-2008 11:13 AM |
| NinjaScript Import Error | TAJTrades | Miscellaneous Support | 4 | 01-03-2008 09:01 AM |
| Can't import ninjascript | lexan97 | Miscellaneous Support | 4 | 12-16-2007 07:20 PM |