1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hi there Guest! You should join our Minecraft server @ meepcraft.com
  3. We also have a Discord server that you can join @ https://discord.gg/B4shfCZjYx
  4. Purchase a rank upgrade and get it instantly in-game! Cookies Minecraft Discord Upgrade

Best Posts in Thread: A Solution for the Stock Market

  1. reggles44

    reggles44 NANA NaNa nana NaNa NANA NaNa nana NaNa, REGGLES! Elder

    Offline
    Messages:
    2,479
    Likes Received:
    2,452
    So as some of you might know there was a bug with the previous stock market plugin where the source of our prices was ~15 minutes delayed behind real stock market data. So it was very simple to generate huge sums of money by getting a $5 app which would give you some real time data and use that to get huge returns on stock that would jump quickly. One fix was to limit stocks in a variety of ways, minimum price to trade, additional fees on trading, and maybe one or two I don't know of. Overall what needs to happen is a 15 minute transaction time which will allow the yahoo finance data to catch up to the real market data when the transaction is sent in. Besides that there are a couple methods to properly limit transactions.

    Solution 1:
    To fix and create a more fair trading system for stocks what needs to happen is a delay on purchase, that might further simulate the real stock market. For example what the plugin might ask for is how many you want to purchase and what price you are looking to buy at. Then instead of just taking the stock price for what it is, the plugin should go through asks and bids to complete the order and if there isn't enough demand to sell or supply to buy than the plugin would only allow for parts of the order to be completed.

    Solution 2: Similar to the first option prices will be based off of the regularly stated price and all transactions will be delayed at a minimum of 15 minutes. Different from solution 1 this will not limit the number of transactions but rather just expand the time it takes to complete the order based the quantity of shared looking to be traded divided by the on the volume traded divided by the number of minutes since the market opened.

    Example:
    [​IMG]
    Solution 1 Example: Google is trading at 739.78 with and big and ask of 739.29 x 100 and 739.28 x 100. What this means is there are orders waiting to be completed. So in-game the price of google should be 739.78 but the amount that is willing to be traded would be the difference between the ask and bid prices.

    Solution 2 Example: Google will be traded at 739.78 and it be able to trade unlimited amounts but since there is only a volume of 181,898 than on average it trades at 10,699,94 shares per minute. So if an order was placed for 25000 shares than it would take 2.34 additional minutes to complete the trade. Which brings the total time to do the transaction to 17.34 minutes.

    Overall the stock market was a great idea and poor execution initially but there is a solution, its just if the techs want to implement it.
     
    M0W0G, zsuzsu1, Lilliya and 11 others like this.
  2. alex77034

    alex77034 Hey baby, I hear the blues a-callin'

    Offline
    Messages:
    1,244
    Likes Received:
    1,698
    This is a great idea, and im still pondering why you're not a tech.
     
    M0W0G, cooey, metr0n0me and 3 others like this.