Different behaviour between Live and demo account

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #18558 quote
    kg6450
    Participant
    Average

    Hi all,

    I was hoping that someone else has noticed this issue with their forward testing.

    I deal through IG and am currently forward testing a simple moving average strategy with a 50 point trailing stop on a demo account, my colleague is running the exact same strategy (with the exact same code as me) on his live account at the same time.

    The strategy opens a trade at the open of the daily bar and both of our strategies opened a short position on GBP/USD at the same time this morning. GBP/USD moved down 21 points which moved my colleagues stop down 20 points with it, before price moved up and closed him out for -30points (which is wat should have happened). My stop however didn’t move at all and is at the same place as where it opened, meaning I am still open and now in profit.

    I was wondering if anyone else has noticed this when starting their system live or comparing demo with live performance? What is happening shouldn’t be happening because now if this trade closes in profit, it will give me false data for my forward testing that makes the system seem better than it really is.

    #18568 quote
    Nicolas
    Keymaster
    Master

    Because backtests are only tested on history *with no connection to live market* , you may encounter differences with real live trading environment subject to spread enlargement, slippage, etc. If your stop hasn’t move, there must be information of an error into your orders rejected list you can consult with CTRL+O.

    IG orders list history may be also helpful!

    #18571 quote
    kg6450
    Participant
    Average

    Hi Nicholas thank you for your response,

    I understand what you are saying, but I am not talking about back testing. I am running this system live on my demo account (it opened the position this morning) and my friend is also running it live on their real account.

    There is no recording of an error, in fact since GBP/USD hasn’t gone up 50 points since open, my position is still open. I have looked at my other open positions running trailing stops and they don’t actually move unless there is a very large movement in price (even though IG states that they move every 10 points)

    This means that the demo version and the live version of the same system are running differently to each other and can give very different future results

    #18573 quote
    Nicolas
    Keymaster
    Master

    Sorry for misunderstanding. But yes, you’ll encounter the same kind of differences between demo and live account. In this case, to know exactly what happened, you need to look into your orders history, this is the only possibility to check and adapt the code to have the same behaviour between demo and live trading account.

    #18574 quote
    kg6450
    Participant
    Average

    Thats ok!

    But what can there be to change if the two systems are using the exact same code? (I wrote it myself and simply imported it to their computer) It is simply just a SET STOP pTRAILING 50 that acted completely differently for two accounts

    #18580 quote
    Nicolas
    Keymaster
    Master

    I’d like to help, but without knowing the reason(s) why the stoploss move hasn’t occurred, that’s quite difficult 🙂 Please provide errors/messages from the orders history.

    #18618 quote
    arcane
    Participant
    Senior

    The answer is simple.

    The demo account does not know how to use stop loss or stop trailing.

    The demo account is useless.

    You have to use the real account to learn.

    #18620 quote
    Nicolas
    Keymaster
    Master

    The demo account does not know how to use stop loss or stop trailing

    Ok, but why?

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Different behaviour between Live and demo account


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
kg6450 @kg6450 Participant
Summary

This topic contains 7 replies,
has 3 voices, and was last updated by Nicolas
9 years, 2 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 12/15/2016
Status: Active
Attachments: No files
Logo Logo
Loading...