News Focus
News Focus
Followers 13
Posts 2463
Boards Moderated 1
Alias Born 02/23/2002

Re: ljk post# 8693

Thursday, 07/10/2003 6:29:24 AM

Thursday, July 10, 2003 6:29:24 AM

Post# of 48421
Linda,


You wrote:

I was trying to input a Buy of 5000 shares at 1.475 but input it at 147.50. According to notepad, this changed Portfolio Control from 620363 to 251613.1

(????How can de PC go down on a Buy???? I thought that in Newport the pc-update is PC(new)=PC(old) + 1/2*Buy.

I am not sure if this will work for you but I think you can simply enter a negative buy of the same (wrong) magnitude as the Error Input. This should return the Portfolio to the same position as before:

5000 shares @ $ -147.50

The PC and the share value should then return to the original values. If negative prices are prevented then you might get an Error message. Then try a Buy with a negative share quantity, or a Sell of the same magnitude.

In my program(Vortex) I can simply correct such mistakes by using a Sell of the same magnitude or using negative Buy parameters.




Conrad Winkelman
What is Vortex AIMing? Look for my Vortex Discussion Forum:
http://investorshub.advfn.com/boards/board.asp?board_id=1341

Unleash the power of Level 2

Spot liquidity moves with access to US order books.

Sign Up