calculating risk position
Created at 09 Sep 2020, 17:32
calculating risk position
09 Sep 2020, 17:32
Hi,
I can calculate the risk of my position with just the volume and account balance, but the volume is in USD and account is GBP, there is a BaseToUsdConversionRate but it is at 1 when an order execution event comes through, it should be at 1.29 today.
Thanks
Replies
PanagiotisCharalampous
10 Sep 2020, 10:13
Hi Ketu,
You can use ProtoOASymbolsForConversionReq to get a conversion chain and convert from one symbol to another.
Best Regards,
Panagiotis
@PanagiotisCharalampous
Ketu
10 Sep 2020, 09:36
RE:
Ketu said:
I've realised the base conversion is just for the symbol, is there an easy way to convert the balance or do i need to send a request for it?.
@Ketu