Author |
Topic: Get Margin Values (2 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
JKovalcin926 Posts: 9 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: https://postimg.cc/nXLVkQHt https://postimg.cc/K1sGsvz3 Could you guide us about this deviation of values? Thanks in advance |
||||
SRuscak Posts: 50 Joined: Aug 24, 2017 |
Hello,
The difference between the Trader calculation and yours is that you have added a HypoOrder, where Trader had none. |
||||