![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jan 2008
Location: Austria
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
|
Hi guys,
I'm on NT 7.1000.6 I want to do following:
"COT_[Symbol]_[Type of Report]_[Subvalue]" COT_MXN_TFF_5LEVMon, COT_MXN_TFF_6OthRep, COT_MXN_TFF_7NonRep, COT_NDQ_COToV_1OI, COT_NDQ_COToV_2Spd, COT_NDQ_COToV_3Coms, COT_NDQ_COToV_4NonComs, COT_NDQ_COToV_5NonRep, COT_NDQ_TFF_1Oi, COT_NDQ_TFF_2Spd, COT_NDQ_TFF_3Dealr, COT_NDQ_TFF_4Assmgr, COT_NDQ_TFF_5LEVMon, COT_NDQ_TFF_6OthRep, COT_NDQ_TFF_7NonRep, COT_NDQmin_COToV_1OI, COT_NDQmin_COToV_2Spd, COT_NDQmin_COToV_3Coms, COT_NDQmin_COToV_4NonComs, COT_NDQmin_COToV_5NonRep, COT_NDQmin_TFF_1Oi, COT_NDQmin_TFF_2Spd, COT_NDQmin_TFF_3Dealr, COT_NDQmin_TFF_4Assmgr, COT_NDQmin_TFF_5LEVMon, COT_NDQmin_TFF_6OthRep, COT_NDQmin_TFF_7NonRep, COT_NG_CDY_1OI, COT_NG_CDY_2Spd, COT_NG_CDY_3Prod, COT_NG_CDY_4Swap, COT_NG_CDY_5MoMg, COT_NG_CDY_6OthRep, COT_NG_CDY_7NonRep, Everything works fine in the first place. All my 550 "instruments" show values in the Historical Data Manager/Edit Section. Also I can do the plotting on a chart like I wanted... BUT: On the Charts there were strange periods of unchanged Open Interest for several weeks -> I took a look in the original Data from CFTC and also in the txt.files for importing -> the values in the database and hence plotted on the chart were not right! I looked up the values in the "Edit" Seciton of Historical Data Manager and they were wrong, but not all data for a single instrument (only like est. 20%) and most instruments don't show wrong data at all. As the naming logic of my 550 instruments makes their filenames quite similar I tried some debuggin (I erased all 550 generic instruments from the sdf-database (MyDocuments/Ninjatrader 7/db/***.sdf) before each attempt): Trying to check the naming problem I changed the naming logic to much more different names for the instruments but it didn't help (which is logic to me, as every instrument gets an unique ID in the sql-database). After deleting all the instruments in the database again I tried to create only a single instrument and import data for it -> the problem still remains. The Data I imported from the text file shows - to some extent - not the same values in the Edit-Section of Historical Data Manager. I attached "screenshot1" showing contemporarily: - the Data Manager / Edit Section with the values imported from - txt file -> look at the red circles -> NT didn't import the right values - Chart with databox -> daily -> showing the data of Data manager (what else) I also attached the txt.file to import. The specs for generating the proprietary instrument I used for the "only importing one single instrument"-attempt are (screenshot2): MasterInstrument: USTECHMIN_COTOV_1OI Instrument type: Stock CCy: usDollar TickSize 0,01 Point Value 1 Session Template: Default 24/7 merge policy: useglobal settings Excanges: "Bm" and "Box" Symbol Map: only in row Collective2 "asdf" I'm running out of options here, absolutely no clue why it's not showing the right data... Please help!!! thx |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,815
Thanks: 32
Thanked 135 times in 135 posts
|
Hello koalboy,
Thank you for your post. Within the Instrument Editor please enable the Default Exchange as well. Next please add the instrument to your instrument with Default selected. Next open a new chart with the dates set to correlate with the dates imported. Please let me know if the issue persists after this procedure.
Christopher
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Jan 2008
Location: Austria
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
|
Hi Christopher,
thx for the fast reply. your suggestion didn't work, same problem still occurs... I tell you what I did: as I told you in my first thread, I was erasing all generic instruments from the sdf-Database before trying to work with only one instrument -> so only one of the generic instruments was left in the instrument manager and also only one set of imported data for this instrument. Following your instructions I deleted the instrument from my own List "COTData" and then readding it with choosing "default" for the exchange value. Afterwards I opened a chart with value "1875 days back" from todays date. Still the wrong data is shown. I checked in Edit Section of Historical Data Manager and of course the data were still "wrong" as well. The I deleted the instrument in the instrument manager, created a new one with checking also "default" when using the exchange-selection. Then I added this new instrument to the "default" InstrumentList and imported the data from the textfile (same like attached in first post). Again the data shown in the edit section of Historical Data Manager showed not the same values like in the text file... The must be some kind of bug when importing the data via the text file. I wonder if this only occurs on my end or if you have the same problem if you try it on your machine? thx |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,815
Thanks: 32
Thanked 135 times in 135 posts
|
So I may attempt to test on my end can you tell me the specific symbol used for the .txt you attached. Is it COT_oV_1OI?
The file must be saved with the same name as the instrument you are attempting to import. For example if you are importing data for AAPL the file needs to be named AAPL.txt.
Christopher
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Jan 2008
Location: Austria
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
|
according to the name of the attached txt.file in post #1 name of the symbol to add should be USTECHMIN_COTOV_1OI ...
I'm curious! |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,815
Thanks: 32
Thanked 135 times in 135 posts
|
when reviewing the Daily data it appears that the Open, High, Low and Close are all the same price with volume of 1 as seen in the attached screen shot.
Is this correct or should be values be different?
Christopher
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Member
Join Date: Jan 2008
Location: Austria
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
|
hi christopher,
yes, the format is correct. Please take a look at "screenshot1.pdf" file on the first post attachment. For Date Range 24.03.2009 to 09.06.2009 you see contemporarily the values of the text-file and the values in the Edit-Section of the Historical Data Manager and also a chart with this values - all three items show the date range from march to june 2009. And on my machine the values of the text file are not identical with the values in the Edit-Section (and hence on the chart) after importing them. Does this behaviour also occur on your system? thx |
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,815
Thanks: 32
Thanked 135 times in 135 posts
|
I have imported the .txt file you have attached to your original post and have attached a screen shot of the chart that is populated with this data.
Christopher
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Member
Join Date: Jan 2008
Location: Austria
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
|
Hi Christopher,
I attached a Screenshot (Screenshot3.pdf) with a direct comparison of the values in the text file (which should show up on the chart) and the chart which is produced by NT on your end (your attachment of the last post)... I marked some of the line values in the txt.file which are plotted wrong... As you can see, the chart shows not the values given in the text file, so the problem occurs also on your end, not only on mine... Do you have any explanation for this wrong importing behaviour of NT? |
|
|
|
|
|
#10 |
|
NinjaTrader Customer Service
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,815
Thanks: 32
Thanked 135 times in 135 posts
|
Please right mouse click within your chart-->Data Series-->Days to load-->Set to 1000-->Click Ok.
Please let me know if you then see the data correctly as referenced in my attached screen shot.
Christopher
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Member
Join Date: Jan 2008
Location: Austria
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
|
I get the same chart like you -> the wrong data for the period checked in Screenshot3.pdf (attached above) now is shown right BUT:
now there are "wrong" values at other places in the chart on this 1000 days setup -> everytime when the pirce-value stays flat for a longer period of time (march/april 2010 on your chart 4 weeks same value -> not complying with values of txt.file; or August/September 2009 or April/May/June 2009) it is not right. -> the price doesn't stay flat and this can be proofed when looking into the data of the import-txt-file... I'm desperate... |
|
|
|
|
|
#12 |
|
NinjaTrader Customer Service
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,815
Thanks: 32
Thanked 135 times in 135 posts
|
I will need to do additional testing on my end to see why these are plotted at the same price. I will follow up as soon as I gather additional information.
Christopher
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Importing txt files | Birle | Miscellaneous Support | 8 | 12-30-2010 05:03 AM |
| Importing Historical .txt Data | Aumkar | Connecting | 1 | 04-11-2010 01:25 PM |
| Questions on importing TXT data | smodato | Charting | 3 | 09-24-2009 07:38 AM |
| Importing Historical Daily data from .txt file problem | ollywedgwood | Strategy Analyzer | 13 | 07-30-2009 04:19 PM |
| importing txt files, charts wrong | r44chopper | Charting | 1 | 02-13-2008 09:05 AM |