- ago
Hello!
I have 2 question, could you help:
1. Broker adapter function public virtual double GetAccountEquity(string acct), should it return free money only or it also includes papers in portfolio?
2. Streaming data provider function public void UpdateTick(string symbol, DateTime dt, double price, double size, double prevClose), last parameter prevClose - what should i return there if i'm not going to support that?

thanks

PS: Are you going add full functional forum? Current "discussions" with all messages in single section is not ver convenient to be useful.
Also there is strange behaviour on site: right mouse click on link doesn't allow open in new page or new tab. You can try button Next under list of discussions.
0
903
3 Replies

Reply

Bookmark

Sort
- ago
#1
Equity assumes the current account balance. "Free money" is cash. So GetAccountEquity should include the total balance value.

P.S. The Discussions are fully functional. Later on we may add viewing topics by tags. "Next" is a Javascript button, it's not subject to be open in a new tab.
0
- ago
#2
Thanks for answered question 1. Should i make new message for question 2 or just can wait answer here?
0
- ago
#3
You're welcome. To keep the forum searchable I'd appreciate if you start a new topic for question #2.
0

Reply

Bookmark

Sort