Customize your blog

May 22
*Note. PTSE = Pot Stock Exchange. This two-years-ago thing was dead until yesterday, when I decided to revive it to kill boredom. :D
*Note. All decimals here have 3 decimal digits
*How to set Initial Stock Price    Use random decimals, from 0 to 1. Then get the nearest tenth.     Multiply that tenth by 10 to get how many random int (from 1 to 99) that you’ll need     Add those random integers, then you get the initial stock price*How to know changes in stock price    Use random decimals from 0 to 1. Then get the nearest tenth.    From here, tenth = x.    If x=0.5, stock price don’t move    If x<0.5, stock price goes down.        Then get (0.5-x)/0.1, then round off the result to the nearest integer. That         integer will be the number of random decimals that you will gather.         Find the sum of those random decimals. That sum will become the rate at         which the stock price changes    If x>0.5, stock price goes up.        Then get (x-0.5)/0.1, then round off the result to the nearest integer. That             integer will be the number of random decimals that you will gather.         Find the sum of those random decimals. That sum will become the rate at                 which the stock price changes*How to know the All-Shares index    PTSE All Shares Index shows basically the sum of the latest stock prices of all         stocks available in the PTSE*How to know changes in PTSE points    PTSE points changes with the same direction as the All-Shares Index. However, the rate of change of PTSE points is not the same as that of the All-Shares Index.    Use random decimals from 0 to 1. Then get the nearest tenth.    From here, tenth = x.    Get 10x. That 10x will be the number of times that you will get random decimals    Find the sum of those gathered decimals. That will be the rate of change of the PTSE points.

*Note. PTSE = Pot Stock Exchange. This two-years-ago thing was dead until yesterday, when I decided to revive it to kill boredom. :D

*Note. All decimals here have 3 decimal digits


*How to set Initial Stock Price
    Use random decimals, from 0 to 1. Then get the nearest tenth.
    Multiply that tenth by 10 to get how many random int (from 1 to 99) that you’ll need
    Add those random integers, then you get the initial stock price

*How to know changes in stock price
    Use random decimals from 0 to 1. Then get the nearest tenth.
    From here, tenth = x.
    If x=0.5, stock price don’t move
    If x<0.5, stock price goes down.
        Then get (0.5-x)/0.1, then round off the result to the nearest integer. That         integer will be the number of random decimals that you will gather.
        Find the sum of those random decimals. That sum will become the rate at         which the stock price changes
    If x>0.5, stock price goes up.
        Then get (x-0.5)/0.1, then round off the result to the nearest integer. That             integer will be the number of random decimals that you will gather.
        Find the sum of those random decimals. That sum will become the rate at                 which the stock price changes

*How to know the All-Shares index
    PTSE All Shares Index shows basically the sum of the latest stock prices of all         stocks available in the PTSE

*How to know changes in PTSE points
    PTSE points changes with the same direction as the All-Shares Index. However, the rate of change of PTSE points is not the same as that of the All-Shares Index.
    Use random decimals from 0 to 1. Then get the nearest tenth.
    From here, tenth = x.
    Get 10x. That 10x will be the number of times that you will get random decimals
    Find the sum of those gathered decimals. That will be the rate of change of the PTSE points.