[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coding help



PureBytes Links

Trading Reference Links

>I want the exit price to be a value that was
>calculated at the time the position was opened,

A cheap and dirty trick is to exit at "entryprice" +/- whatever,
but I'm not into options so dunno about exiting @ a strike.

BW


>From: cwest@xxxxxxxxxxxx
>To: "Omegalist" <omega-list@xxxxxxxxxx>
>Subject: coding help
>Date: Fri, 22 Jun 2001 11:30:41 -0600
>
>When a condition is met,  I want the exit price to be a value that was
>calculated at the time the position was opened, which is different from the
>price of the bar when the condition is met. How can I code this?
>
>For example, when there is one day to options expiration and the price is
>below the strike price of a put, exit the position at the strike price, not
>at the price of a bar.
>
>Thanks in advance.
>Colin West
>cwest@xxxxxxxxxxxx
>
>
>