STOCKS & COMMODITIES magazine. The Traders' Magazine

Register or Log In — Traders.com and STOCKS & COMMODITIES magazine

  |  MAR 1991

The Pseudo Trader by Mark Harris

The Pseudo Trader by Mark Harris How can you model stocks without stocks? By using random numbers to drive the simulation. In previous articles (STOCKS & COMMODITIES, December 1990 and January 1991), first I demonstrated the modeling of stock charts using this technique and then the modeling of a stock specialist. The problem I encountered was that the model lacked feedback — while volume influenced price (via the actions of the pseudo specialist), the reverse did not hold. What happens when the loop is closed by adding an object that responds to price? I call this new Smalltalk object a ""trader,"" for reasons that are fairly obvious. Similar to a real-life technical trader, the goal of this object is to profit by applying some system or formula to the reported price series. Visualize this pseudo trader in two ways. First, the ""trader"" might literally be an individual with very deep pockets. Second, the view I prefer, we can think of the ""trader"" as the concerted action of a number of individual traders who just happen to be following the same system. With this second interpretation we can get a feeling for what happens when a particular system gains more adherents. I have not created a day trader in this simulation; rather, I have created a trader with access to closing data (high, low, close) for a given day and, on the basis of that data, the trader can act in time to catch tomorrow's opening. What should be done when the order is larger than the specialist is willing to handle? The pseudo specialist will not handle orders that place him over his capital limit. The mechanism in the model that deals with this simply places over the limit orders on the book, where they are held until the random flow of orders allows them to be filled. The pseudo trader, on the other hand, isn't willing to place his (large) order as a market order that may be executed in bits and pieces at successively higher (or lower, if selling) prices.

by Mark Harris

Technical Analysis of STOCKS & COMMODITIES
The Traders’ Magazine since 1982
has had over 1,226,237 subscribers from 174 different countries.
37,000 Page Traders’ Archive for $89.99

NOT A SUBSCRIBER?

To continue reading, sign-up for trial access to Traders.com and the S&C Archive37,000 pages of trading ideas!




After verifying your email address, you will have limited access to the S&C Archive, as well as access to a Digital Edition of S&C, and access to Traders.com Advantage and Working Money for 30 days.



DEPARTMENTS: Advertising | Editorial | Circulation | Contact Us | BY PHONE: (206) 938-0570

PTSK — The Professional Traders' Starter Kit
Home — S&C Magazine | Working Money Magazine | Traders.com Advantage | Online Store | Traders’ Resource
Add a Product to Traders’ Resource | Message Boards | Subscribe/Renew | Free Trial Issue | Article Code | Search

Copyright © 1982–2024 Technical Analysis, Inc. All rights reserved. Read our disclaimer & privacy statement.