Wiki
JStore
Search
Login
Dukascopy Support Board
Automated Trading
Knowledge Base
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
.
Pages: [ 1 ]
Print view
The price not reach my settting, but the order is filled
leevo
Post subject:
The price not reach my settting, but the order is filled
Post rating:
0
Posted:
Tue 17 Feb, 2015, 18:36
User rating:
0
Joined:
Sat 17 Jan, 2015, 18:46
Posts:
34
Location:
China, Shanghai
time at 22:59:50, askBar.close price is 1.2345.
engine.submitOrder("testbuy", instrument, OrderCommand.BUY, 1, askBar.getClose() + 7 * instrument.getPipValue()))
then time to 23:00:00, order has been filled with price 1.2345. the price didn't reach the 1.2352.
If I use OrderCommand.BUYSTOP, it works ok. why?
API Support
Post subject:
Re: The price not reach my settting, but the order is filled
Post rating:
0
Posted:
Thu 19 Feb, 2015, 11:29
User rating:
∞
Joined:
Fri 31 Aug, 2007, 09:17
Posts:
6139
If price parameter is specified BUY request will place an order at any price that is equal or more profitable than the value of price parameter.
BUYSTOP on the other hand will place an order only when the price reaches the specified level.
Pages: [ 1 ]
Display posts from previous:
All posts
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by
Author
Post time
Subject
Ascending
Descending
Dukascopy Support Board
Automated Trading
Knowledge Base
Jump to:
Select a forum
------------------
Visual JForex
English
Feature Requests
Report a bug
Français
Demandes de nouvelles fonctionnalités
Signaler un problème
Deutsch
Verbesserungsvorschläge
Fehlerberichte
العربية
إقتراحات جديدة
تقارير الأخطاء
Pусский
Заказ нового функционала
Репорты об ошибках
中文
功能要求
报告错误
Forex Community
Community Board
Contests
Trader Contest
Strategy Contest
Dukascopy Products and Services
Fundamental Analysis Contest
Article Contest
Trading Platforms
JForex
FAQs
Feature Requests
Bug Reports
Automated Trading
Knowledge Base
Feature Requests
Implemented Requests
Bug Reports
Fixed Bugs
Fixed Issues
Release Notes
Previos Versions
© 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