PDA

View Full Version : Error Code -228 while using NewLimitOrder



Muneeb100
01-27-2014, 07:08 AM
When I execute NewLimitOrder service using the demo account (username: support, password: support, Acc Id: 12347298)
it returns an error which states "Error Code : -228
for more details see the follwing link: http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/1964"
Upong checking the link, I couldn't find description of Error Code : -228. Can you please help me and tell me how can I
place a order using NewLimitOrder?

Hassan-HS
01-27-2014, 09:58 AM
Hello,


Its invalid price issue,You can open 4 types of orders with its prices as following :

Notes :
1-You can define OpenPrice,TP,SL for your custom order.
2-There is two parameter of offset Stop offset / Limit offset



Buy Limit

Open Price < Ask- Limit Offset

SL < Open Price - Stop Offset

TP > Open Price +Limit Offset


Sell Limit

Open Price > Bid+ Limit Offset

SL > Open Price + Stop Offset

TP < Open Price - Limit Offset


Buy Stop

Open Price > Ask+ StopOffset

SL < Open Price - Stop Offset

TP > Open Price +Limit Offset



Sell Stop

Open Price < Bid - StopOffset

SL > Open Price + Stop Offset

TP < Open Price - Limit Offset

You can contact your dealer ( or our support department (http://www.hybrid-solutions.com/support/index.php?/Tickets/Submit) if you are use our demo system )to get your Stop & Limit Offsets.