DailyFX Home | Español | Français | 中文 | Deutsch | Italiano | العربية | Sverige | Ελληνικά


+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20
  1. #1
    Trading Gurus is offline Gold Member Trading Gurus is an unknown quantity at this time
    Join Date
    Jun 2009
    Posts
    92

    How to backtest at weekends?

    I've just got up bright and early (on a Saturday morning!) to catch up on a backtesting backlog. I discover I have a problem, and I'd have been better off catching up on my beauty sleep instead.

    When I try to start up Strategy Trader I get told:

    "Cannot connect to www.fxcorporate.com server. Trade and update servers are only available during regularly traded market hours...."

    then after I click "OK" my only other option is "Cancel" and the platform dies.

    Is there any way around this irritating issue?
    Last edited by Trading Gurus; 07-31-2010 at 03:12 AM. Reason: Tried to remove auto link - No luck!
    Reality is merely an illusion, albeit a very persistent one - Albert Einstein

  2. #2
    Trading Gurus is offline Gold Member Trading Gurus is an unknown quantity at this time
    Join Date
    Jun 2009
    Posts
    92
    After checking regularly throughout the day, I just got auto-updated to build 282 and Strategy Trader has finally burst into life.

    What was the issue earlier? Servers down for maintenance and a misleading error message?

    In any event it would be very handy to be able to backtest against previously downloaded historical data, even in the absence of an internet connection.

    Jim
    Reality is merely an illusion, albeit a very persistent one - Albert Einstein

  3. #3
    Gaurav is offline Gold Member Gaurav is an unknown quantity at this time
    Join Date
    Mar 2010
    Posts
    496
    Hello Jim,

    The platform uses the same servers as Trading Station 2. Due to regular update and maintenance we have to take down the servers for sometime when market is closed. This is usually during Saturday.

    To save historic data that you downloaded, you can export it to your local drive and use QuoteManager to load that data back into ST. This will work even during off market hours.

  4. #4
    Trading Gurus is offline Gold Member Trading Gurus is an unknown quantity at this time
    Join Date
    Jun 2009
    Posts
    92
    Hi Gaurav,

    Quote Originally Posted by Gaurav View Post
    Hello Jim,
    To save historic data that you downloaded, you can export it to your local drive and use QuoteManager to load that data back into ST. This will work even during off market hours.
    That's nice to know, but it doesn't solve the problem I had. I couldn't even start up Strategy Trader (build 277) while your servers were down for maintenance.

    Cheers,

    Jim
    Reality is merely an illusion, albeit a very persistent one - Albert Einstein

  5. #5
    STHelp is offline FXCM Automated Platform Specialist STHelp is on a distinguished road
    Join Date
    Jan 2006
    Posts
    165
    The login hours are the same functional hours as the TSII. If you cannot login to the TSII you cannot login into ST.

    ST

  6. #6
    autoforexer's Avatar
    autoforexer is offline Member autoforexer is an unknown quantity at this time
    Join Date
    Jun 2010
    Posts
    272
    Quote Originally Posted by STHelp View Post
    The login hours are the same functional hours as the TSII. If you cannot login to the TSII you cannot login into ST.

    ST
    Then maybe it would be a good idea to add a "Work Offline" functionality in the future that allows a user to use the software without having to "log into" the server....

    Best,
    -autoforexer

  7. #7
    Gaurav is offline Gold Member Gaurav is an unknown quantity at this time
    Join Date
    Mar 2010
    Posts
    496
    Quote Originally Posted by autoforexer View Post
    Then maybe it would be a good idea to add a "Work Offline" functionality in the future that allows a user to use the software without having to "log into" the server....

    Best,
    -autoforexer
    Point taken. Having this will definitely be more convenient. We'll definitely consider adding this to future builds.

  8. #8
    autoforexer's Avatar
    autoforexer is offline Member autoforexer is an unknown quantity at this time
    Join Date
    Jun 2010
    Posts
    272
    Quote Originally Posted by Gaurav View Post
    Point taken. Having this will definitely be more convenient. We'll definitely consider adding this to future builds.
    Thank you. When I used to commute by train, I didn't have mobile internet access but was able to conveniently backtest strategies in TradeStation on my laptop, thanks to its "work offline" feature. ST should certainly have this option as well.

    Best,
    autoforexer

  9. #9
    Trading Gurus is offline Gold Member Trading Gurus is an unknown quantity at this time
    Join Date
    Jun 2009
    Posts
    92
    Quote Originally Posted by autoforexer View Post
    Thank you. When I used to commute by train, I didn't have mobile internet access but was able to conveniently backtest strategies in TradeStation on my laptop, thanks to its "work offline" feature. ST should certainly have this option as well.

    Best,
    autoforexer
    Quite so. I am mildy deranged, and hence take great delight in performing backtests while travelling on trains & boats & planes.
    Reality is merely an illusion, albeit a very persistent one - Albert Einstein

  10. #10
    Benn is offline Member Benn is an unknown quantity at this time
    Join Date
    Aug 2010
    Posts
    5
    Has there been any progress on the weekend backtesting? I have just had the distressing experience of ST crashing, shortly after market close. I like to code at the weekends, but there really is no point if I can't check to see that my code is doing what I expect it to do.

    I'm fairly sure the data I need for backtests is already on my computer. Why will ST not run without being able to connect to the server?

  11. #11
    autoforexer's Avatar
    autoforexer is offline Member autoforexer is an unknown quantity at this time
    Join Date
    Jun 2010
    Posts
    272
    Yes, the inability to access ST and test stEAs offline can be a nuisance.

    But there is a bigger potential issue: if ST has to be shut down over the weekend, any stEAs that are running on auto will also have to be shut down. There is a dire need for stEAs to resume its work when ST is restarted, but how does this work anyway? Would ST prompt the user if any positions that are opened by the stEA should be closed and any open orders canceled, and if so, does someone have to be around to monitor this when it happens? Also, if an stEA is "turned off" when shutting down ST, does it need to be "turned on" again when ST is restarted? If that's the case, how would you program an stEA to detect any positions that it had opened in the past as its own and continue trading seamlessly?

    These are not offered as rhetorical questions, but things that I think many of us would like to know. I'm working on stEAs that may or may not hold open positions over the weekend and so these are very important considerations.

    -autoforexer

  12. #12
    Trading Gurus is offline Gold Member Trading Gurus is an unknown quantity at this time
    Join Date
    Jun 2009
    Posts
    92
    Hi autoforexer,

    Quote Originally Posted by autoforexer View Post
    I'm working on stEAs that may or may not hold open positions over the weekend and so these are very important considerations.
    Same issue here. We have strategies that hold over the weekend. We even have strategies that stay in the market 100% of the time!

    @Benn - The servers don't seem to stay down the entire weekend. I haven't had the sort of crash you describe, and have instead found that just leaving Strategy Trader running over Friday night allows me to work with it on Saturday morning.

    Jim
    Reality is merely an illusion, albeit a very persistent one - Albert Einstein

  13. #13
    Gaurav is offline Gold Member Gaurav is an unknown quantity at this time
    Join Date
    Mar 2010
    Posts
    496
    An offline mode will be available in next build. We had it lined up as an update for current build but we couldn't get to it in time, but it will be there in the next build.

  14. #14
    Gaurav is offline Gold Member Gaurav is an unknown quantity at this time
    Join Date
    Mar 2010
    Posts
    496
    Quote Originally Posted by autoforexer View Post
    Yes, the inability to access ST and test stEAs offline can be a nuisance.

    But there is a bigger potential issue: if ST has to be shut down over the weekend, any stEAs that are running on auto will also have to be shut down. There is a dire need for stEAs to resume its work when ST is restarted, but how does this work anyway? Would ST prompt the user if any positions that are opened by the stEA should be closed and any open orders canceled, and if so, does someone have to be around to monitor this when it happens? Also, if an stEA is "turned off" when shutting down ST, does it need to be "turned on" again when ST is restarted? If that's the case, how would you program an stEA to detect any positions that it had opened in the past as its own and continue trading seamlessly?

    These are not offered as rhetorical questions, but things that I think many of us would like to know. I'm working on stEAs that may or may not hold open positions over the weekend and so these are very important considerations.

    -autoforexer
    If you are running ST on a VPS or any computer that will not be shut down then auto-trading should resume as long as you have enabled Auto-reconnect on your workspace. If the user shuts down ST, then the user will have to enable auto-trade when ST is restarted.

  15. #15
    autoforexer's Avatar
    autoforexer is offline Member autoforexer is an unknown quantity at this time
    Join Date
    Jun 2010
    Posts
    272
    Quote Originally Posted by Gaurav View Post
    If you are running ST on a VPS or any computer that will not be shut down then auto-trading should resume as long as you have enabled Auto-reconnect on your workspace. If the user shuts down ST, then the user will have to enable auto-trade when ST is restarted.
    Ah, so that's what auto-reconnect does. Is this specifically for the Friday to Sunday period, or does this extend to any temporary disruptions of data that could occur from time to time?

    Let's say I shut down ST while autotrade was enabled AND there is an open position. When I restart ST and re-enable autotrade, would the stEA pick up again, or would the open positions no longer be recognized by the stEA and therefore must be closed or managed manually?

    Thanks,
    autoforexer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.