Skip to content

Calls to place order not working #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
scotontheedge opened this issue Jul 23, 2015 · 0 comments
Open

Calls to place order not working #56

scotontheedge opened this issue Jul 23, 2015 · 0 comments

Comments

@scotontheedge
Copy link

Hi,

Calls to place_orders are returning INVALID_INPUT_DATA. Here is the code I am using below. The market and selection ids are correct.

instructions = []
limit = LimitOrder(size=2, price=5, persistence_type=PersistenceType.LAPSE)

instruction = PlaceInstruction(order_type=OrderType.LIMIT, selection_id=120027, handicap=0, side=Side.BACK, limit_order=limit)
instructions.append(instruction)

order = client.place_orders("1.11962314", instructions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant