[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Value of all open positions - HELP needed


  • Date: Fri, 27 Nov 2009 22:30:32 +0100
  • From: "Markus Witzler" <funnybiz@xxxxxx>
  • Subject: [amibroker] Value of all open positions - HELP needed

PureBytes Links

Trading Reference Links



Hello,
 
I´ve tried everything. But I can´t figure out how the code would be for computing the value of all open positions for a given day in custom backtester (low level).
 
I figured value_all_open_pos [i]= value_all_open_pos[i] + trade.shares * trade.getprice (i, "C") but apprently it´s not??!!
 
If there is anybody out there being proficient in CBT and who cares to help me, let me know.
 
Thanks
 
Markus


__________ Information from ESET Smart Security, version of virus signature database 4643 (20091127) __________

The message was checked by ESET Smart Security.

http://www.eset.com


__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___