Um den Chat zu nutzen, melden Sie sich bitte an.

# Calculate true percentage profit

Feb 08 at 08:39
244 Angesehen
3 Replies
Mitglied seit Jun 21, 2019   7 Posts
Feb 08 at 08:39
Hello,

Is there a way to calculate the true daily percentage profit by excluding the new deposits/withdraw on the account ?

Actually the API return the daily gain in dollars, not in percentage.

I can calculate it using balance amount.

But balance amount is falsified by new deposit/witdrawals made in the day.

Do you have a solution ?

Thanks
Mitglied seit Sep 20, 2022   21 Posts
Feb 20 at 11:10
Yes, there is a way to calculate the true daily percentage profit by excluding new deposits/withdrawals on the account. Here is a simple formula you can use:

True Daily Percentage Profit = (Net Profit / (Previous Day's Equity - Deposits + Withdrawals)) * 100

In this formula, 'Net Profit' is the amount of profit made on the account during the day, 'Previous Day's Equity' is the equity of the account at the end of the previous day, 'Deposits' is the amount of new deposits made to the account during the day, and 'Withdrawals' is the amount of withdrawals made from the account during the day.

Note that this formula assumes that the only changes to the account balance during the day were due to trading activity, and that any other changes (such as fees or interest payments) are negligible. If there were significant other changes to the account balance during the day, you may need to adjust the formula accordingly.
Mitglied seit Jun 21, 2019   7 Posts
Feb 21 at 13:33 