Hello,
in this pagehttp://www.multicharts.com/brokers/
I read that Stop Orders with WeBank should be tracked by the broker.
If I correctly understand, this should mean that when a signal in MC fires a Stop order then MC should send the order directly to the broker. Right ?
Well, for what I can see it is not correct !!!
It seems that order are tracked by MultiCharts, and only sent when appropriate.
Because the first solution in my opinion is much more safe and sound,
please could you kindly correct this Multicharts' issue.
Best regards
Massimo
How does MC manage Stop Orders with WeBank ?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: How does MC manage Stop Orders with WeBank ?
Hello Massimo,
Stop and Stop-Limit orders for WeBank connection are emulated thru Limit orders on MultiCharts end. This is how WeBank API is designed to work.
Stop and Stop-Limit orders for WeBank connection are emulated thru Limit orders on MultiCharts end. This is how WeBank API is designed to work.
Re: How does MC manage Stop Orders with WeBank ?
Hello Henry,
but in the Manual of WeBank's API at chapter 2.4 I see there is the possibility to send STOP orders to WeBank with the API through the instruction "conditional_order"
The following code is a simple example of how Multicharts could insert
a BUY STOP-LIMIT order for 10 shares of MI.EQCON.2552 in WeBank.
Here buy at a stop price of 10.42 with a limit price of 10.50.
Request:
Response:
Unfortunately now Multicharts is only using the generic_order of chapter 2.2,
and in my opinion in a partially wrong way.
Infact generic_order of WeBank's API allows both LIMIT orders that MARKET orders.
Multicharts not correctly handles on his end both LIMIT orders that MARKET orders as LIMIT orders.
However I could be wrong on this point !!!
The following code is a simple example of how Multicharts inserts
a BUY LIMIT order for 10 shares of MI.EQCON.2552 in WeBank.
Here buy with a limit price of 9.50.
Request:
Response:
For MARKET orders
without price !!!
Now that finally Multicharts has a real money account with WeBank, as you stated on this forum, I hope the engineers will be able to correct all this issues, in order to have a perfect match between Multicharts and WeBank.
Here for the engineers I attached the WeBank's API Manual in italian.
It's simple technical language you can understand with Google Translate.
If you need any help, tell me. I will be happy to be useful.
Best regards
Massimo
I am not a programmer and do not want to teach anything to the excellent engineers of Multicharts,Stop and Stop-Limit orders for WeBank connection are emulated thru Limit orders on MultiCharts end. This is how WeBank API is designed to work.
but in the Manual of WeBank's API at chapter 2.4 I see there is the possibility to send STOP orders to WeBank with the API through the instruction "conditional_order"
The following code is a simple example of how Multicharts could insert
a BUY STOP-LIMIT order for 10 shares of MI.EQCON.2552 in WeBank.
Here buy at a stop price of 10.42 with a limit price of 10.50.
Request:
Code: Select all
http://localhost:8333/T3OPEN/conditional_order?item=MI.EQCON.2552&condizione1=MA
&variabile=P&valore1=10.42&flagTAH=Y&ordine.action=BUY&ordine.qr=10&ordine.tipoP
rezzo=LIM&ordine.prezzo=10.50
Code: Select all
outcome=OK|codice=1276097395815
and in my opinion in a partially wrong way.
Infact generic_order of WeBank's API allows both LIMIT orders that MARKET orders.
Multicharts not correctly handles on his end both LIMIT orders that MARKET orders as LIMIT orders.
However I could be wrong on this point !!!
The following code is a simple example of how Multicharts inserts
a BUY LIMIT order for 10 shares of MI.EQCON.2552 in WeBank.
Here buy with a limit price of 9.50.
Request:
Code: Select all
http://localhost:8333/T3OPEN/generic_order?item=MI.EQCON.2552&action=BUY&qr=10&t
ipoQ=EEC&prezzo=9.50&fase=CC&tipoPrezzo=lim
Code: Select all
outcome=OK|numOrdine=000076|di=23/04/2010-11:52:49
Code: Select all
.... &tipoPrezzo=meg
Now that finally Multicharts has a real money account with WeBank, as you stated on this forum, I hope the engineers will be able to correct all this issues, in order to have a perfect match between Multicharts and WeBank.
Here for the engineers I attached the WeBank's API Manual in italian.
It's simple technical language you can understand with Google Translate.
If you need any help, tell me. I will be happy to be useful.
Best regards
Massimo
- Attachments
-
- Manuale_T3_open.pdf
- API WEBANK MANUAL
- (403 KiB) Downloaded 160 times
Re: How does MC manage Stop Orders with WeBank ?
I logged in T3 Open and typed in the browser:
Buy 1 contract stop price 17400 with a Limit price of 17300.
I attached the snapshot of order inserted in Webank account.
So now I think is confirmed that WeBank API supports not only LIMIT,
but also MARKET, STOP and STOP-LIMIT orders.
Best regards
Massimo
The result was I submitted a Stop-Limit order in WeBank for FTSE MIB future FIB6I (MI.DER.990040).http:// localhost:8333/T3OPEN/conditional_order?
item=MI.DER.990040&condizione1=MA&variabile=P&valore1=17400&flagTAH=Y &ordine.action=BUY&ordine.qr=1&ordine.tipoPrezzo=LIM&ordine.prezzo=17300
Buy 1 contract stop price 17400 with a Limit price of 17300.
I attached the snapshot of order inserted in Webank account.
So now I think is confirmed that WeBank API supports not only LIMIT,
but also MARKET, STOP and STOP-LIMIT orders.
Best regards
Massimo
- Attachments
-
- Img1.JPG
- (24.25 KiB) Downloaded 873 times
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: How does MC manage Stop Orders with WeBank ?
Hello maxmax68,
Thank you for the information. I will ask our developers to check it.
Thank you for the information. I will ask our developers to check it.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: How does MC manage Stop Orders with WeBank ?
Hello maxmax68,
Our developers have studied your case. There is no way to change the current implementation due to the following limitations of WeBank's API:
1. WeBank's API does not provide statuses for the "conditional_order". It means if you disconnect/reconnect to WeBank then you will not be able to manage/cancel the order.
2. The API stops sending and receiving the order statuses after some period of time. Only restart of the WeBank terminal can fix the connection.
We have not received any feedback from WeBank regarding solution for these issues.
Our developers have studied your case. There is no way to change the current implementation due to the following limitations of WeBank's API:
1. WeBank's API does not provide statuses for the "conditional_order". It means if you disconnect/reconnect to WeBank then you will not be able to manage/cancel the order.
2. The API stops sending and receiving the order statuses after some period of time. Only restart of the WeBank terminal can fix the connection.
We have not received any feedback from WeBank regarding solution for these issues.