Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Forex historical data

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

    Forex historical data

    Hi,
    I'm having a lot of trouble testing a forex strategy that is using the following pairs with daily data :
    "EURUSD","EURGBP","EURJPY","EURAUD","EURCHF","EURN ZD","EURNOK","EURCAD","GBPUSD", "USDCHF","USDJPY","AUDUSD","USDNOK","NZDUSD","USDC AD"
    My broker / feed is IB.
    My NT version is 6 5 1000 14
    My TWS version is 898.4

    When I try to launch the strategy, historical data are requested to IB, and I bump into IB's limitation for historical data request.

    I have tried to call individually each pair (ploting them on a chart) to have all data stored locally.
    But when I tried to launch the strategy again, a request for historical data was sent to IB with the same result as above (I can see in the popup window that historical data are loaded).

    It is as if my data were not stored when I call up a chart.

    I have checked my settings, and the option "Store realtime bar data" is enabled.

    I have also tried with Gain, using the settings described in the documentaton, but I can't have historical daily data.

    Thank you for your help.
    Last edited by fle__; 11-03-2009, 10:39 AM. Reason: edit

    #2
    Hello fle,

    Thank you for your post.

    Unfortunately, this is a limitation of the IB historical data. And, yes, everytime you connect it will request historical data. Please see the following link for more information.


    However, what you can do to test your strategy without this limitation of IB is to load the historical data once. Then go to Tools-->Account Connections-->highlight the IB connection-->Change-->Next and then disable the historical data. This will then use the data that you just stored in your database from the IB feed and will prevent historical data requests.

    When finished you will want to enable historical data again.
    Ryan O.NinjaTrader Customer Service

    Comment


      #3
      thank you for your very prompt reply;
      what shall I do to "to load the historical data once" ?
      I thought that charting the instrument on the testing period would have been sufficient.

      Comment


        #4
        Hi,

        To load the data once you will want to chart the instrument while historical data is enabled with IB.

        Then, once you have the data you want for each of the forex pairs you want to test you will want to disconnect and then disable historical data and then reconnect to IB.

        From that point you will receive real-time data from IB, use the historical data in the database and then you can apply and test your strategy.
        Ryan O.NinjaTrader Customer Service

        Comment


          #5
          Thank you,
          I will do as you suggest.
          Regards

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by inanazsocial, Today, 01:15 AM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by rocketman7, Today, 02:12 AM
          0 responses
          10 views
          0 likes
          Last Post rocketman7  
          Started by dustydbayer, Today, 01:59 AM
          0 responses
          1 view
          0 likes
          Last Post dustydbayer  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          5 responses
          23 views
          0 likes
          Last Post trilliantrader  
          Started by Davidtowleii, Today, 12:15 AM
          0 responses
          3 views
          0 likes
          Last Post Davidtowleii  
          Working...
          X