Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

The combo details for leg '1' are invalid. #18

Open
jperkins909 opened this issue Apr 27, 2017 · 0 comments
Open

The combo details for leg '1' are invalid. #18

jperkins909 opened this issue Apr 27, 2017 · 0 comments

Comments

@jperkins909
Copy link

jperkins909 commented Apr 27, 2017

combo example not working using valid options
contract_to_sell = ibConn.createOptionContract("AAPL", expiry=20170519, strike=140., otype="CALL")
contract_to_buy = ibConn.createOptionContract("AAPL", expiry=20170519, strike=135., otype="CALL")

results in:
[ERROR] ezibpy: [#321] Error validating request:-'bj' : cause - The combo details for leg '1' are invalid. - conid, ratio, side: 0, 1,
1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant