This article was written 796 days ago and last revised 796 days ago. Some of the information may be outdated.

Gambler Game Fund Simulation Investment Game

what is it?

A gambler game based on Vue.js

Fund simulation investment tool

This tool can clearly reflect the weakness of human nature - chasing up and killing down

How do you use it?

Open the game link to use

Click here to open

The specific play method is the same as when you buy funds. You can make money by selling high and taking low

How to win

When the net value exceeds 1, it is easy to make money

When the net value falls below 1, it is easy to lose money

The reason is that the success and failure of investment are not equal

It only needs to lose 10% to let 1 fall to 0.9, but it needs to earn 11% to let 0.9 fall to 1.0

In the same way, if you let 1 fall to 0.5, you will lose 50%, but if you want 0.5 to rise to 1.0, you need to double it, and you can earn 100% to get back the cost

Therefore, we must do the right thing and make fewer mistakes

A classic trend

Parameter introduction

At each step, the net value will rise or fall on the original basis by a random number within 5% and add a periodic fluctuation value of 1% sine function to imitate the changes of the economic cycle law

Therefore, if there is no random number, each step will fluctuate around the curve of the sine function

But the final effect I want is that the sine function is shifted upward, which is the historical trend of spiral rise

like this

If you need source code, right click to view the source code of the webpage, and make it all public

summary

Recently, I found that there are a lot of things in my work, and I'm under great pressure. I haven't updated my blog, and I don't know what to do with this hobby in the future. I hope I can stick to it, although I don't know what to expect

I wish you all a smooth investment and good health! Sleep well and eat well!