Monday, July 13, 2020 4:09:19 PM
I'm sure most of you use stock trading platforms. I do not besides my brokerage account. Anyways, I wrote a quick script in javascript/html for calculating what my average cost would be if i purchased at different quantity increments vs different costs. It's fairly convenient.
Here is a link. You just need to copy all the code, paste it into a text editor like notepad and save it as a .html file and then open it locally in your web browser.
If you want your base price and brokerage fee to always be the same when you open it, you just need to edit the first few lines where those values are set.
https://pastebin.com/M12VCCzd
Here's the lines to edit if you wanted.
Avant Technologies Equipping AI-Managed Data Center with High Performance Computing Systems • AVAI • May 10, 2024 8:00 AM
VAYK Discloses Strategic Conversation on Potential Acquisition of $4 Million Home Service Business • VAYK • May 9, 2024 9:00 AM
Bantec's Howco Awarded $4.19 Million Dollar U.S. Department of Defense Contract • BANT • May 8, 2024 10:00 AM
Element79 Gold Corp Successfully Closes Maverick Springs Option Agreement • ELEM • May 8, 2024 9:05 AM
Kona Gold Beverages, Inc. Achieves April Revenues Exceeding $586,000 • KGKG • May 8, 2024 8:30 AM
Epazz plans to spin off Galaxy Batteries Inc. • EPAZ • May 8, 2024 7:05 AM