There's your answer for how to do financial calculations with ChatGPT. Likely still take some back and forth at this stage. You may also try Visual Studio with Github Copilot. You could alternatively try Matlab, R, C , or Excel-type code