I was planning on using the fourier transformation as a base line for
determining where the stock will go and then using basic supply/demand
to influence this amount of change. I wish i still had a machine with
mathcad to diplay these things. hmmers... where is that old trig/calc
book :) Who said those classes were a waste of time.
--Angus
______________________________ Forward Header __________________________________
Subject: Re: Help!! (and stockmarket)
Author: INTERNET:CIRCLE@POST.QUEENSU.CA at CSERVE
Date: 2/27/98 1:28 PM
> obcircle: I am trying to work out a stock market system for my mud.
> Each hometown will have its own stock. I am thinking about using some
> Fourier equations (the ones with all the sine's and cosines) to make
> it semi predictable, with some other influencing factors, like the
> buying/selling of shares/stuff at the towns stores.
>
> Can anyone think of other factors? Anyone have a good equation that
> might work for this?
I don't know about specific equations, but I'd say that a good way
to do it would be not using transformations, but rather on a simple
supply/demand system. Basically, if something sells well, charge more. If
there's more of it around, charge less. Have it start at some
pre-determined price, and allow the players to change it. Then, use your
equations to balance it out among the different cities. You could just as
easily determine a median among the towns and then define a growth/shrink
limit on a per-day basis. It wouldn't reflect a 'real' stock market, but
it would be simple, and give your players comprabable experience.
PjD
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST