Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (vicknick, howardR, sleakz), 674 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: Broker plugin [Re: Jeff1228] #473963
09/03/18 12:00
09/03/18 12:00
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted By: Jeff1228
With my broker IB, when I trade option spreads, if entered, all legs entered, if not, none. If place orders for each leg respectively, you might end up naked call or put because some legs might not get filled, which is risky, you definitely won't do that.
I forgot to mention - the risk you take in placing the orders individually vs. in a combo is virtually the same.

If you place a four-leg combo order on the market vs the equivalent four orders, you will end up with four individual orders in both cases.

Your four orders will have varying states:

1) Pending fill
2) Expired and failed to fill
3) Expired and partially filled
4) Filled completely
5) I might have missed some other states depending on trading platform.

On any trading platform, you will still be responsible for handling all of these cases, and any combination of these cases with all of your option legs.

You should not be under the illusion that combos are a "safe" leg entry method. You can enter a "safe" combo and still somehow end up with a negative balance if the orders do not fill as expected. That is, unless you manage risk.

Re: Broker plugin [Re: AndrewAMD] #473968
09/04/18 03:35
09/04/18 03:35
Joined: Jan 2017
Posts: 64
J
Jeff1228 Offline OP
Junior Member
Jeff1228  Offline OP
Junior Member
J

Joined: Jan 2017
Posts: 64
Well, this is helpful. Then how would you deal with this situation normally? Close all opened legs?

I'll check with IB to see what they have to say.

Best

Last edited by Jeff1228; 09/04/18 04:52.
Re: Broker plugin [Re: Jeff1228] #473971
09/04/18 10:36
09/04/18 10:36
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Easiest method is:
1) If any filled, and at least one failed, cancel all pending orders and neutralize net position on the rest.
2) In addition to the above, it would probably be smart to send an email to yourself in the case of fill failures so that you can clean up. I hadn’t done this before but the “emailR” R package looks like an easy way to implement this.

Re: Broker plugin [Re: AndrewAMD] #473973
09/04/18 14:32
09/04/18 14:32
Joined: Jul 2017
Posts: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
This issue is mostly relevant when placing limit orders on each leg of a combo.

The easiest way then will be to convert limit orders not filled within a certain time period to market orders.

Re: Broker plugin [Re: Zheka] #473976
09/05/18 02:09
09/05/18 02:09
Joined: Jan 2017
Posts: 64
J
Jeff1228 Offline OP
Junior Member
Jeff1228  Offline OP
Junior Member
J

Joined: Jan 2017
Posts: 64
"
Hi Peter

If I place a combo order, like strangle, are there any possibility the order ends up with one leg gets filled while another not? I think if filled, both filled, if not, none, is it correct?

Thank you

IBCS 2018/09/04 03:54:16

If you place the order as part of a combo then the order will only trade as a combo, what that means is that you will not only get filled on one leg for example, you might get a partial fill, for example you might try to trade 10 strangles but only get filled on 5 but you will only trade strangles rather than one leg and not the other.

I hope that this is clear but please let me know if you have any further question.

Many thanks,
Peter
Risk & Trade
"

Here it is, from IB. There IS a difference between broker's platform and Zorro which should be taken care of. Look forward to your comments on this.

Best

Re: Broker plugin [Re: Jeff1228] #473982
09/05/18 12:38
09/05/18 12:38
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Fascinating! If this is how IB handles combos, then I believe we have a compelling case for a feature request. I will submit a formal request later today.

Thanks,
Andrew

UPDATE:
The feature request for the IB plugin can be found here:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=473994&#Post473994

Re: Broker plugin [Re: AndrewAMD] #473985
09/05/18 13:15
09/05/18 13:15
Joined: Jul 2017
Posts: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
It would be great to clarify if limit orders are accepted for Combos

Re: Broker plugin [Re: Zheka] #474003
09/06/18 23:43
09/06/18 23:43
Joined: Jan 2017
Posts: 64
J
Jeff1228 Offline OP
Junior Member
Jeff1228  Offline OP
Junior Member
J

Joined: Jan 2017
Posts: 64

Thank you Peter, it's clear.

Can I place a limit combo order? Or it has to be market order for a combo?

Best

IBCS 2018/09/06 07:36:18
An order for a combo does not have to be a market order, the same order types that are supported on individual options are available on combos too, so yes, you can use limit orders.

Many thanks,
Peter C
Risk & Trade

Last edited by Jeff1228; 09/06/18 23:43.
Re: Broker plugin [Re: Jeff1228] #474010
09/07/18 14:16
09/07/18 14:16
Joined: Jul 2017
Posts: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
This is good news.
If I read IB API docs correctly, it is also possible to request/receive pricing for the combo as a whole...

Re: Broker plugin [Re: Zheka] #474017
09/07/18 21:50
09/07/18 21:50
Joined: Feb 2018
Posts: 27
D
dmac Offline
Newbie
dmac  Offline
Newbie
D

Joined: Feb 2018
Posts: 27
Originally Posted By: Zheka
This is good news.
If I read IB API docs correctly, it is also possible to request/receive pricing for the combo as a whole...


You can, but it's inadvisable in my experience.

The thing to be aware of there is that the bid/ask of the combo is not necessarily the combined bid/ask of the individual legs. IB will factor in "native" orders for that exact combo into the price calculation (including your own orders if you have any in). So for instance, if there are a couple of orders in the book for your exact straddle, the midprice quote for the spread will differ from the combined mid of the legs. This can result in you mispricing your orders if you're not careful.

This drove me crazy (and wasted some cash) until I clued into what they're doing.

Page 2 of 3 1 2 3

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1