awesome script! if possible, i hope you make signals and smart suggestions save. that way we dont need to load it everytime we open stocks.
[script] Smart Stock Vault
-
Thread created on 18:17:03 - 01/02/26 (7 months ago)|Last replied 10:28:25 - 04/09/26 (25 days ago)Smart Stock Vault v10.2.12Stock portfolio tool for Torn: vault protection, P&L, block progress, and swing trading. Same Smart UI family as Gym and Racing.
Download: Greasy Fork - Smart Stock Vault
FeaturesSmart series UI- Panel and modals match the Smart series look (same family as Smart Gym)
- Cleaner layout, colors, buttons, and settings
- Built-in charting removed (smaller script; signals and analysis still work)
Module visibility- Settings → Modules: show or hide Portfolio P&L, Gamble, Swing Trading, and Vault Stocks
- Hidden modules are not loaded
- Each section remembers expanded/collapsed state
Minimal Mode- Settings → Vault: show only Vault Spread, Rebalance, Withdraw, Lock Blocks, and Smart Mode
- Hides P&L, Swing, Daily Income, and the stock breakdown
- Uses Torn's normal stock list for portfolio view
Multi-stock vault- Multi-stock portfolio with block tier protection
- Lock/unlock individual stocks from vault operations (🔒)
- Vault Stocks: allocation %, dip/RSI, BUY/SELL/HOLD badges, Quick Buy/Sell
Vault operations- Vault Spread: put cash into vault stocks
- Rebalance: rebalance allocations
- Analyze: refresh vault stock signals (hidden in Minimal Mode)
- Withdraw: pull cash out with several strategies
- Quick Buy/Sell: trade from the vault list (one click per trade)
Deposit strategies- Swing Strategy (default): same signal inputs as swing scan
- RSI Weighted: prefer oversold names
- Equal: split evenly
- Dip Weighted: prefer stocks that are down
- ROI Priority: weight by benefit ROI
Withdrawal strategies- Proportional (default): same % from each stock
- Loose First: sell above benefit thresholds first
- Swing Strategy: weight by signal (worse signals sell more). Respects Lock Blocks and swing-protected shares; caps each stock per run
- Worst ROI: sell lowest ROI first
- Best Performers: take profits from stocks that are up
Protection- Lock Blocks: keep benefit-tier shares off the sell path for withdraw/rebalance
- Exclude locked blocks from Total Vault Value (Settings → Protection): with Lock Blocks on, total value counts loose + swing-protected only
- Per-stock 🔒: skip that stock for spread/withdraw/rebalance
- Swing position protection: active swing shares are treated as protected for vault sells
- Smart Mode: skip SELL / TAKE PROFIT names when spreading/rebalancing
Portfolio P&L- Syncs buys/sells from Torn API logs
- Realized and unrealized P&L (FIFO), sell fees
- Period filters and full transaction history
- Needs a Full Access API key
Swing trading- Track positions with target and stop (% or $)
- Add Position: track owned shares, buy with cash (amounts like
100k), or track + buy more - Close Position: optional market sell (on by default), partial close, exit reason, fee/P&L
- Signals on position cards (with age; stale after 30 min)
- Merge into an existing position, undo full close (tracking-only closes)
- Journal and performance stats
- Signals scan vault stocks only (same list as Settings → Vault)
Block progressIcons on each vault stock:
- Gray: no block yet
- Teal: has a tier, more available
- Yellow: near next tier (80%+)
- Green pulse: can afford next tier
- Solid green: max tier
Gamble module- Cash above Deposit; available withdraw value above Withdraw
- Preset deposit/withdraw amounts and Panic deposit
- Target stock from your vault list
Settings- API: key and validate
- Vault: stocks, strategies, keep amount, Minimal Mode
- Modules: show/hide main sections
- Protection: Lock Blocks, Smart Mode, exclude locked blocks from total value
- Advanced: bank ROI rates, clear analysis cache
Amounts in the UI show as whole dollars (no cents). Form inputs and bank APR still allow decimals where needed.
How to useSetup- Open the Torn Stock Market page
- Open Settings (gear)
- API: paste your Torn API key
- Vault: pick stocks and strategies
- Modules: hide what you don't use (optional)
- Turn on Minimal Mode if you only want deposit/withdraw
Day to day- Vault Spread: amount or blank for all cash
- Analyze: refresh vault signals (when not in Minimal Mode)
- Withdraw / Rebalance as needed
Blocks- Block icon (▣) next to the lock on each stock
- Click for Quick Block → buy with cash or rebalance (one click per trade)
P&L- Expand Portfolio P&L
- Full Sync for history
- Use period filters / History
Full Access API key required.
Swing- Expand Swing Trading
- Signals → Scan (vault stocks)
- Track from a signal or + Add Position (track / buy / both)
- Positions: monitor; Close Position to sell and/or close tracking
- Journal: finished trades
Requirements- Torn API key in Settings
- Full Access key for P&L / transaction history
Other Smart scriptsSupport- Check the browser console
- Confirm the API key (Full Access for P&L)
- Settings → Advanced → Clear Analysis Cache if signals look stuck
Forum thread: Smart Stock Vault
CreditsOriginally based on Stock Manager & Advisor by TheALFA [2869953].
LicenseProvided as-is for the Torn community. Noobler [3661908].
Last edited by Noobler on 11:01:31 - 03/08/26 (1 month ago) -
-
Posted on 18:17:24 - 01/02/26 (7 months ago)Post link copied to clipboard Copy post linkSupport
If you are having issues with the script, use this thread for support requests. Include console logs from your browser if there are any errors (
F12→ Console). I cannot diagnose script-not-loading issues without logs.Last edited by Noobler on 12:27:43 - 02/08/26 (1 month ago) -
-
Posted on 18:20:54 - 01/02/26 (7 months ago)Post link copied to clipboard Copy post linkRoadmap
- Torn light theme support (all smart series scripts)
Ongoing issues- Rebalance when there are no undervalued stocks wants to buy for money amount from stored locked blocks. Strange bug, fix in next release.
Last edited by Noobler on 02:35:45 - 14/08/26 (1 month ago) -
-
-
-
Posted on 01:51:55 - 02/02/26 (7 months ago)Post link copied to clipboard Copy post link
It is coming in the next version. I am going to allow buying from the swing signals and making different strategies (aggressive, conservative, momentum, etc.) The signals for existing trades will update so the user knows when it is time to sell/buy/hold.
-
-
Posted on 06:22:50 - 02/02/26 (7 months ago)Post link copied to clipboard Copy post link
When rebalancering it seems like it wanna rebalance the whole Portfolio not just the "extra" cash stored in stocks
I dont wanna touch what i already have in active blocks just the "extra cash"
Is that possible?
-
-
Posted on 10:24:06 - 02/02/26 (7 months ago)Post link copied to clipboard Copy post link
do you have Lock Blocks checked? I just tried and the rebalance isn't touching any locked condition for me (blocks, stock lock or swing trade). I did find a slight sync issue with the check box but it shouldn't create this problem. If you did have the lock blocks checked, were your blocks existing when you installed the script or purchased with the script?
-
-
Posted on 16:37:14 - 02/02/26 (7 months ago)Post link copied to clipboard Copy post link
Vault spread seems like its against TOS since it is 1 Action for buying more than 1 Stock
I dont wanna get banned
Im not gonna use this until clarified by staff or fixed for 1 click to 1 Action
Rebalancering should include stocks where profit is bigger than the 0.1 fee or a set % you could set in settings
Im Sorry its looks cool tho 👍👍👍
Last edited by AeC3 on 16:45:40 - 02/02/26 (7 months ago) -
-
Posted on 17:40:21 - 02/02/26 (7 months ago)Post link copied to clipboard Copy post link
I like the idea great work
I was looking for a way to get historical data to work on trade assistant now I can do it thanks to ur improvement to the script
The distribution thingy I haven't tried it yet but if it does multiple actions for 1 click then it's against TOS
-
-
Posted on 17:47:52 - 02/02/26 (7 months ago)Post link copied to clipboard Copy post link
hrm, ill look at it, it certainly does it all in 1 motion didnt realize it was against TOS just thought websockets were an issue. What if I did buttons next to each stock for the buy/sell like you do in advisor?
-
-
Posted on 18:04:13 - 02/02/26 (7 months ago)Post link copied to clipboard Copy post link
v7.2.9
Changed
Manual Trading Execution - Converted all automated multi-trade features to manual button-based execution for TOS compliance:
- Rebalance Modal: Replaced single "Execute Rebalance" button with individual "Sell" and "Buy" buttons for each trade
- Vault Spread Modal: Replaced single "Execute Spread" button with individual "Buy" buttons for each allocation
- Smart Withdraw Modal: Replaced single "Execute Withdrawal" button with individual "Sell" buttons for each stock
- Quick Block Rebalance: Replaced automated rebalance with manual sell buttons and buy button that enables when sufficient cash is available
- Users still get all the smart planning/calculation benefits, but must manually click each button to execute trades
- Progress tracking shows X/Y trades completed for each modal
- Button states: pending → executing → completed/failed with visual feedback
- Modals remain open so users can execute all trades in one session
---
This was done very quickly to put the script back into TOS. I will need to test all of the functions again but quick glance looks like it is working.
Last edited by Noobler on 18:06:29 - 02/02/26 (7 months ago) -
-
Posted on 18:10:08 - 02/02/26 (7 months ago)Post link copied to clipboard Copy post link
You can do so this is why I made. A drop down to select the stock
And in the advisor I could have made it that when u click invest it will automatically sell wrong placed stock and buy the correct one , but to go around that I made mini sell button for each so it will be 1 click 1 action
-
-
Posted on 19:57:12 - 02/02/26 (7 months ago)Post link copied to clipboard Copy post link
i "think" you can have 1 button to do all the buy and sell stuff BUT again 1 click = 1 action Like Lazy Crimes has one button to do mutiple things
1 button smash is what i mean :) (with a little delay maybe) -
-
Posted on 20:07:36 - 02/02/26 (7 months ago)Post link copied to clipboard Copy post link
I put the single smash button into the next version, it works well but clicking it 35 times it definitely a downgrade from my automated method :(
Working on smarter swing trade strategies and buying directly from the signals. Signals will carry on to the swing trade and live trades screens so the user knows when the signal changes to sell and can sell or buy more.
Working through some balancing issues where I don't have enough money to buy if the price changed too much during the process. Going to create a cushion for the user's cash, bringing it to 0 every time with price fluctuations isn't feasible. -
-
Posted on 05:57:22 - 03/02/26 (7 months ago)Post link copied to clipboard Copy post link
when rebalancering it says to take Profit even tho the 0.1 % fee makes it a loss
-
-
Posted on 10:08:15 - 03/02/26 (7 months ago)Post link copied to clipboard Copy post link
take profit is a "signal" that the stock is moving away from the buy status and should be removed from the portfolio (sell if you have it). I'll word them differently so it isn't confusing but a stock can go into a "sell" status even if you are at a loss or not actually in profit since the market is what controls the signal, not the trader's money.
-
-
Posted on 02:50:55 - 13/02/26 (7 months ago)Post link copied to clipboard Copy post link
Could we get the ability to manage the journal entries? I didn't realize it'd be better to edit the existing position after merging a new purchase, so have some skewed stats in there.











-





