Jump to content
Sign in to follow this  
Vincent

ClientAccountMargin stream - ClientAccountMarginDTO

Recommended Posts

Hi,

 

Regarding ClientAccountMargin stream:

http://docs.labs.cityindex.com/#Streaming%20Data/ClientAccountMargin.htm%3FTocPath%3DCIAPI%2520Reference|Streaming%2520Data|_____1

 

It will push back "ClientAccountMarginDTO" when there is an update.

http://docs.labs.cityindex.com/#Data%20Types/ClientAccountMarginDTO.htm

 

And "ClientAccountMarginDTO" have some properties I am not sure if they are duplicates or different data.

 

1. "Margin" and "TotalMarginRequirement"

-The data return by these two properties seem to be the same. If I want the information of the amount of cash held as deposit for all open positions, which one do I use?

 

2. "TradeableFunds" and "TradingResource"

-These two also seem to be the same.

 

Thanks.

Share this post


Link to post

Hi Vincent,


 


1) Margin and TotalMarginRequirement values should now be the same for all users. There are two properties for legacy reasons. 


 


In the past, we used to offer credit lines and waived margin requirements to some users, and this is the case when the two values would differ. Since we no longer offer those facilities (except maybe professional clients?) the two values are the same. 


 


To be on the safe side, use the TotalMarginRequirement property.


 


2) The same reason explains why we have TradeableFunds (TF) and TradingResources (TR). For all users, TF = TR now. They only differed in the past when clients had waived margin. 


 


Again, use the TR property to be on the safe side. 


Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×