Maybe check out Monster Train. That one also landed on Arcade pretty recently.
evujumenuk
This is so, so phenomenally inappropriate, that it's frankly impressive.
Without starting to calculate, or looking at the code, I'd say it's obvious that an investment strategy where all of a month's contributions are made on the first day of the month will be superior to one where you spread them out. Also, an investment strategy of making the month's contributions on the last day will be inferior to spreading them.
So it'd really depend on how you time your monthly investments. If you can invest as soon as you get your monthly income, that's probably the most beneficial way to do it.
edit — Taking a quick look at your code, that's exactly what's happening. In each period, ChatGPT invests first, then lets interest accrue, whereas you let interest accrue, then invest.
I don't think anyone who has actually played the Famicom original can realistically dispute that BotW is a far better implementation of the fundamental concepts of Zelda than all the games that came after it up until BotW entered the chat. I like LttP and OoT as much as the next guy, but let's not kid ourselves, BotW is the only successor to OG Zelda.