Hi.
What does the Userscript does?
1) Creates Portfolio page. You will find it through icon that script creates. It is not much refined so might see some improvements in future.
2) Shows current profit/loss of a particular stock.
[image: cdn.discordapp.com]
3) Adds a box on top of stocks page like this:
[image: cdn.discordapp.com]
4) The box shows current total loss/profit. It also shows if payout is available for a stock.
5) Allows you to set lower and higher range for prices of a stock. If the stock is in the selected price range it will highlight the stock as green as shown below and write a scrolling text in the box.
[image: cdn.discordapp.com]
6) Adds ways to filter stock list.
[image: i.gyazo.com]
7) Last but not least allows you to record your stock transactions. For this feature to work you need to connect it to a spreadsheet. Instructions for doing so can be found by going to this link.
8) Script is supposed to be dark mode friendly. But it is my first time working with dark mode so lemme know if there changes to be made in that regard.
9) Adds stock acronyms in mobile display.
[image: i.gyazo.com]
10) Allows manual entry of data to spreadsheet if you did a transaction from your mobile and want to add it later on.
Open activity log:[image: cdn.discordapp.com]
Click on "Copy Log" button corresponding to the desired transaction, as along with log it will also copy the time of transaction.
Click on "Manual Logging" option. It will open an input box paste the transaction there and click on Send. Please only send one transaction at a time.
[image: cdn.discordapp.com]
11) Allows you to hide Irrelevant Stocks. Click on Settings icon > Irrelevant List. Click on stocks you want to hide, the selected irrelevant stocks are marked in red. Click on Save. Then choose the option from Drop-down menu to hide those stocks.
[image: i.gyazo.com]
[image: i.gyazo.com]
12) Can buy stocks by entering amount of money.
[image: i.gyazo.com]
K, m and b shortcuts are allowed. Enter amount and click on Fill. It will enter corresponding number of shares. Always double check the amount while confirming the sale.
13) If you have any stock expanded and you keep the tab opened in background while you work in other tab, script will change page title every tick with the new price of that stock. Kindly wait for the tick to see the change.
For the script to work you need Tampermonkey.
Script: https://raw.githubusercontent.com/sid-the-sloth1/torn-qol-scripts/main/stonks.user.js
Please let me know if you encounter any issues.
What does the Userscript does?
1) Creates Portfolio page. You will find it through icon that script creates. It is not much refined so might see some improvements in future.
2) Shows current profit/loss of a particular stock.
[image: cdn.discordapp.com]
3) Adds a box on top of stocks page like this:
[image: cdn.discordapp.com]
4) The box shows current total loss/profit. It also shows if payout is available for a stock.
5) Allows you to set lower and higher range for prices of a stock. If the stock is in the selected price range it will highlight the stock as green as shown below and write a scrolling text in the box.
[image: cdn.discordapp.com]
6) Adds ways to filter stock list.
[image: i.gyazo.com]
7) Last but not least allows you to record your stock transactions. For this feature to work you need to connect it to a spreadsheet. Instructions for doing so can be found by going to this link.
8) Script is supposed to be dark mode friendly. But it is my first time working with dark mode so lemme know if there changes to be made in that regard.
9) Adds stock acronyms in mobile display.
[image: i.gyazo.com]
10) Allows manual entry of data to spreadsheet if you did a transaction from your mobile and want to add it later on.
Open activity log:[image: cdn.discordapp.com]
Click on "Copy Log" button corresponding to the desired transaction, as along with log it will also copy the time of transaction.
Click on "Manual Logging" option. It will open an input box paste the transaction there and click on Send. Please only send one transaction at a time.
[image: cdn.discordapp.com]
11) Allows you to hide Irrelevant Stocks. Click on Settings icon > Irrelevant List. Click on stocks you want to hide, the selected irrelevant stocks are marked in red. Click on Save. Then choose the option from Drop-down menu to hide those stocks.
[image: i.gyazo.com]
[image: i.gyazo.com]
12) Can buy stocks by entering amount of money.
[image: i.gyazo.com]
K, m and b shortcuts are allowed. Enter amount and click on Fill. It will enter corresponding number of shares. Always double check the amount while confirming the sale.
13) If you have any stock expanded and you keep the tab opened in background while you work in other tab, script will change page title every tick with the new price of that stock. Kindly wait for the tick to see the change.
For the script to work you need Tampermonkey.
Script: https://raw.githubusercontent.com/sid-the-sloth1/torn-qol-scripts/main/stonks.user.js
Please let me know if you encounter any issues.