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

[amibroker] Re: Trade Log for Amibroker and IB



PureBytes Links

Trading Reference Links

Hi Ed 

Ok i tried to understand what you wrote me.
lets assume.
You donwload your daily statements from IB . 
I done it also . I donwload it in word format. Then i open it and 
copy the data in a textfile.
This is what i get. (from my papertrading account).
The data looks like yours only with some Taps.
I thing until no its ok ...

F	2007-06-06, 13:45:24	NYSE	-1,000	8.2500	8,250.00	-5.00	6,108.2175
-3.70195	0.00	
F	2007-06-06, 09:30:18	NYSE	1,000	8.2700	-8,270.00	-5.00
-6,123.0253	-3.70195	0.00	


Now the proplems start.
You say then i could read this with amibroker ( ok i need a software
for this and i hope you will help me ) .
So when i do all this steps what you telling me i will get something 
like a chart in AB what shows me the performance of my trades ..?


I do not have understand how you read this textfile into Amibroker...
Do you mean you Import it ...(import wizard import ascii)
But there you could only import quotes !?

and also this part with the static variables i dont understand.
maybe it would be more clear when i understand how you read this in AB.

But ok now im a little bit confused.  i hope you or also the others
cuold help me to solve this.
regards
christos






--- In amibroker@xxxxxxxxxxxxxxx, "Edward Pottasch" <empottasch@xxx>
wrote:
>
> hi,
> 
> I do not have time today and what I have written in AFL is specific
for my system but I can tell what I do.  The trades of the previous
day I receive in the daily statement of IB. I copy and paste these
trades into a text file.
> 
> Then you can read this textfile into Amibroker but you will have to
do some programming. The "trick" I use is for the software to
recognize if the line it reads is a long entry or a short exit etc. is
to save information for each symbol in static variables. For instance
the IB data may look like:
> 
> ABX 2007-05-09, 11:00:00 ISLAND -56 31.2800 1,751.68 -1.00 0.00 P  
> ABX 2007-05-09, 11:00:00 NYSE -100 31.2800 3,128.00 -0.28 0.00 P  
> ABX 2007-05-09, 11:00:00 IDEAL -100 31.2800 3,128.00 0.00 0.00 P  
> ABX 2007-05-11, 11:01:18 NYSE 156 30.1000 -4,695.60 -1.00 0.00 P  
> ABX 2007-05-11, 11:01:18 NYSE 100 30.1000 -3,010.00 -0.28 0.00 P 
> 
> save all relevant information in static variables and check for a
sign() change of the number of shares. If it finds the positions is
closed then the static variables are removed and the relavant
information is stored in Composites at the appropriate date.
> 
> Now it is easy to copy and paste info from IB every day and keep
trach of your trades and all kind of statistics you lie to examine.
Maybe tomorrow I can poste some code.
> 
> rgds, Ed
> 
> 
> 
> 
>   ----- Original Message ----- 
>   From: christos_mav 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Thursday, June 07, 2007 12:19 AM
>   Subject: [amibroker] Trade Log for Amibroker and IB
> 
> 
>   Hi.
>   I want to ask if somebody has a trade log for his account on IB.
>   I want only to see my real trades that i have done at my IB acount in 
>   a n Excel-File.
>   When i buy , how much , Price comissions ( all this in one line).
>   The problem is that the Statement of IB is realy bad.
>   You couls export for example your dayly statement but they give you so
>   much infos that you realy dont need.
>   For me its only important to see very fast ma mistake.
> 
>   There are some softeware what you could buy ( see IB homepage ) .
>   But ok .. only for a trade log --they are to expensive.
>   Therefore i ask if somebody know something else.
> 
>   This would be also a good thing to implement in AB.
>   To press only one button in AB and import for example your dayly
>   trades from IB to AB .
> 
>   regards 
>   Chris
>




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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/