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.

Orders close
 Post subject: Orders close Post rating: 0   New post Posted: Sat 09 Jun, 2018, 14:36 

User rating: 3
Joined: Sat 09 Jun, 2018, 03:18
Posts: 24
Location: China,
How can I close the orers with the Label "EUR"?


 
The Best Answer  Post subject: Re: Orders close Post rating: 0   New post Posted: Mon 11 Jun, 2018, 13:46 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
        IOrder eurOrder = engine.getOrder("EUR");
        if (eurOrder != null) {
            console.getOut().println("Order: " + eurOrder);
            eurOrder.close();
        }


 
 Post subject: Re: Orders close Post rating: 0   New post Posted: Mon 11 Jun, 2018, 14:00 

User rating: 3
Joined: Sat 09 Jun, 2018, 03:18
Posts: 24
Location: China,
Thanks,I will try it.


 

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