Jump to content
Sign in to follow this  
rob sinclair

Creating a new stop/limit order using TradesAndOrders.Order() and NewStopLimitOrderRequestDTO

Recommended Posts

I am having difficulty creating a stop/limit order. I need to know what the purpose is of the Bid, Offer and Trigger price properties and how these should be set.

For example, If I want to place a ‘limit’ order to buy if the price drops to a specific level, then how should these be set?

Also, there is no ‘type’ property to specify whether this should be a stop or limit order, so is this deduced from the price?

Share this post

Link to post

Bid/Offer refer to the current price for that particular market. TriggerPrice is the intended price at which you would like the order to trigger at. Stops and Limits are set in the IfDone property in the request.

We infer the type from the bid/offer and trigger price, yes.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this