Skip to content

Commit

Permalink
so that random_price.h isn't an abmomination in english now
Browse files Browse the repository at this point in the history
  • Loading branch information
84ds84d8s committed Apr 18, 2024
1 parent 01a639e commit 4766e35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions random_price.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ float init_sd(int price_profile);

/**
* There is a upper limit and lower limit that the realisation of the % change must fall between.
* - All data is raken from a stock class.
* - All data is taken from a stock class.
* As each round pass we allow for more and more chaotic behaviour by making the bounds less tight.
* - where n is number of rounds
* - The rate this happens is n^2/15 for upper bound
* - and n for lower bound before lower bound reach -100
* - just for fun (chaotic evil smirk). Upon devastating events which leads to
* a stock price only 10 % left of it's initial, we increase mean to prevent a game over.
* Upon we are 90.32% sure the bounds would be wrong we bump the mean/
* Upon we are 90.32% sure the bounds would be wrong we bump the mean.
*/
float percentage_change_price(Stock & stock);

Expand Down

0 comments on commit 4766e35

Please sign in to comment.