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


+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 31 to 39 of 39
  1. #31
    Trading Gurus is offline Gold Member Trading Gurus is an unknown quantity at this time
    Join Date
    Jun 2009
    Posts
    92
    Hi KrazyOne,

    Quote Originally Posted by KrazyOne View Post
    However, there are some differences between our setups.

    You have yours set to unlimited entries, whereas I have mine set to the default limit one entry.
    I changed my setup (see below). I ran a quick test on my laptop in the middle of nowhere. I still see the same errors.

    I'll go try on a VPS now too, but I can't say I'm terribly hopeful!

    Jim
    Attached Thumbnails Attached Thumbnails Ray the Random Robot Needs Urgent Assistance-2010-10-20_laptop-orders.jpg  

    Ray the Random Robot Needs Urgent Assistance-2010-10-20_laptop-errors.jpg  

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

  2. #32
    KrazyOne is offline Member KrazyOne is an unknown quantity at this time
    Join Date
    Jul 2010
    Posts
    24
    Hey Jim,

    I actually meant the middle option from your screenshot.

    Just checking, but have you tried to update your Order2Go?

    Strategy Trader apparently plugs into this API and if the Order2Go is too old, you might see some funny things.

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

    Quote Originally Posted by KrazyOne View Post
    Hey Jim,

    I actually meant the middle option from your screenshot.

    Just checking, but have you tried to update your Order2Go?

    Strategy Trader apparently plugs into this API and if the Order2Go is too old, you might see some funny things.
    I thought ST installed a new Order2Go anyway? I've had it on my laptop for years, though updated regularly. VPS only got it along with ST though.

    Here's my results on a VPS located in the good ol' U.S. of A. Just the same problems.

    I'll go look closely at Order2Go now.

    Jim
    Attached Thumbnails Attached Thumbnails Ray the Random Robot Needs Urgent Assistance-2010-10-20_vps-errors.jpg  

    Ray the Random Robot Needs Urgent Assistance-2010-10-20_vps-orders.jpg  

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

  4. #34
    Trading Gurus is offline Gold Member Trading Gurus is an unknown quantity at this time
    Join Date
    Jun 2009
    Posts
    92
    Well I uninstalled ST & Order2Go on the VPS. Reinstalled ST build 295, which also installed Order2Go. Started a new test.

    I am still getting the "Didn't receive final status" warnings, but after one round turn the order management isn't getting screwed up as badly as a result.

    How do I check the build of an Order2Go installation?

    Jim
    Last edited by Trading Gurus; 10-20-2010 at 04:14 PM.
    Reality is merely an illusion, albeit a very persistent one - Albert Einstein

  5. #35
    Trading Gurus is offline Gold Member Trading Gurus is an unknown quantity at this time
    Join Date
    Jun 2009
    Posts
    92
    Morning All,

    Krazy's simplified clone of Ray the Random Robot has been running all night on one of our US VPSes, with what I assume are the latest builds of both Strategy Trader and Order2Go. This is what happened.

    Does anyone at FXCM or your assorted subcontractors have any handle on what's going wrong here, and how to put it right?

    Jim
    Attached Thumbnails Attached Thumbnails Ray the Random Robot Needs Urgent Assistance-2010-10-21_vps-orders.jpg  

    Ray the Random Robot Needs Urgent Assistance-2010-10-21_vps-errors.jpg  

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

  6. #36
    Creosoto is offline Member Creosoto is an unknown quantity at this time
    Join Date
    Sep 2010
    Posts
    15

    I have the same problem.

    <Translated with google>
    I have the same problem.
    The error messages are due to the fact that when you close an OCO order is not cancel the corresponding OCO order, the system goes into limbo for a while then gives the error message because there is a hanging type OCO order (the old one ) without a corresponding OCO order, then continues to receive new orders.

  7. #37
    Gaurav is offline Gold Member Gaurav is an unknown quantity at this time
    Join Date
    Mar 2010
    Posts
    496
    Quote Originally Posted by Creosoto View Post
    <Translated with google>
    I have the same problem.
    The error messages are due to the fact that when you close an OCO order is not cancel the corresponding OCO order, the system goes into limbo for a while then gives the error message because there is a hanging type OCO order (the old one ) without a corresponding OCO order, then continues to receive new orders.
    I'm not able to reproduce your error. Please confirm that you are using OrderAction.SellShort or OrderAction.Buy to create limit and stop orders. It can give you unexpected results if you don't get the price right.

    Here is an example of SellShort OCO

    Code:
    protected override void Construct() {
    	limit_entry = OrdersFactory.CreateLimit(new OrdersCreateParams(Lots.Default, OrderAction.SellShort));
    	stop_entry = OrdersFactory.CreateStop(new OrdersCreateParams(Lots.Default, OrderAction.SellShort));
    }
    		
    protected override void Initialize() {
    }
    		
    protected override void Execute(){
    	limit_entry.Generate(1.3990);
    	stop_entry.Generate(1.3980);
    }
    Jim,

    You can download Order2Go here: http://forexforums.dailyfx.com/order...e-updates.html

    After installing, go to Start->Programs->FXOrder2Go->Update Order2Go.
    Last edited by Gaurav; 10-24-2010 at 07:47 PM.

  8. #38
    pythonpete is offline Member pythonpete is an unknown quantity at this time
    Join Date
    Jun 2010
    Posts
    6

    Intra bar trading

    Hi

    If you want to backtest a Strategy Advisor and were using for example "1 minute charts" yet you wanted your advisor to create a position based upon the tick. What code would you use to do that?

    Thanks

    Pete

  9. #39
    jdavis is offline FXCM Automated Platform Specialist jdavis is an unknown quantity at this time
    Join Date
    Jan 2010
    Posts
    818
    Go to the Backtesting tab under the strategy advisor properties, and enable the bar magnifier, and click the tick button. Understand that in doing this, the length you will be able to backtest will be considerably less than if you tested at the Open of each candle.

    -jd
    API Team

Tags for this Thread

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.