Try it in the terminal
- PORT
- Open the Portfolio screen on the Holdings tab (the terminal remembers the last tab you used).
- ASK
- Ask the AI analyst about your holdings; you can tick a box to include them.
- RADAR
- Score your holdings and watchlist together with the My stocks view.
- AAPL GP
- Open Apple's chart. In PORT, clicking a ticker in the Positions table opens its overview.
What it shows
PORT is a whole-terminal screen with two tabs along the top, Holdings and Optimise. The terminal remembers the tab you used last. A smaller summary of the same positions also appears in the Portfolio tab of the side panel on the left.
Holdings answers: what do I own, what is it worth, how much have I made and how risky is it. Optimise answers: for a set of stocks, which weights would have given the lowest risk, or the most return for each unit of risk, over the past year.
How to open it
Type PORT in the command line and press Enter, or click the PORT button in the top bar. You can also click the value at the top of the side panel's Portfolio tab.
Where your holdings come from
Signed in with a QuoteDaddy account: your holdings are read from your QuoteDaddy portfolio. The terminal only reads them. You add and change holdings in the QuoteDaddy app (app.quotedaddy.com), and the changes show here when you come back to the tab. If the same ticker appears more than once, the terminal merges it into one position at the combined average cost. Holdings with no shares are ignored.
Signed out: you keep a trade log in this browser. You enter each buy, sell and dividend yourself on the Holdings tab, and the terminal works out your positions from it. The log is saved in your browser only. It is not sent to QuoteDaddy or anywhere else, unless you choose to include your holdings in an Ask AI question.
Because the log lives in your browser, clearing browser data or switching device loses it. Signing in to a QuoteDaddy account avoids this.
Reading the Holdings tab: the four figures
- Portfolio value: the number of shares times the latest price, added up over every position that has a price.
- Unrealised P&L: the value now minus what you paid (your cost basis). The line under it shows this as a percentage of what you paid. Unrealised means you have not sold, so the profit or loss is on paper.
- Today: how much your positions moved today, in money. The percentage under it compares today's move to the value at yesterday's close.
- Realised: profit or loss already locked in by selling. Signed in, this is the figure recorded in QuoteDaddy. Signed out, the box is called Realised + dividends and adds up your sale profits and the dividends you logged, with the dividend total shown underneath.
Positions that cannot be priced (the Last column says no price) are left out of the totals above.
Reading the Positions table
One row per open position, largest first. The columns are: Symbol (click it to open the stock), Shares, Avg cost (what you paid per share on average), Last (latest price), Value, Cost basis (total paid for the shares you still hold), P&L (profit or loss in money), P&L % (as a share of cost basis), Today (today's money move) and Weight (the position's share of your total value).
Prices refresh about every 10 seconds, from Finnhub.
The trade log (signed out)
Under the Positions table is a form for entering trades. Pick Buy, Sell or Dividend, then fill in the ticker, the date and the numbers.
- Buy and Sell: enter shares and the price per share.
- Dividend: enter the total amount you received. There is no share count for a dividend.
- The date cannot be in the future. Shares and prices must be above zero. A ticker is up to 12 characters of letters, numbers and . - ^ =.
- A sale is only accepted if you held enough shares on that date, and if it would not leave a later sale short of shares. Otherwise you get a message saying how many you held.
Trades are listed newest first, with the date, ticker, type, shares, price and total. Click the x on a row to delete it; the terminal asks you to confirm first. If deleting a buy would leave a later sale without enough shares, the confirmation warns you and that sale will be skipped. There is no edit button: delete the row and add it again.
The log has no field for fees, commissions or stock splits, so enter prices that already allow for them if you want your cost to match your broker.
Trades are sorted by date. Trades on the same date are processed in the order you entered them.
How profit is calculated
The terminal uses the average-cost method. Every buy adds the shares and what you paid to your running cost. Your average cost is total paid divided by shares held.
A sale books a profit of shares sold times (sale price minus average cost). The cost of the shares you sold comes off your cost basis, and your average cost per share stays the same. When you sell everything, the position closes.
A dividend adds its amount to your dividend total. It does not change your shares or average cost.
If a sale in your log is for more shares than you held at that point (for example, because you deleted an earlier buy), the terminal skips that sale and lists it in red above the positions as Skipped, with the date and the number of shares held.
Risk and performance against the S&P 500
Once at least one position has a price, a panel called Today's holdings vs S&P 500 (SPY) appears. SPY is a fund that tracks the S&P 500, used here as the benchmark for the US stock market.
Important: this is not your own track record. It takes the stocks you hold today, at today's weights, and asks how that mix would have done over the past year. It ignores when you really bought or sold.
How it is built: the terminal downloads about a year of daily closing prices for each holding and for SPY. It keeps only the trading days that all of them share, works out each day's percentage move, and combines the holdings using today's weights, as if the mix were reset to those weights every day. The growth line starts at 100.
- Return (labelled 1Y, or a shorter span such as 3M if a holding has less history) and SPY return: the total change from the first shared day to the last.
- Volatility: how much the mix swings. It is the standard deviation of daily moves scaled up to a year (times the square root of 252 trading days). Higher means bumpier.
- Sharpe: return earned per unit of risk. It is the yearly return minus a risk-free rate of 4.25%, divided by volatility. Higher is better. The yearly return here is the average daily move times 252.
- Beta: how strongly the mix moves with SPY. A beta of 1 means it moves about as much as SPY. Above 1 means it swings more, below 1 less. It is the covariance of your daily moves with SPY's, divided by SPY's variance.
- Max drawdown: the biggest fall from a peak to a later low during the period. It is shown as a negative number.
The chart plots your holdings (amber line) against SPY (grey line). The buttons 1M, 3M, 6M and 1Y change only the window of the chart, and both lines are reset to 100 at the start of the window. The six figures underneath always use the full period.
A holding with fewer than 30 days of prices is left out, and a red note lists it. Note that only days shared by every holding are used, so one newly listed stock can shorten the whole comparison. The label on the figures shows the span actually used.
Sectors and concentration
A donut chart and list show how your value is split by industry, using the industry label from Finnhub's company profile. A stock with no label goes under Other. Sector lookup covers up to 30 holdings at a time.
Largest holding shows your biggest position and its share. Effective holdings shows how many equal-sized positions would give the same spread. It is 1 divided by the sum of each weight squared. If you hold 10 stocks but one is most of the value, the effective number will be much lower than 10.
Two buttons sit underneath. Ask AI about my portfolio takes you to ASK. Optimise this mix sends your biggest holdings (up to 12, weighted by value) to the Optimise tab and switches to it. It needs at least two priced holdings.
The Optimise tab
On the left is a list of tickers with a weight in percent for each. On the right the terminal shows three mixes side by side, a chart of random mixes and a table of correlations.
Starting point: until you pick or edit a mix, the tab starts from your own holdings if you have at least two priced ones, weighted by what each is worth today. If you have fewer than two, it starts with AAPL, MSFT, NVDA and JPM at 25% each. Use the buttons under Start from to load My holdings (called My QuoteDaddy portfolio when signed in), or Watchlist, which puts an equal amount in each of the first 12 tickers on your watchlist. Each needs at least two tickers.
- Edit a ticker by typing in its box; the change applies when you press Enter or click away.
- Weights are percentages you type. They do not have to add up to 100, because the terminal scales them to 100% before use. A running total shows at the top of the panel. Normalise to 100% rewrites them as exact shares, rounded to one decimal place.
- + Add ticker adds a row with SPY and a weight of 0, ready for you to change. You can have up to 12 tickers.
- The x removes a row.
- Your mix is saved in your browser, including when you are signed in. It is not saved to your QuoteDaddy account.
What it works from: the last year of daily closing prices for each ticker. A ticker with less than 30 days of prices, or with less than 80% of the longest history among your tickers, is left out and listed in red. You need at least two tickers and 30 shared trading days to see results.
The three mixes, each showing Return, Risk and Sharpe, plus a bar for each ticker's weight:
- Your mix: your weights, scaled to 100%.
- Lowest risk: the long-only mix with the least volatility. The terminal finds it by stepping towards lower variance 3,000 times, each time keeping the weights at zero or above and adding to 100%.
- Best risk-adjusted: the long-only mix with the highest Sharpe ratio, found by repeatedly stepping towards a higher Sharpe (up to 3,000 steps, with an adjusting step size), starting from the lowest-risk mix. If none of your stocks earned more than the 4.25% risk-free rate over the year, it returns the lowest-risk mix, since a long-only mix can then only aim to lose the least.
Long-only means weights are never negative and always add to 100%. No short selling and no borrowing. There is also no cap on a single stock, so a mix can end up with most of its weight in one or two names.
Return is the average yearly return over the past year (the average daily move times 252). Risk is yearly volatility, as above. Sharpe uses a 4.25% risk-free rate.
The Risk vs return chart plots 3,000 random long-only mixes as grey dots, with risk across and return up. Your three mixes are the larger coloured dots. The random mixes use a fixed seed, so the dots do not change when you reload.
The correlation table shows how closely each pair of stocks moved day to day over the year, from minus 1 to 1. Redder cells mean they tended to move together; greener cells mean they tended to move in opposite directions. Lower correlation means more diversification.
Limits and good to know
- Everything on the Optimise tab, and the risk panel on Holdings, is based on past prices. Past returns do not predict future returns. The best past mix is not a forecast.
- The optimiser has no trading costs, taxes or minimum sizes, and uses closing prices only.
- The figures use US dollar formatting. The terminal does not convert currencies.
- Prices are from Finnhub. History is from Yahoo Finance, or from Finnhub where a licensed key is set up. The terminal does not state how delayed the prices are.
- Quote requests accept up to 40 tickers at a time.
- If Holdings shows a red note that it could not load your QuoteDaddy portfolio, the reason is shown beside it. Try again after a moment.
- Your holdings are only sent elsewhere if you tick Include my holdings in an Ask AI question. Signed in, the ASK screen ticks that box by default when you have holdings, and you can untick it.
- Educational only. Not investment advice.
Questions about Portfolio
Do I need an account to use PORT?
No. Signed out, you enter your trades by hand and they are kept in your browser. Signed in with a QuoteDaddy account, the terminal reads your holdings from your QuoteDaddy portfolio instead, so you do not enter anything twice.
I signed in and my trades vanished. What happened?
Your browser trade log is still there, but when you are signed in the terminal shows your QuoteDaddy portfolio instead. Sign out to see the browser log again. The two are never merged.
Can I add or edit holdings when I am signed in?
Not in the terminal. Holdings are edited in the QuoteDaddy app at app.quotedaddy.com. Come back to the terminal tab and it picks up the changes.
Why does my risk chart not match what I actually earned?
It is not your track record. It shows how your current holdings, at today's weights, would have done over the past year, next to SPY. It does not know when you bought.
What do Sharpe and beta mean?
Sharpe ratio is the return earned per unit of risk. The terminal subtracts a risk-free rate of 4.25% from the yearly return and divides by volatility. Higher is better. Beta shows how much your mix moves with the S&P 500 (using SPY): 1 means about the same, above 1 more, below 1 less.
Why was one of my stocks left out of the risk panel or optimiser?
It did not have enough price history. The risk panel needs at least 30 days. The optimiser also drops a ticker that has under 80% of the longest history among your tickers. A red note lists what was left out.
Why did the terminal skip one of my sales?
The sale was for more shares than you held on that date, usually because an earlier buy was deleted. The terminal lists the skipped sale above the table. Add the missing buy back to fix it.
Does the optimiser tell me what to buy?
No. It shows the weights that would have had the lowest risk or the best risk-adjusted return over the last year, using a long-only method. That is a look at the past, not a recommendation or a forecast.
Is my portfolio shared with anyone?
Your trades stay in your browser unless you tick the box to include your holdings in an Ask AI question. Signed in, your holdings are read from your own QuoteDaddy account, and the terminal only reads them.
