Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Are there any ways to submit orders without delay?
 Post subject: Are there any ways to submit orders without delay? Post rating: 0   New post Posted: Mon 14 Mar, 2011, 23:19 

User rating: -
Hello,
I want to send an order by button clicking.
But if I'm not mistaken I can submit orders only from strategy.
So, I have created code with button on form. Button handler starts strategy and strategy submit my order in onStart() method.
But there is 50 millisecond delay between button clicked and order submittion started. I suppose this time is used for strategy initialization (or something else).
So, my question is: Can I submit orders without strategy starting. Or may be start it before and then just run some method when I need it to immidiately submit order?

Sorry for my english :)


 
 Post subject: Re: Are there any ways to submit orders without delay? Post rating: 0   New post Posted: Mon 21 Mar, 2011, 14:31 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
You don't need a strategy to submit orders, you can place bids and offers (buttons 'Place Bid', 'Place Offer') and submit conditional/unconditional orders through platform (by pressing the 'Submit order' button or right-clicking on the chart).
Have a look at the platform manual for more details: https://www.dukascopy.com/swiss/docs/Platform_Manual.pdf
Still if you want use a strategy the following example may be helpful: viewtopic.php?p=23219#p23219


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com