PDA

View Full Version : Simulating a function 1000 times for a given integer (easy)



Levus
04-29-2024, 02:34 AM
I have written a code that makes the table almost, the only problem with it is that whenever there is a margin call or margin release, the deposit doesn't change by the value of the margin call/release (margin call needs to be added to the deposit, margin release needs to be taken away).

I can't move forward;

I need to simulate 1000 times the profit rate for every liquidity buffer (0%-100%) and make the liquidity profit rate table

arnelgp
04-30-2024, 05:47 PM
add Volatile property to your function so it will recalculate, everytime you change anything:


Function egesz(S0, alfa, szigma, N, yf, DB, IMR, MMR)
Application.Volatile
... ' rest of code
...