OK, for all those asking, let me try and summarise the dividend update in a table rather than answering everyone individually.
Basic question everyone is asking : Can you provide the dividend data around these new US stocks?
Answer: Yes.
Caveats: āYieldā in this market is wild. Swings everyday. Some companies cancel dividends. You can base āYieldā on annualised over current price, or over the trailing 12 months or over last dividend * by frequencyā¦ youāll end up in different places. Therefore āyieldā is a little subjective and really you need to base it off your own entry price into the specific stock.
So, that asideā¦ here is your table to play with.
Yes, some data is a little quirky. Donāt judge me. It took 5 minutes to produce!
Iāve also updated the first post with the GitHub link. If anyone else wants to download a copy or feels like contributing, more than welcome. Lots more changes comingā¦ Thank you @Ian / Freetrade for allowing us to do this.
Good job on the effort of building out this tool, kudos to you.
You mentioned that you wanted feedback on the tool and Iād be more than happy to provide feedback from an engineering and design perspective if youāre interested on improving your design and software engineering skills.
@fnery Hey! Your first post too, welcome! I havenāt been updating the github repository with the latest versionā¦ My commitment to CI/CD pipeline is lagging Going for speed to market. Iāll push the latest version there now and iāll check out the link issue.
Okay, the first thing I noticed that could be improved on is in your index.html file.
You should probably separate your HTML and JavaScript into separate files. The script tags you have would be better if there were in another .js file. This makes it easier for you to maintain and for other developers to collaborate with you.
I noticed you dumped the entire table as HTML in your index.html file. You can probably imagine how hard this makes it to maintain and scale.
A better approach would be to define the data for the table in a JSON array and use that JSON array to render the table.
You could probably use a front-end web framework, for example React or Vue.js. to help you handle the logic for rendering your web app. In addition, you can also use a UI framework like Bootstrap, Semantic UI etc to speed up the development of your UI.
From a design perspective, the freetrade costs and charges page you iframed on line 1155
could be improved. I think you should probably get rid of the iframe all together because currently it looks very cumbersome and unprofessional. Rather, you could just use the fetch() API to navigate to the page and parse out the data you need and display it in your own table. It would look cleaner and would provide the user with a better user experience.
You could probably have separate pages for the TradingView graph, Table and IFrame component and rethink about how you display it. Because it all feels like it has just been smashed together. Youād be surprised how a good UX/UI can make users want to continue using your product.
I think these are all changes that can help you improve and get more experience in your web development journey. Hope I was helpful, if you have any queries, donāt hesitate to ask
@Jim1 I never liked adverts on websites (the amount of youtube video adverts is a killer) / affiliate links or someone trying to up-sell their services. Wouldnāt it be great being free and providing value I know we all got to eat, but be the change you want to see #free
@fnery I put your idea for changes live. Looks like it works All stocks should now open appropriately in google finance. Take it for a test drive and let me know if you see any problems.
Version 1.5 (fnery Edition):
fnery change of MIC to XYNS - NYSE / XNAS - NASDAQ / XLON - LSE
Toggle what you want displayed - Hide and show / Chart / Table / Web
Maybe add a ādonate a coffeeā button for anyone that wants to say thanks for the service? Letās those willing/able to contribute something do so, without putting pressure on anyone that doesnāt want to? Might help towards hosting costs if the traffic gets large?