Announcement

Collapse
No announcement yet.

How to request daily history data between 2006-01-01 to 2007-01-01?

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

  • How to request daily history data between 2006-01-01 to 2007-01-01?

    The RequestHistory function seemed always request <numBars> to current date.

    Is it any way to request <numBars> to specified date?

    Is it any way to request between Begin-Date to End-Date?

    Can I get some sample code?

    Thanks.
    Last edited by littlelight; 06-01-2009, 06:51 PM.

  • #2
    Hello Littlelight,

    The desktop API does not have the ability to allow for specific date for historical data. Each request is going to start with the zero (0) bar or current bar and count to the NUMBAR number specified.

    Is it any way to request <numBars> to specified date?
    There is no way to specify the date but if you're willing to do some calculation you could count out the days and using Daily interval and NUMBAR to get there.


    Is it any way to request between Begin-Date to End-Date?
    As mentioned above this is not possible with the desktop API.

    AveryH
    eSignal Support

    Comment


    • #3
      Understood.

      Thank you!

      Comment

      Working...
      X