Dear existing and potential DAS customers,
    We have provided this forum so that you can share your knowlege of DAS with others in this community. We will continue to improve this forum in order to serve this purpose and make DAS your best tool of trading!
User:Password:Sign up:
By When Posted Topics
By: Andrew
On:2010-03-11 14:33:11
Subject: How is the avgcost calculated?
for your long position, suppose you have M shares, average cost is a0

1) if you buy N more shares at an average cost of a1, your new average cost
is ( M x a0 + N x a1 ) /(M + N)


2) if you sell off N shares at a3 per share, and suppose N
3) if you sell off N shares at a3 per share and suppose N>M, your position will become a short position
your new average cost will be a3