A bot to "play" with the stock market by using fake money. The data is provided by tradingview through the library tradingview-scraper.
List available here.
Prefix by default: sm!
helpGives you the help you need!initThe command to get startedprefix <prefix>Change my prefix to the choosen one! Note: Mention me withprefixto know my prefix! (@Stock Market prefix)pingTo see the latency between you, the bot and the APIaboutAbout the bot
balance/balance @UserTo admire your / user's wealthlist/list @UserYour / user's current tradesdailyTo get your daily reward
search <name/symbol>To search stock markets (ex: sm!search Apple or sm!search AAPL)show <symbol>To get details about a particular market (ex: sm!show AAPL)newtrade <buy/sell> <symbol> <price>To trade stocks on the market(ex: sm!newtrade buy AAPL 5000)- ==>
buyif you think the stock will go up, - ==>
sellif you think the stock will go down. closetrade <ID>(ex: sm!closetrade 0) Close a trade (the ID can be found with the list command). Give to you the final value of your trade.
First, you are going to look for a market. Type sm!search <name/symbol>.
Then type sm!show <symbol> if you want more details about it.
Now it's time to trade! Follow the instructions above for newtrade and closetrade!
Happy trading!
You can invite the bot on your Discord server here. Type sm!help to get started!
If you want to try the bot on your own side, you have to:
- Rename the
db (empty)folder todb. - Install the latest version of
node.js - Install the depedencies
- Replace the token to log-in