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!
help
Gives you the help you need!init
The command to get startedprefix <prefix>
Change my prefix to the choosen one! Note: Mention me withprefix
to know my prefix! (@Stock Market prefix)ping
To see the latency between you, the bot and the APIabout
About the bot
balance
/balance @User
To admire your / user's wealthlist
/list @User
Your / user's current tradesdaily
To 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)- ==>
buy
if you think the stock will go up, - ==>
sell
if 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