Topic: Get Margin Values
(2 messages, Page 1 of 1)
Joined: Jan 24, 2022
Hello good day
We are currently working with GF API and C#
We want to get the margin values of some futures symbols, but at the moment what we receive does not match what the calculator gives us.
We carry out the following process:
* gateway initialization
* OnSymbolLookupReceived event trigger
* margin request with RequestMarginCalculation
* Triggering the OnMarginCalculationCompleted event and reading the MarginCalculationResult.
and for each symbol, with a Qty:1 we get the following:
Could you guide us about this deviation of values?
Thanks in advance
Joined: Aug 24, 2017
The difference between the Trader calculation and yours is that you have added a HypoOrder, where Trader had none.