{"id":2579,"date":"2023-02-23T21:44:27","date_gmt":"2023-02-23T21:44:27","guid":{"rendered":"https:\/\/pjsmith.me.uk\/?p=2579"},"modified":"2025-01-11T13:29:02","modified_gmt":"2025-01-11T13:29:02","slug":"ncd-export-utility-for-ninjatrader-8-and-7","status":"publish","type":"post","link":"https:\/\/pjsmith.me.uk\/index.php\/2023\/02\/ncd-export-utility-for-ninjatrader-8-and-7\/","title":{"rendered":"NCD Export utility NinjaTrader 7\/8"},"content":{"rendered":"[vc_row type=&#8221;in_container&#8221; full_screen_row_position=&#8221;middle&#8221; column_margin=&#8221;default&#8221; column_direction=&#8221;default&#8221; column_direction_tablet=&#8221;default&#8221; column_direction_phone=&#8221;default&#8221; scene_position=&#8221;center&#8221; text_color=&#8221;dark&#8221; text_align=&#8221;left&#8221; row_border_radius=&#8221;none&#8221; row_border_radius_applies=&#8221;bg&#8221; overflow=&#8221;visible&#8221; overlay_strength=&#8221;0.3&#8243; gradient_direction=&#8221;left_to_right&#8221; shape_divider_position=&#8221;bottom&#8221; bg_image_animation=&#8221;none&#8221;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_tablet=&#8221;inherit&#8221; column_padding_phone=&#8221;inherit&#8221; column_padding_position=&#8221;all&#8221; column_element_direction_desktop=&#8221;default&#8221; column_element_spacing=&#8221;default&#8221; desktop_text_alignment=&#8221;default&#8221; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_backdrop_filter=&#8221;none&#8221; column_shadow=&#8221;none&#8221; column_border_radius=&#8221;none&#8221; column_link_target=&#8221;_self&#8221; column_position=&#8221;default&#8221; gradient_direction=&#8221;left_to_right&#8221; overlay_strength=&#8221;0.3&#8243; width=&#8221;1\/1&#8243; tablet_width_inherit=&#8221;default&#8221; animation_type=&#8221;default&#8221; bg_image_animation=&#8221;none&#8221; border_type=&#8221;simple&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][vc_column_text css=&#8221;&#8221; text_direction=&#8221;default&#8221;]\n<p>This utility exports tick and\/or minute data from the Ninjatrader database to alternative formats such as .csv or SQL, for further analysis and uses. Many people will purchase this data separately for analysis projects. Why, when you have the data in your NT8 database already? Please note &#8211; This utility is not in any way supported by Ninjatrader.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/image-1.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"421\" data-attachment-id=\"2639\" data-permalink=\"https:\/\/pjsmith.me.uk\/index.php\/2023\/02\/ncd-export-utility-for-ninjatrader-8-and-7\/image-11\/\" data-orig-file=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/image-1.webp\" data-orig-size=\"1223,503\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/image-1-300x123.webp\" data-large-file=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/image-1-1024x421.webp\" class=\"wp-image-2639\" src=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/image-1-1024x421.webp\" alt=\"\" srcset=\"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/image-1-1024x421.webp 1024w, https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/image-1-300x123.webp 300w, https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/image-1-768x316.webp 768w, https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/image-1-600x247.webp 600w, https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/image-1.webp 1223w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n<p>There are a number of options that must be set when running the utility from the command line. To get a list of the options, per the above, simply run the utility without any parameters.<\/p>\n\n<p>To make sure you have the data you need already present in your Ninjatrader database, simply load a chart that uses Tick or minute data (for tick data, you could use any higher value tick chart, such as 2,000 tick), and make sure the data series loads enough days back to cover the period you require for the instrument you want. Ninjatrader will download the data from your data provider. Once you have displayed the chart once, the data stays in your local database for future use and the utility will be able to export it if needed.<\/p>\n\n<p>You can export to &#8216;mysql&#8217; or &#8216;csv&#8217; formats. CSV will import into most spreadsheet-type apps, such as Excel, or Google Sheets. The MySQL format will import directly into most ANSI standard SQL servers, including Mysql and MariaDB. The data includes the exchange timestamp, the bid, ask, last, and volume. A typical export of 1 week of tick data for an active instrument may take around 5 minutes to complete.<\/p>\n<p><strong>Download<\/strong><\/p>\n<div class=\"sdm_download_button_box_default\"><div class=\"sdm_download_link\"><a href=\"https:\/\/pjsmith.me.uk\/?sdm_process_download=1&download_id=2599\" class=\"sdm_download green\" title=\"pjsNCDEExport\" >Download Now!<\/a><\/div><\/div>There is no installation for this application. Download and extract to the folder\/location of your choice and run it directly. It is a .net 6.0 application.<\/p>\n<p><strong>Usage<\/strong><\/p>\n<p>Here is an example command line<\/p>\n<p><em><strong>pjsncdexport \/fromdate 022023 \/sourcepath &#8220;E:\\Paulhome\\Documents\\NinjaTrader 8\\db&#8221; \/instrument &#8220;@SPX500&#8221;<\/strong><\/em><\/p>\n<p><strong>Updates<\/strong><\/p>\n<p>Please see the release notes in the <a href=\"https:\/\/pjsmith.me.uk\/index.php\/docs\/\">documentation<\/a> for details of updates<\/p>\n<p><strong>Requirements<\/strong><\/p>\n<!-- \/wp:post-content -->\n<p><!-- wp:paragraph -->Ninjatrader 7\/8<\/p>\n<p>Whilst Ninjatrader 7 should be supported for tick resolution export, I have not tested it.<br \/>Minute resolution is not currently enabled in this download<\/p>\n<!-- \/wp:paragraph --><!-- \/wp:paragraph -->\n<p><!-- wp:paragraph --><strong>Licensing<\/strong><\/p>\n<!-- \/wp:paragraph -->\n<p>This software is coffee ware. It is free to download and use, but, if you find it useful, please consider using the link in the app or the link on the right of this page to show the author you care and <a href=\"https:\/\/ko-fi.com\/pjsmith\">buy him a coffee<\/a>. Just 1 coffee ( you can buy more if you want! ) &#8211; Or, consider it a beer! That&#8217;s not a lot for the time it saved you, is it? Without support, the author will neither maintain this product nor make new ones available publicly. Please be sure to check out <a href=\"https:\/\/pjsmith.me.uk\/index.php\/tag\/NinjaTrader\/\">some of my other Ninjatrader bits and pieces<\/a>.\u00a0 Remember, I&#8217;ve got to eat and keep the lights on too! Thanks for your support!<\/p>\n[\/vc_column_text][\/vc_column][\/vc_row]\n","protected":false},"excerpt":{"rendered":"<p>A new and unique utility to easily export your tick\/minute instrument data from the Ninjatrader database<\/p>\n","protected":false},"author":1,"featured_media":2582,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[72,5,57],"tags":[88,87],"class_list":{"0":"post-2579","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ninjatrader","8":"category-tech","9":"category-trading","10":"tag-export","11":"tag-ncd"},"jetpack_featured_media_url":"https:\/\/pjsmith.me.uk\/wp-content\/uploads\/2023\/02\/WindowsTerminal_XmpcFfGqnT.jpg","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/2579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=2579"}],"version-history":[{"count":0,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/2579\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/media\/2582"}],"wp:attachment":[{"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=2579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=2579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pjsmith.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=2579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}