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

Re: [amibroker] ibcontroller: GetAccountValue() Demo



PureBytes Links

Trading Reference Links

Thanks Herman ....
 
I think I found my error ... I was using

GetAccountValue("BuyingPower");  while I should be using

ibc.GetAccountValue("BuyingPower");

However, now I get COM Object variable no initialized ( Iassume they are not related) ... so I got to solve this one now.

Ara

----- Original Message -----
Sent: Monday, January 09, 2006 12:42 AM
Subject: [amibroker] ibcontroller: GetAccountValue() Demo

They seem to work fine for me Ara. I snipped/attach some code i used to get to know the GetAccountValue().
 
herman
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf Of Ara Kaloustian
Sent: Sunday, January 08, 2006 11:59 PM
To: AB-Main
Subject: [amibroker] ibcontroller

2 items:
 
1. Getting Syntax errors with GetAccountValue function:
GetAccountValue("BuyingPower");

GetAccountValue("RealizedPnL");

GetAccountValue("UnrealizedPnL");

GetAccountValue("AvailableFunds");

GetAccountValue("TotalCashBalance");

The function does not turn blue, as other AFL functions do. Get syntax error

same for

GetPendingList(1);

 

IBController / TWS Connection is established

 

TIA

Ara

 

2. What is the difference between :

AvailableFunds

AvailableFunds-S

AvailableFunds-C



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





YAHOO! GROUPS LINKS