• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Historical quotes and empty Daily bars. Is it normal?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Historical quotes and empty Daily bars. Is it normal?

    Hello

    For testing my strategy with Historical quotes I`m downloaded quotes from IQFeed (minutes) like in picture below

    Click image for larger version

Name:	cd6b9ef652.png
Views:	2
Size:	15.1 KB
ID:	1060909

    After this I can see chart with minutes TimeFrame
    Click image for larger version

Name:	aec4cbcf4b.png
Views:	1
Size:	20.9 KB
ID:	1060910

    But I don`t see Daily bars. Why they don`t created automatically from minute quotes? Do I need download Daily quotes too?
    Click image for larger version

Name:	522f34b8ed.png
Views:	1
Size:	10.9 KB
ID:	1060911

    Quotes are downloaded
    Click image for larger version

Name:	66e6ec2e42.png
Views:	1
Size:	67.8 KB
ID:	1060912

    Regards,
    Sergey
    Attached Files

    #2
    Hello sergey_z,

    Thanks for your post.

    Yes, that is normal. It would be expected that if you only download minute bars that you would not be able to display daily bars.

    NinjaTrader works with three data types, tick, Minute and Daily. All other bars are based up these types. For example, 30-second bars would require tick data, 15-minute bars require minute data, weekly bars require daily bars.

    You can create a pseudo daily bar based on minute bars by creating a 1440 minute bar (24 hours times 60 minutes = 1440 minutes/day), however, this bar would not reflect the settlement price (assuming you are using futures data).

    For reference on bar building, please review the section, "Understanding the underlying base data type required for constructing various chart bars" here: https://ninjatrader.com/support/help..._are_built.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      ok, and if in Strategy I use Daily price like Open/Close I have to download and Daily quotes too? It will better that create pseudo Daily Bars?

      Comment


        #4
        Hello sergey_z,

        Thanks for your reply.

        It depends on what you need to do and what values are required. Here are the facts of each choice:

        Using daily bars from daily data. If using futures data, the daily bars would be fixed to use ETH hours and are not changeable. Depending on the data feed, the settlement price is used as the daily bars close price. This will mean that indicators, such as pivots, would be created based on the settlement price instead of the close price. Using daily bars for daily bars and higher time frames would require less data processing because each bar would only be 6 data points (high, low, close, open, volume and timestamp) whereas using minute bars to make daily bars would require more processing based on 1440 x 6 data points per daily bar.

        Using minute bars to make up daily bars allows you to select any trading hours you wish to apply and the bars will adjust as specified. The daily bar made with minutes will use the last price of the session of the applied trading hours as the close price of the bar.

        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by joemiller, Today, 07:33 AM
        0 responses
        6 views
        0 likes
        Last Post joemiller  
        Started by isnercrypto, Today, 06:42 AM
        0 responses
        4 views
        0 likes
        Last Post isnercrypto  
        Started by Coursocied67, Today, 04:02 AM
        0 responses
        5 views
        0 likes
        Last Post Coursocied67  
        Started by TheGameOfProbabilities, 07-18-2019, 06:56 AM
        7 responses
        37 views
        0 likes
        Last Post DaveS
        by DaveS
         
        Started by claxxical, Yesterday, 10:00 PM
        0 responses
        11 views
        0 likes
        Last Post claxxical  
        Working...
        X