CFD Calculator for leverage change

@obrienciaran, @RIchard.W and I have been doing intensive testing on the calculator.

We believe that the “Margin after leverage change if no action taken” figure is accurate, but we’ve noticed a few circumstances where the “Result” (the funds that need to be added to reach the “desired margin”) doesn’t match our expected output.

@Richard.W has created an alternative website:

Alternative Calculator

Assumptions. This calculator of the account margin % indicator is based on what has been written by @David in this post.

  1. Over 50% → [Total funds / (Total Funds + Blocked funds)] x 100%
  2. Under 50% → (Total funds / Blocked funds) x 50%

We assume that the requirement for blocked funds increases by a factor of 5/2.

He has developed this calculator independently, without any knowledge of the logic used in the other calculator.

CAN EVERYBODY ENTER THEIR DATA INTO BOTH CALCULATORS PLEASE. If the results match then that’s a good sign. If they don’t, can you post your ACCOUNT VALUE, BLOCKED FUNDS and DESIRED PERCENTAGE figures please? If you’d prefer not to make the public, please send a message directly to me.

If you just type 200, 100, 50%, I’ll know that means:

ACCOUNT VALUE: 200
BLOCKED FUNDS: 100
TARGET MARGIN: 50%