Position Object: how to get EntryLimit?
Author: dansmo
Creation Date: 3/10/2010 7:38 AM
profile picture

dansmo

#1
Hello,

Position.EntryPrice returns the entry price. Is there a function that returns the limit of the entrysignal, i.e. 0 if it was market or the limit if it was a limit entry.
profile picture

Eugene

#2
See EntryOrderType and ExitOrderType properties.
profile picture

dansmo

#3
I am not looking for the type, I am looking for the price!

Buy 100 @ 10.05. How to get the 10.05?
profile picture

Eugene

#4
I've never heard before of such function, but I guess you could code it, identifying the planned entry price with the Position.Tag property.
profile picture

Cone

#5
You could get that from Position.BasisPrice for limit and stop orders, but market orders will also have a basis price.
profile picture

dansmo

#6
Great, that does it.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).