PureBytes Links
Trading Reference Links
|
Price-per-leg: It's NOT THERE.
You must calculate EACH LEG YOURSELF using AvgEntryPrice.
It's stupid and should not be necessary, but that's our boyz @ Omega at
work.
I am using TS2000i and found no other way to do this.
Kimberly: have you reviewed my code that does this "not quite so elegantly"
??
> -----Original Message-----
> From: Jimmy56@xxxxxxx [mailto:Jimmy56@xxxxxxx]
> Sent: Tuesday, November 07, 2000 5:21 AM
> To: omega-list@xxxxxxxxxx
> Subject: Fwd: using at market orders
>
>
> In a message dated 11/07/2000 2:20:11 AM Pacific Standard Time, Jimmy 56
> writes:
>
> << In a message dated 11/07/2000 1:54:18 AM Pacific Standard Time,
> gnpi@xxxxxxxxxxx writes:
>
> << However I need to know if my order has been executed. If I use query
> commands like EntryPrice or EntryTime the system returns the
> entryPrice or
> EntryTime of the first leg of a pyramidded position. This is no
> good to me.
> I need to know the entryPrice of the last (most recent) leg of the
> position. Appreciate any help in this regard.
>
> Gary >>
>
> Gary,
> I only have TS4 so I don't know if this is also true for TS2000,
> but TS's
> entryprice function only returns the first/original entry of a pyramided
> position. I have had to resort to programming flags to keep track of
> pyramided entries.
> Jim >>
>
>
|