I'm looking for some basic software to manage my portfolio which can handle stocks, fx and CFD's which are purchased on margin. Basically I want to hook this in to my custom trading platform to record trades and determine how much equity I have available to trade any any one time. Is this standard functionality for most of the common trading software available today?