Ai takes you to play the stock project (official version) launch instructions

Ai takes you to play the official version of the stock

foreword

With the end of the Internet of Things system class this semester, our Ai takes you to play the stock project also ushered in the end, this time compared to the V1.0 version, we have made a big update, and we have really brought Ai to our software Although there are still some functions that are not perfect, we have tried our best to do it. Thank you for your efforts. For specific gameplay, you can read our V1.0 blog first. This blog mainly introduces the updates we have made.

V1.0 version blog:
Ai takes you to play the stock project (V1.0) internal test instructions

Software download and installation

Download
Click the link below (choose one link)
CSDN (no points required): CSDN download address
Baidu network disk (compressed package format 487M): Baidu network disk download address

Because of the introduction of the pytorch environment, I adopted a new packaging method, so this time the software has become a lot larger, but it will run faster. The version I gave is windows10, and window11 can also run, but some parts will appear There is a problem with incomplete font display, but it works fine.

Run
After decompressing and entering the folder, click this MyAPP3.exe to run the software directly
insert image description here

Software interface and basic gameplay

After entering the software, we can see such an interface
insert image description here
where you directly enter the account number and password (numbers and English are supported, you can write whatever you want, don’t be too outrageous), register, and you can use this account to log in after successful registration. Of course, you can also enter the corresponding account number and password to log out.
Of course, the difference is that each registered account in this version will randomly assign three stocks for you to play, unlike the previous version which fixed the three stocks, which increases the playability of the game.

There is an account number in the database by default: 123 Password: 123 You can log in to see which stocks he is in, has he won AI and RAND?

Main interface
It is recommended to read the explanation of V1.0 first, which is more detailed. Here is a description of the newly added part. The
insert image description here
main interface as a whole only changes the wallpaper (bushi).
Behind it, we mainly add the player's total asset limit and the judgment of the end of the game.
New Judgment Mechanism
In version V1.0, players can buy unlimited stocks, and their assets can always be negative. In the current version, we judge that when the player's amount is negative, it is considered that he is borrowing money from the bank, and an interest of 1% will be charged every day.
insert image description here
When your total assets are less than minus 1.5 million, you will be declared bankrupt, and the game progress of this account will not be updated.

insert image description here

News display
Careful friends may find that there is a news display bar here. This seemingly simple news display bar took me a lot of effort.
insert image description here
Here will display some news of the game time and date, stock market news or world news. Of course, because the world news is translated directly from English, it may be a bit strange, but it is not a big problem.
When the news length is short, the news will not scroll, but when the news is relatively long, the news bar will start to scroll (this effect has been done for me for a long time)

View operation records
In the V1.0 version, you can only see a final asset through asset comparison to measure which of the three plays better. It is not very intuitive. In the official version, I added the function of viewing operation records . Every operation of the three on each stock has been recorded.
insert image description here
In our operation record interface, we can clearly see the performance of players, AI, and RAND on each stock. In the three graphs on the left, we can see the overall price change of each stock from the beginning of the game to the present. The gray dotted line is our AI’s prediction of the stock price. We can see that some stocks perform better , but there is a certain deviation in the forecast on some stocks. The data on the actual stock price line in red is the stock trading operations done by the three on the corresponding date. Positive means buying, and negative means selling. Different colors correspond to different objects (consistent with the right side, black is the player’s operation, Green is AI's operation, blue is RAND's operation). Integrating this picture, we can see that AI has achieved the maximum profit in almost every stock, which is enough to show that our Ai takes you to play the stock project has achieved great success.

conclusion

Everyone is very welcome to test our project and see if you can play our AI algorithm this time. Although when we launched V1.0, we found that almost everyone could not beat RAND, but there are always strong players, right? Why don't we make a bet, if you beat my AI for the first time, I v you 50, but you can't beat you v me 5 yuan, let's see who can make money, hahahaha!

After completing this project as a whole, I still learned a lot and made a lot of records on my blog. If you are interested, you can check out my other blogs!

Guess you like

Origin blog.csdn.net/qin_liang/article/details/127658143