Build Your Own Stock Portfolio Tracker On Google Sheets

  Рет қаралды 652,053

Think Stocks

Think Stocks

Күн бұрын

Пікірлер: 1 600
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Make sure to subscribe to my channel for more awesome content like this! I post new videos every single week!
@THEchrisse95
@THEchrisse95 3 жыл бұрын
Great video but one thing google finance lacks of is getting data from non-us firms.
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Don't worry my friend. Next Friday I'll have a video up that shows how to pull data for international stocks!
@fx305production6
@fx305production6 3 жыл бұрын
@@ThinkStocks great! looking forward to it!
@nickfalkingham2937
@nickfalkingham2937 3 жыл бұрын
@@ThinkStocks Any chance you could answer my query below. Could i send my sheet to you please?
@TheophilusMostExcellent1
@TheophilusMostExcellent1 3 жыл бұрын
@@ThinkStocks Can you please do one that gets crypto data? with this exact set up? This is Essentially!! Super dynamic and makes sense but im having trouble with it maybe because of crypto
@AnnaOllsson
@AnnaOllsson Ай бұрын
First of all, this whole economic chaos was powered by optimism that the FED is done with hiking interest rates. Now that interest rate crash is the situation, where do we go from here? How would you advise I safely allocate $250k funds at this point?
@HildaBennet
@HildaBennet Ай бұрын
The market is volatile at this time, But doesn't the Federal Reserve's monetary policy and low interest rates contribute to the current valuations? hence I will advice you get yourself a financial advisor that can provide you with entry and exit points on the share/ETF you focus on.
@FinnBraylon
@FinnBraylon Ай бұрын
Agreed, my portfolio is well-matched for every market season yielding 85% from early last year to date. I and my CFP are working on a 7 figure ballpark goal, tho this could take another year. IMO, financial advisors are the most sought-after professionals after doctors.
@JosephineKenney
@JosephineKenney Ай бұрын
This sounds interesting. My portfolio is in the red. Can you recommend your analyst, please?
@FinnBraylon
@FinnBraylon Ай бұрын
’Sonya Lee Mitchell is the licensed advisor I use. Just research the name. You’d find necessary details to work with a correspondence to set up an appointment.
@JosephineKenney
@JosephineKenney Ай бұрын
Thank you so much for your helpful tip! I was able to verify the person and book a call session with her. She seems very proficient and I'm really grateful for your guidance
@AdebayourQuadri
@AdebayourQuadri 9 ай бұрын
Acquiring a stock is easy, but buying the right stock without a time-tested strategy is incredibly hard. Hence what are the best stocks to buy now or put on a watchlist? I’ve been trying to grow my portfolio of $160K for some time now, but my major challenge is not knowing the best entry and exit strategies. I would greatly appreciate any suggestions.
@nuraahmadumar8937
@nuraahmadumar8937 9 ай бұрын
Investors should be cautious about their exposure and be wary of new buys, especially during inflation. Such high yields in this recession are only possible under the supervision of a professional or trusted advisor.
@84gaynor
@84gaynor 8 ай бұрын
While this provide an actual strategy on investment, on how you buy your stocks. After buying shares for just over 10 years, i'm struggling to make gains. How do i adjust or revamp my $2M portfolio? should i consider some defensive investments?
@gagnepaingilly
@gagnepaingilly 8 ай бұрын
In this current unstable markets, It is advisable to diversify while retaining 70-80% in secure investments. looking at the worth of your portfolio, you should consider financial advisory.
@sommersalt88
@sommersalt88 8 ай бұрын
Agreed, my portfolio is well-matched for every market season yielding 85% from early last year to date. I and my advisr are working on a 7 figure ballpark goal, tho this could take another year. IMO, financial advisors are the most sought-after professionals after doctors.
@sommersalt88
@sommersalt88 8 ай бұрын
She goes by ‘’Jessica Annabelle Rupp’ I suggest you look her up. To be honest, I almost didn't buy the idea of letting someone handle growing my finance, but so glad I did.
@WorkAnywhereGo
@WorkAnywhereGo 2 жыл бұрын
The best video I could find about portfolio tracking. I was thinking about getting a portfolio tracker app, but the monthly subscription all seems to be a bit over-priced, it works in the long run that you have your own sheet.
@kevinhuang1830
@kevinhuang1830 3 жыл бұрын
This is fantastic. Thank you for your effort. I made a small change for calculating the purchasing. You just average and weight the bought price of purchasing a stock. But once you sell a portion of the shares, the purchasing cost of the rest will be changed. So I think the sold price of the stock has to be considered as well. Therefore I made a change like this: sumproduct(filter(Data!E:E,Data!B:B=A3),filter(Data!D:D,Data!B:B=A3))/sum(filter(Data!D:D,Data!B:B=A3))
@lrv850
@lrv850 Жыл бұрын
thank you for sharing this code. this way the average cost will account in the profit or lost from the previous selling into the total cost, am i right ?
@alintapordei7514
@alintapordei7514 Жыл бұрын
Hi, thank you for your code, can you please explain where I can insert it? I'm new to this.
@ivettegonzalez6217
@ivettegonzalez6217 3 жыл бұрын
I’m an excel nerd and your tracker is beautiful! I can’t wait to improve what I’ve been working on with what you’re showing! Great video :)
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thank you!
@yoguessd5840
@yoguessd5840 3 жыл бұрын
Hello, I see you are really like excel. I have a small request, can you help me with this sheet as I'm stuck at the place of the position?
@wavesmtz
@wavesmtz 3 жыл бұрын
Great tutorial! Your code could be optimized, here's an improved version: function MyPortfolio(symbols, values) { const sums = symbols.reduce((map, ticker, i) => { ticker = ticker.toString(); if (map[ticker]) { map[ticker] += Number(values[i]); } else { map[ticker] = Number(values[i]); } return map; }, {}); return Object.entries(sums); }
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thanks man! And this is amazing!
@AlwaysLoudAA
@AlwaysLoudAA 3 жыл бұрын
Hey Man, thank you so much.
@SaltyScion
@SaltyScion 3 жыл бұрын
Hey! thanks so much, would you know how to incorporate the " if(sums[ticker]>0){" line into this code so that it doesnt include any stocks I've sold?
@jlin74
@jlin74 3 жыл бұрын
Thank you! This is awesome!
@darkblader061
@darkblader061 3 жыл бұрын
this is cool
@BudhisenShakya
@BudhisenShakya 2 жыл бұрын
Every thing is working well 👍. I have just 2 Queries to resolve. 1. Shifting realised to unrealised 2. Purchase Price Shifting While both if these queries are interconnected Any of the query need to be resolved. Rest automatically will get resolved.
@TheKommonsense
@TheKommonsense 3 жыл бұрын
Thank you for sharing this. it is an excellent tool. One comment: if you sell all the stocks of "X" and buy the same stock again, your average weighted cost is no longer accurate. Same goes if the stock had undergone split or reverse splits. A simple solution for this would be to add one more column in the "History" tab and add a condition that tell the Purchase formula which buys to consider. I am sure you may have slicker scripts for that though.
@nasserkareem3705
@nasserkareem3705 2 жыл бұрын
Facing the same problem here. Cant figure out how to fix it.
@July-ct7pp
@July-ct7pp 3 жыл бұрын
Who would dare! not smash that like button for this banger of video. This man has me getting organized!
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Coming in with the fire comments again🔥
@BillBrucePoker
@BillBrucePoker 3 жыл бұрын
Wow, you even gave us the functions/formulas in the description. Great work bud.
@FruityZucchini
@FruityZucchini 2 жыл бұрын
That moment where you went through the entire video non-stop pausing looking at the coding and formulas to find out that he had most in the description. Great video you've earned my Sub :)
@ThinkStocks
@ThinkStocks 2 жыл бұрын
Thank you!
@simonagius7409
@simonagius7409 3 жыл бұрын
Thank you so much for the awesome video! I'm an excel user and have actually never heard of Google sheets until now. I really like this software. You explained this in a simple-to-follow format. Christ be with you!
@NikhilGuptaV
@NikhilGuptaV 3 жыл бұрын
Very Nice Video, Just one thing though when you calculate the cost-basis of a symbol, the formula is not taking into account symbol being traded multiple times. For Ex - If i buy PYPL at 10 and then sell at 12 and then buy at 15 and then buy at 20, considering I bought 1 share each time.. the cost basis would be 17.5, whereas in the way you did ... it will come out to be 15. so just a minor suggestion. Overall I loved this idea of using so much automation in your spreadsheet... I am kind of old school manually inputting values throughout the day.. Casual trader here .. so just 2-3 trades a month is what I can manage.
@justbones.3501
@justbones.3501 3 жыл бұрын
Noticed that the weighted average function used for avg price/share doesn't work for when you sell out of a position and then buy back in - because it's adding the price from when you first owned the share to what you own now. Thoughts on a work around for this?
@isnaphotoz
@isnaphotoz 3 жыл бұрын
Exactly. I need a solution for this as well.
@wilsonsuryahusada
@wilsonsuryahusada 3 жыл бұрын
Has anyone figured out the solution to this?
@khatarnaakbanda
@khatarnaakbanda 2 жыл бұрын
got any solution for this?
@ErRanaPrince
@ErRanaPrince Жыл бұрын
did u got any solution
@mlg4035
@mlg4035 3 жыл бұрын
I really cannot thank you enough for this STELLAR VIDEO!!! I learned more about Google Sheets from this one video than I have in YEARS!! You are providing an extremely valuable service, thank you! You have a new subscriber!
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Glad you enjoyed it!!
@Johnsormani
@Johnsormani 3 жыл бұрын
I want to press the like button more than once. Great stuff!
@dashaade
@dashaade 3 жыл бұрын
This is absolutely SUPERB!!!!!Thank you so much. This is way better than most of the apps out there
@olivialewis2041
@olivialewis2041 3 жыл бұрын
Buying stocks of companies has reported to have increased earnings for beginners but other favourable developments has to be considered to anticipate desired trading outcomes.
@owenmartinez5577
@owenmartinez5577 3 жыл бұрын
I recently started looking into penny stocks, i only invest small sums. But i'm interested to learn the trend factor of making huge gains on penny and tesla stocks
@harrycollins1230
@harrycollins1230 3 жыл бұрын
Investors should be cautious when it comes to trading stocks because the stock market is riddled with disquiet, you need proper education on the market.
@marybryant4153
@marybryant4153 3 жыл бұрын
@@owenmartinez5577 The ability of making huge gains on penny stocks is a technique rendered by professionals, reason why i make use of topmost trading expert service to pick out valuable stocks for me as i earn massively in the process
@raulandre677
@raulandre677 3 жыл бұрын
The stock market has been a financial escape plan for investors around the globe but beginners will never understand how profitable the stock market is if they are not investing in the market
@ethanthomas3689
@ethanthomas3689 3 жыл бұрын
@@raulandre677 I disagree, stock trading is highly profitable to both non and full investors, the profitability of stocks mainly depends on your ability to take advantage of the market because most investors make gains in expense of the loss of others
@3shula
@3shula 3 жыл бұрын
This is a great coach to track our portfolio. Spent about 4hrs to work on framing my portfolio. I enjoyed it very well and its a great learning. Thanks for educating.
@LGseeker
@LGseeker 3 жыл бұрын
Thank you so much for creating this! Best tutorial so far.
@cleoknight7411
@cleoknight7411 3 жыл бұрын
Guy you need to teach a class!!! That was the most detailed, clear, & accurate tutorial I'll EVER watched!!! This helped me more than you will ever know! I just started investing and this will help me keep a better track of it compared to putting it on paper ANY DAY! THANK YOU THANK YOU THANK YOU for the time you spent to teach us this!!! You have definitely made my life easier.
@lofimusique1987
@lofimusique1987 3 жыл бұрын
This is truly helpful. I just finished my portfolio by adding all the stuff you taught. Awesome!
@thomasl4992
@thomasl4992 2 жыл бұрын
DAM! This is the most complete portfolio sheet I have ever seen. Well done
@unctep
@unctep 3 жыл бұрын
This was an amazing tutorial, thank you so much for taking the time and sharing this!
@niranjanm1094
@niranjanm1094 2 жыл бұрын
Thanks so much for doing this. I had no knowledge about Sheets and now I got confidence and idea to add more metrics that I want.
@seanyang3067
@seanyang3067 3 жыл бұрын
Great tutorial for someone whose getting started managing portfolio in a customized way! One thing though: the way you calculate average cost doesn't count for sells at all, which isn't always correct. Should use one of FIFO, LIFO or high/low cost.
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thanks Sean! And don't worry, I solved this problem and will be putting up a tutorial on this soon! The tutorial will show you the FIFO method
@ironchef6485
@ironchef6485 3 жыл бұрын
Thanks for the tutorial, I have same issue "the average price doesn't eliminate sold stocks price" . Keep us posted for the new tutorial.
@Shermanbal
@Shermanbal 3 жыл бұрын
Cant find the tutorial! Its maddening
@ThinkStocks
@ThinkStocks 3 жыл бұрын
This Friday at 9am EST the FIFO video is coming out!
@thebskeerthan
@thebskeerthan 3 жыл бұрын
@@ThinkStocks hey, could you please link the fifo video? Thanks for your work, this is excellent stuff
@justinwong2268
@justinwong2268 3 жыл бұрын
Hi thinkstocks thanks for the super detailed tutorial! Learnt a lot and I really appreciate it. While playing around with the sheets, I think I may have encountered an issue with the weighted average formula. The formula you used was =if(isblank(A3),"",AVERAGE.WEIGHTED(FILTER(History!E:E,History!B:B=A3,History!D:D▶0),FILTER(History!D:D,History!B:B=A3,History!D:D▶0))) but this also accounts for past positions bought but subsequently sold in the history. For example, let’s say these transactions were carried out in order: 1. Bought 1 AAPL @$100 2. Sold 1 AAPL @$105 3. Bought 1 AAPL @$110 Using the weighted average formula, purchase will be $105 per share. However the real average should be $110 since the first share was already sold off and shouldn’t be counted in the weighted average. Because of this the realised gain row in the dashboard will also be off, showing $0 gain when it should be $5. Is there any workaround for this? Thanks :)
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Hey Justin, glad you liked my video, and yes! It took some time to figure out how to fix it but this Friday I will be releasing a video with the solution. Its a pretty lengthy code but it work great to solve this problem!
@justinwong2268
@justinwong2268 3 жыл бұрын
@@ThinkStocks thanks a lot, looking forward to your video!
@fx305production6
@fx305production6 3 жыл бұрын
Looking forward to your next video! Just wondering whether you can introduce a column to the sheet showing annualised returns, gains, losses, etc., & return over the past 12 months, quarter... I think it'll be useful especially if you hold the stocks for a longer term. Thank you.
@Bhtan00
@Bhtan00 Жыл бұрын
This is the video that I have been looking for a long time. Thanks man!
@sinkiu
@sinkiu 3 жыл бұрын
Thank you, truly one of the more comprehended portfolio tutorial video available to date. Really appreciate it as I am just starting with investing with multiple brokers. This will be perfect to have everything in one place
@Remiijgosse
@Remiijgosse 3 жыл бұрын
First of all, thanks for showing how to build your own porfolio in google sheets. I have written the script and had problems getting it to work. when writing down i saw my flaw and it works. Great thanks!
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thats awesome to hear and glad you liked my video!
@costantinomongelli4169
@costantinomongelli4169 3 жыл бұрын
Thank you for such a great walkthrough. I created the portfolio sheet with some additional flavour (mixing in both USD and CAD and creating a baseline CAD totals) as well as scouring yahoo finance for Sectors so I can have a sector diversification chart on my dashboard. It was quite a bit of work to makes sure all the data was inputted properly, but am really happy with the end result, can't wait for Tuesday to make some purchases just to add it onto the portfolio tracker!
@derekd1997
@derekd1997 3 жыл бұрын
Hello. If its not too much trouble, could you explain how you converted the usd to cad? I found the function to convert but can't figure out the coding to get it to know if its a us stock or a cad stock.
@costantinomongelli4169
@costantinomongelli4169 3 жыл бұрын
@@derekd1997 =if(isblank(A3),"",googlefinance(A3,"Currency")) .... where A3 is the ticker, note for US listings, just ticker, for TSX, must be proceeded by TSE:___.
@costantinomongelli4169
@costantinomongelli4169 3 жыл бұрын
Them simply do a if (or sumif) statement looking for CAD and multiplying the value using GOOGLEFINANCE("CURRENCY:USDCAD").
@justinkoh10
@justinkoh10 3 жыл бұрын
Hi, thank you for sharing your wonderful portfolio tracker. I am still working my way through it. Very comprehensive instruction. Question: For the calculation Average Purchase Price in the Position sheet, it doesn't seem to take into consideration if a specific stocks are partially sold. Example: 1 jan 2021 MSFT Buy 200 $100 1 feb 2021 MSFT Sell -200 $120 then 1 mar 2021 MSFT Buy 300 $130 The Average purchase price should only take the purchase on 1 Mar and ignore the purchase on 1 Jan since it has already been sold in Feb. but it seems the formula still takes both Jan and Mar into the averaging. Not sure if I am correct.
@passivedividendsoptions
@passivedividendsoptions 3 жыл бұрын
Awesome spreadsheet man 🔥🔥🔥 I love creating my own views with Sheets or Websites to interpret the stock mkt data I care about.
@jhan944
@jhan944 3 жыл бұрын
Very nice portafolio tracker and really useful step by step explanation, thank you
@tomrupp3745
@tomrupp3745 3 жыл бұрын
This is fantastic! @ThinkStocks, did you happen to do an update to manage track options activity? I sell options to lower my basis and it would be swell to integrate that into the sheet to more accurately track everything and manage cash positions.
@anthonysanchez1771
@anthonysanchez1771 3 жыл бұрын
Loved the video. Learned so much in a short period of time. Appreciate the work.
@kennethppaz
@kennethppaz 3 жыл бұрын
This is awesome. Will be interested in how you'd structure a tracker for a portfolio with assets in different countries - UK, AU, NZ, US.
@Luke-kp1px
@Luke-kp1px 3 жыл бұрын
have you figured this out?
@fvgoya
@fvgoya 3 жыл бұрын
Dude, you have one of the best content about google sheets / finance of KZbin. No kidding!!!! Subscribed.
@abdullahalismail5046
@abdullahalismail5046 3 жыл бұрын
Thank you for the great video,, when I add dividend how do I remove it from the portfolio position sheet?
@Shermanbal
@Shermanbal 3 жыл бұрын
Input as Cash
@Fatbastard318
@Fatbastard318 3 жыл бұрын
Incredible attention to detail on video and formulas in description. Thanks for this.
@leticiapavamtagliari9088
@leticiapavamtagliari9088 3 жыл бұрын
There is a flaw on your code... When you close a position in a stock and (say a month after) buy it again, it will consider your entire purchase history, and won't reflect your actual average buying price. You should also calculate average prices on the gs algorithm, and make the 'total' variable return this column too.
@raunvs
@raunvs 3 жыл бұрын
Good catch there.. I have been thinking about this and not sure how to correct this. Any ideas?
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Don't worry guys I have a a solution to this error, video is coming out soon!
@leticiapavamtagliari9088
@leticiapavamtagliari9088 3 жыл бұрын
@@raunvs In fact this is quite simple. Just add a new object (say avgs{}) and put the average prices there by ticket. When a position comes to zero then make this avg[position] equals zero too. But caution to not test for lower or equal than zero on a position, because if there is a sell entry and a buy entry on the same day, and depending on the order, it may be negative in some point of calculation...
@leticiapavamtagliari9088
@leticiapavamtagliari9088 3 жыл бұрын
Or you can make another function, just to calculate the averages...
@dhakshanamoorthy8073
@dhakshanamoorthy8073 3 жыл бұрын
@@ThinkStocks is there any solution came up for this???
@rjt2uall
@rjt2uall 3 жыл бұрын
Very Useful for any Stock Traders, Thanks a lot to give me the video as a wonderful gift.
@mikegodfrey4482
@mikegodfrey4482 3 жыл бұрын
Is there a way to do this with options as well?
@amitabh4u
@amitabh4u 3 жыл бұрын
Finally, I am done. Thanks a million for the tutorial in such great depth, explaining every single line of the code. Kudos to you man 👏🏼👍🙏🏼🙏🏼
@thuctran698
@thuctran698 3 жыл бұрын
Great video! Super helpful but I have a question, I think the weighted average formula didn't account for the sell amount of shares, so when we have stock dividends, the price is not calculated correctly
@squishyadam
@squishyadam 2 жыл бұрын
did we figure this out? cause im having the same problem now haha
@arunshah8902
@arunshah8902 9 ай бұрын
yes true, this gives a mistake in average purchase in postions tab. It is because the purchases price looks for all purchases to cal weighted avg, but ignores the fact that we could have sold or squared off our previous purchase and starting a fresh on the same stock
@fralorher
@fralorher 2 жыл бұрын
Thank you very much for the video. It is beautiful explained !!
@anandakarmakar6428
@anandakarmakar6428 3 жыл бұрын
This Portfolio Tracker is amazing, but the issue I facing that when I put the Dividend & DRIP under any Security Symbol with Quantity on the History tab is also increased my Quantity of shares on the Positions tab also... For that, it's affecting the Purchase... Can you please elaborate that how can I put the Dividend & DRIP of any Security under the History tab? Thank You!!
@adamwentworth
@adamwentworth 3 жыл бұрын
I'm wondering the same thing for Dividend. For DRIP - you need to enter the fractional share amount that was purchased, and your share count will be correct, but for non-DRIP Dividends, it's altering the share count when it shouldn't. Does it need to be labeled as "Cash" instead of a ticker because it's like a different type of deposit?
@chriswood232
@chriswood232 3 жыл бұрын
@@adamwentworth I am having the same issue. I thought I may have been entering the DRIP wrong. I wonder if there is a code/formula fix for this or if it's just a matter of logging it into History differently.
@chriswood232
@chriswood232 3 жыл бұрын
I think I may have figured this out. If you add +sumif(History!C:C,"Dividend",History!F:F)-sumif(History!C:C,"DRIP",History!F:F) to the end of the formula in the cell for Cash, and then make sure you enter dividend payments and DRIP payments separately in the History, it should add the dividend payment to cash and then subtract it while still correctly changing your share amount on the Positions tab. I THINK it also correctly updates the dollar cost average amount in the Purchases tab as well, but I have not tested that yet.
@chriswood232
@chriswood232 3 жыл бұрын
And I just realized you have to put 0 for the Quantity in the History when entering Dividends. Otherwise it adds an extra share on your Positions tab.
@chriswood232
@chriswood232 3 жыл бұрын
Arrr... nevermind. That's not working either. It messes up the totals in History. I'll keep working on it.
@andrecunningham
@andrecunningham Жыл бұрын
OMG, I did the full thing from start to finish, It took me 6 hours but I did it! thank you so much, I will like share and subscribe and I will aslo join the Patrean just to support the channel, This Video is awesome and so in dept! thank you so much!
@victorleibman
@victorleibman 3 жыл бұрын
First of all Great tutorial. Thanks A lot! Only Question i have is: How Do i make Cash deposits in the History tab not to appear in the Positions tab, it messes up the calculations on the Dashboard. because what happens when i input deposits, it refers to it as a stock and counts it with all the other stocks in the Positions Tab
@JayuPatel
@JayuPatel 3 жыл бұрын
I too find CASH as positions in Position TAB - can't figure out where have I made an error in the Script.
@santiagolamberti2181
@santiagolamberti2181 3 жыл бұрын
@@JayuPatel Had the same problem, it seems it gets solved by tiping "Cash" only C in capitals. That worked for me
@soulfulcrown
@soulfulcrown 3 жыл бұрын
@@santiagolamberti2181 Thanks, that was a big help!
@therecedinghairline
@therecedinghairline 3 жыл бұрын
I have the same issue. I input Cash with only C capital but still it shows up in positions. Anyone had the same issue and solved it?
@soulfulcrown
@soulfulcrown 3 жыл бұрын
@@therecedinghairline look at your coding. How did you spell "Cash" in your script? "CASH" or "Cash" ?
@glefaacenas6728
@glefaacenas6728 3 жыл бұрын
This help a lot. Thank you so much for sharing. Your effort of doing this video for more than an hour is super appreciated. I liked, subscribed and didn’t skip ads to give back the favor. ❤️
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thank you for the support!!
@dmehta3476
@dmehta3476 3 жыл бұрын
Thanks - If possible please consider performance sheet where we can see annualized, cumulative and annual and or quarterly returns where data can be compared with S&P and DJIA; also it would be nice to have designated location of each transaction meaning automatically going to different portfolio. i.e 401K , ROTH etc.
@natesmedley4536
@natesmedley4536 2 жыл бұрын
Yes, this is what I am looking for as well
@chele850
@chele850 Жыл бұрын
You can add a splicer to select different accounts. Idk how to graph quarterly returns though, I got as far as writing a formula to label each entry by quarter based on the date of the transaction, but couldn’t figure out how to calculate the values for different funds in intervals.
@Marvelously888
@Marvelously888 3 жыл бұрын
This was so helpful!! I've been wanting to create something like this for myself to manage my multiple accounts. Thank you for you time!
@matcut1
@matcut1 3 жыл бұрын
does this work with options? also what other trackers you offer in your patreon?
@omarm6841
@omarm6841 3 жыл бұрын
Just two days ago I was watching you other video about sheet tracker. Very helpful content , thanks a lot 🙏
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thanks for watching, glad you like my content!
@partheshoza8799
@partheshoza8799 2 жыл бұрын
This was an excellent and very helpful video! However, after creating the tracker for my portfolio, I found it was rendering inaccurate results. I dug into it and found that the method to calculate purchase price (starts at around 22:26) will lead to an incorrect value for anyone who has sold the stock and again bought it for a different price. For example, someone buys a stock at $100 and then sells it for $150. Now, again he is buying the same stock at $120. In this instance, his average purchase price calculated by the given method will be an average of $100 and $120 = $110, but his actual average purchase price should be $120. Can anyone suggest a way to correct this?
@pibbz13
@pibbz13 2 жыл бұрын
You can add a check for cell C to only contain Buy orders by adding History!C:C="BUY" to the formula like this: =IF(ISBLANK(A3),"",AVERAGE.WEIGHTED(FILTER(History!E:E,History!B:B=A3,History!D:D>0,History!C:C="BUY"),FILTER(History!D:D,History!B:B=A3,History!D:D>0,History!C:C="BUY"))) This goes in the purchase category, Column C in the Positions tab :)
@alejandrovillalba8163
@alejandrovillalba8163 2 жыл бұрын
Has anyone figured out how to fix this?
@pibbz13
@pibbz13 2 жыл бұрын
@@alejandrovillalba8163 the formula i posted above fixes this issue :)
@alejandrovillalba8163
@alejandrovillalba8163 2 жыл бұрын
@@pibbz13 is it possible that the comment is hidden? I cannot see it. Would you be so kind to copy paste it under my comment, please?
@baba_babaa2
@baba_babaa2 2 жыл бұрын
I suggest disregarding anything this fool posts because I just wasted a lot of time and figured out what you just said also
@baovuong153
@baovuong153 3 жыл бұрын
You make the best videos I learned so much using google sheets than I ever have
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Glad to hear that!
@mojomuller1
@mojomuller1 3 жыл бұрын
Really Helpful, thanks a miL! How would one go about deducting a Fee off the units and allowing this to be shown NET in the Share column?
@Henryincanada
@Henryincanada 3 жыл бұрын
Really appreciate your selfless effort, this is amazing!
@maxreynoso
@maxreynoso 3 жыл бұрын
This is a very in-depth sheet and i would love to use it just dont have time to build you. Do you charge to have one made? Thank you
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Hey max, you can find all my trackers to download on my Patreon! The link is in the description!
@eduardorodriguezdelpaso6646
@eduardorodriguezdelpaso6646 3 жыл бұрын
@@ThinkStocks I would like to take a curse on this specific subject of coding
@dalepolka2487
@dalepolka2487 3 жыл бұрын
@@ThinkStocks how do I get to your patreon
@ThinkStocks
@ThinkStocks 3 жыл бұрын
The link is right in the description!
@JoseSanchez-tp1zv
@JoseSanchez-tp1zv 9 ай бұрын
Such an Amazing step by step video. GREAT WORK. Exactly what I was looking for.
@MaxTheCopperHusky
@MaxTheCopperHusky 9 ай бұрын
Does this code worked?
@JoseSanchez-tp1zv
@JoseSanchez-tp1zv 9 ай бұрын
@@MaxTheCopperHusky oh yes it did.
@barryadam9438
@barryadam9438 3 жыл бұрын
hello, i wrote the script exactly as explained but when i go to tickers i get "Error Reference does not exist." Any idea how to solve it???
@ejasugas9495
@ejasugas9495 3 жыл бұрын
same here.. Instead I make my own functions hehe
@jesseeee294
@jesseeee294 2 жыл бұрын
Bro, this is theeee best video I've ever watched on KZbin thanks a lot👍💯
@ThinkStocks
@ThinkStocks 2 жыл бұрын
Glad you think so!
@jeffreyruiz9007
@jeffreyruiz9007 3 жыл бұрын
I get Error: "ReferenceError: values is not defined (line 16)." on my =MyPortfolio(History!B3:B1000;History!D3:D1000). Any suggestions? I check the Script Ln 16 = "sums[t] = Number(values[i])" am I missing something still?
@pradipbaniya1116
@pradipbaniya1116 3 жыл бұрын
I am getting same error msg:
@n-rajesh
@n-rajesh 8 ай бұрын
This was such an excellent tutorial. Thank you for the wonderful share!
@anushaa1471
@anushaa1471 3 жыл бұрын
Thank you. Is there any way to track options ( calls/Puts) as well?
@TecNificant
@TecNificant 3 жыл бұрын
Wow! Two (2) thumbs up to you for bringing this video to the masses. I hung in there from start to finish, learned a plenty and now I've got my own tracker. Much appreciate your efforts...Stay Safe!
@alexandermanzhula5155
@alexandermanzhula5155 3 жыл бұрын
Great work! Thanks! How about multi-portfolio? For example, I have 3 broker accounts
@markadams9946
@markadams9946 3 жыл бұрын
i wanted to know the same thing
@gregerlindstrand1665
@gregerlindstrand1665 2 жыл бұрын
Yes I have the same question!
@tnfan2k12
@tnfan2k12 3 жыл бұрын
Thank you so much for taking the time to walk us through this process. The code to copy and paste made creating the sheet super easy! You are a gentleman and a scholar!!!!!
@DrewKoscelek
@DrewKoscelek 3 жыл бұрын
Thanks for this video! Very helpful! Is there any way to sort the Positions tab by Alphabetical Order of the stock ticker? I would love it if it updated automatically when buying or selling new positions.
@mitanchandihok6343
@mitanchandihok6343 3 жыл бұрын
Right before return total put total.sort() on the line before it.
@DrewKoscelek
@DrewKoscelek 3 жыл бұрын
@@mitanchandihok6343 Thank you, this works perfectly! Much appreciated!
@jonharris9479
@jonharris9479 3 жыл бұрын
Your spreadsheets are totally awesome! Thank you for sharing!
@fx305production6
@fx305production6 3 жыл бұрын
Great video. One questions. When I include stocks from other countries/ exchanges, how do I incorporate currency conversion (i.e. foreign currency to USD - using live exchange rates) into the spreadsheet so that the prices get updated automatically? Thanks heaps.
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thanks! And on Friday I will release a video that shows you how to convert currencies!
@annabolin2158
@annabolin2158 3 жыл бұрын
Very cool + helpful video!! One question - Realized Gains: =sumif(History!C:C,"Sell",History!F:F)-sumif(History!C:C,"Buy",History!F:F)-sumif(History!C:C,"DRIP",History!F:F)+sum(Positions!G3:G30) - If you also want to account for dividends and "do it for both" - how would that line look like?
@camocamper2830
@camocamper2830 3 жыл бұрын
I'm getting a #REF! error when I enter the function at 18:26. I have double checked my code for any errors, but it is identical to his. Can someone help with this?
@ANGELRUIZALONSO
@ANGELRUIZALONSO 3 жыл бұрын
Were you able to fix it? I'm having same problem
@luistbrandao
@luistbrandao 3 жыл бұрын
Me too, I'm searching for another video like that
@slooppo222
@slooppo222 3 жыл бұрын
I had the same error. Went through my code with a magnifying glass and found a typo. Now it works like a charm. So check the code again for typos!
@Wealth4generations
@Wealth4generations 3 жыл бұрын
Same problem
@danisht
@danisht 2 жыл бұрын
Amazing! Just finished making this. It was so much fun and it looks great! Thank you!
@Beekeepergames
@Beekeepergames 3 жыл бұрын
When i Go to enter =MyPortfolio(History!B3:B1000,History!D3:D1000) It says unknown function any idea how i can fix that
@prettykolosa5801
@prettykolosa5801 3 жыл бұрын
I am getting the same error. Tried it several times.
@wallowing2214
@wallowing2214 3 жыл бұрын
@@prettykolosa5801 Having the same issue. Following
@noippmahc1435
@noippmahc1435 3 жыл бұрын
@@wallowing2214 =MyPortfolio(History!B3:B1000;History!D3:D1000); this is correct one
@maybeJace
@maybeJace Жыл бұрын
Great video man, also for the functions and graphs instead of Doing B3:B1000 or whatnot, B3:B will select the entire column!
@njangblik
@njangblik 3 жыл бұрын
Loved the vid took me a while to get it right had to go to dc for the myportfolio but all worked great. Keep up the good work. Subbed and liked. Ps i would love to incorporate crypto any change you will look in to that?
@alexanderdi9250
@alexanderdi9250 3 жыл бұрын
Yes please!
@shannonroseland6614
@shannonroseland6614 Жыл бұрын
This is brilliant! Very well put together and explained. I loved it! Thanks so much!
@diax14
@diax14 3 жыл бұрын
Getting # Error! on the Positions tab after the MyPortfolio, and error on the History Total. So I'm stuck 20 minutes in the video. Already checked several times the coding script. Edit: use a ; instead of a comma: =MyPortfolio(History!B3:B1000;History!D3:D1000); then it works The same for the total
@rojomen27
@rojomen27 3 жыл бұрын
Try ";" Instead of ","
@idhamamal1297
@idhamamal1297 3 жыл бұрын
i had same problem but whenever i change a comma to ; it stills error and whenever i check it still comma
@diegolauricella5650
@diegolauricella5650 3 жыл бұрын
Same problem but whenever I use ; instead of a comma I still have the error. How can I do?
@alvintjw123
@alvintjw123 3 жыл бұрын
@@diegolauricella5650 having same problem here :/ still says unknown function
@Syca444
@Syca444 3 жыл бұрын
@@alvintjw123 same here
@johnfond2035
@johnfond2035 Жыл бұрын
Thank you, this is exactly what I was looking for!
@michaelm2066
@michaelm2066 3 жыл бұрын
After I did the coding and save it ... id tried to use it bust it says an error of non-existing function... :( any suggestions ?
@diax14
@diax14 3 жыл бұрын
Same, but check @Oliver Mark comment, he said to put it like this at 18:19 use a ; instead of a comma: =MyPortfolio(History!B3:B1000;History!D3:D1000); then it works edit: and in the history total use the ; as well instead of the two commas
@lisaagrios6062
@lisaagrios6062 3 жыл бұрын
Thank you so very much for taking the time to put this together--YOU ROCK! Works like a charm! Great tutorial!!
@guillermomartin8248
@guillermomartin8248 3 жыл бұрын
issue I am having is when making the chart on breakdown sheet. When highlighting the value from A3 to A100 it doesn't allow me to click ok. It shows Invalid Type.
@YLai1515
@YLai1515 2 жыл бұрын
This tutorial is absolutely amazing. Thanks so much for sharing! Liked and subscribed!
@alexandrurosca3888
@alexandrurosca3888 3 жыл бұрын
Very comprehensive tutorial, great job. Still I am facing the following issue: Let's say I had a stock that I completely sold at some point resulting in a realized gain. then, at a later stage I bought it again - the price now will be averaged with the old stocks, which I don't want to. How did you solved this one?
@chandrabhatt
@chandrabhatt 3 жыл бұрын
+1 for this issue. Looking for solution
@zluti90
@zluti90 3 жыл бұрын
+1 here as well
@Kalendrim
@Kalendrim 3 жыл бұрын
Great tutorial. Just what I needed to create my own portfolio trackers for testing ideas and tracking my real-money portfolio.
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thanks!
@sven8775
@sven8775 3 жыл бұрын
There is an edge case in your code. You need to ignore dividends when grabbing Ticker for Breakdown. Otherwise, when you sell everything, it will treat dividends as you still hold stocks.
@christopherfleming7505
@christopherfleming7505 3 жыл бұрын
Hello, do you know how to do this?
@nafichowdhury1974
@nafichowdhury1974 3 жыл бұрын
Awesome video man, made both of my portfolio trackers from your videos - love the content!
@BRAUSA
@BRAUSA 3 жыл бұрын
youre such a g dude. these are priceless.
@sidonculous
@sidonculous 3 жыл бұрын
Appreciate you for taking the time to explain your portfolio tracker. Very interesting DIY tool. 🙏🏼
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thank you!
@FlamingVAM
@FlamingVAM 3 жыл бұрын
When you close a position in a stock and (say a month after) buy it again, it will consider your entire purchase history, and won't reflect your actual average buying price. How do we fix this
@hydekeroro
@hydekeroro 3 жыл бұрын
did he reply you?
@marcelangir7534
@marcelangir7534 3 жыл бұрын
Same problem here ~
@Shermanbal
@Shermanbal 3 жыл бұрын
No answer??
@TheWalrusVideos
@TheWalrusVideos 2 жыл бұрын
Have the same question
@a.007
@a.007 2 жыл бұрын
This guy is too genius for us.
@isabelodelosangeles8353
@isabelodelosangeles8353 3 жыл бұрын
dividend always adds up on the positions. if I sell positions in history and there's a dividend that thing remains as shares in my positions tab
@alvinprasad4472
@alvinprasad4472 3 жыл бұрын
Did you find a solution here?
@AkerMagie
@AkerMagie 3 жыл бұрын
Same here, I'm trying to find a solution. When you check the video at 36:47, you can see how he registered the DRIP in history, Idk how he calculated the quantity. I tried to do something different using dividend yield and price but it didn't work :(
@netanelsajman
@netanelsajman 3 жыл бұрын
Did you find a solution?
@endysdoodoo
@endysdoodoo 2 жыл бұрын
Put 0 in the amount of stocks
@Ohy89
@Ohy89 3 жыл бұрын
I wish I could like it twice to thank you for it. I have been managing my portfolio with google finance but what you have done here is next level. I am also very interested in coding and visualisation so well done. This is trully amazing!
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thank you!
@rpzeditx
@rpzeditx 3 жыл бұрын
The perfect portfolio tracker! Thanks for your hard work. Keep it up and I look forward to future videos.
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Thank you!
@rpzeditx
@rpzeditx 3 жыл бұрын
@@ThinkStocks Only took me 5 hrs, but its almost complete. Still have to make some tweaks in the History tab to account for all the "weird" transactions.
@ThinkStocks
@ThinkStocks 3 жыл бұрын
Id say 5 hours is pretty good timing!
@widianto9025
@widianto9025 3 жыл бұрын
plase fix. cannot read property 'length' of undefined thanks.
@brads2041
@brads2041 3 жыл бұрын
If you are just clicking RUN on the script, you will get the error. Ignore it. He says that in the video
@SimpleOptionStrategies
@SimpleOptionStrategies 2 жыл бұрын
Hi, thanks so much for putting this together! We are using multiple google sheets in our trade alert service and plan to incorporate yours. I do have a question about dividends since we have one dividend portfolio. When we sell the stock, the dividend stays in the Positions sheet and it represents shares of stock based on the dividend amount. I would think it would have dissapeared when all of the stock was sold. Can you help with this one?
International Stock Tracker in Google Sheets
40:00
Think Stocks
Рет қаралды 41 М.
How To Pull Dividend Data Into Google Sheets
12:13
Think Stocks
Рет қаралды 106 М.
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 23 МЛН
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
Trade Tracker Code In Google Sheets | Master Portfolio Tracker
56:11
A guide to our alphabet
20:08
RobWords
Рет қаралды 227 М.
Create a Live Stock Portfolio Tracker in Excel  | No Microsoft 365 Required
21:02
Ryan O'Connell, CFA, FRM
Рет қаралды 68 М.
LIVE Stock Portfolio Dashboard in Excel in 30 Minutes!
29:38
Ryan O'Connell, CFA, FRM
Рет қаралды 48 М.
Stock Portfolio Tracker Spreadsheet - Google Sheets Template
43:44
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 176 М.