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

Re: [amibroker] FIELDS for fundamental data



PureBytes Links

Trading Reference Links

Hello,

You can import those fields from CSV files using script (JScript/VBScript)

As a starting point you can get the script presented here
http://www.amibroker.com/newsletter/04-2000.html

and just instead of assigning industryid, you can assign value to other stock object properties.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Graham" <kavemanperth@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, April 16, 2005 11:39 AM
Subject: Re: [amibroker] FIELDS for fundamental data


> 
> Sorry if this has been discussed but I have not kept up with this objexts stuff.
> Can I use it to read data (eg earnings, shares on issue etc) from CSV files.
> Are there any simple examples me to follow
> 
> On 4/16/05, Tomasz Janeczko <amibroker@xxxxxx> wrote:
>> 
>> Hello,
>> 
>> You should not do this because you will get incorrect backtesting results if you abuse margindeposit / roundlotsize/ ticksize
>> fields.
>> 
>> Instead use OLE interface to store values in fields specifically designed for that:
>> 
>> http://www.amibroker.com/guide/objects.html
>> 
>> See properties of "stock" object.
>> 
>> AB = CreateObject("Broker.Application");
>> 
>> Stock = AB.Stocks( Name() );
>> 
>> Stock.BookValue = 100; //...your value here...
>> Stock.NominalValue = 2; // ...your value...
>> Stock.Alias = "Your Alias"; // ...
>> 
>> ..plenty of other fields are available...
>> 
>> Best regards,
>> Tomasz Janeczko
>> amibroker.com
>> ----- Original Message -----
>> From: "mrmurty" <mrmurty@xxxxxxxxxxx>
>> To: <amibroker@xxxxxxxxxxxxxxx>
>> Sent: Saturday, April 16, 2005 4:07 AM
>> Subject: [amibroker] FIELDS for fundamental data
>> 
>> >
>> >
>> > May be this can help some, who want to store fundamental data in AB
>> >
>> > As there are not enough fields (atleast I donot know), I am using
>> > unused fields, in my case, for data which I frequently refer.
>> >
>> > Moreover I am comfortable with AB Explore for various queries.
>> > Some of the fields, are as follows: they are self explanatory.
>> >
>> > FULLNAME: strtonum(SALES)
>> > ROUNDLOTSIZE: EQUITY
>> > MARGINDEPOSIT: NET PROFIT
>> > TICKSIZE  : BOOK VALUE
>> > MARKETID(): FACEVALUE (We have a max. of 5,6 denominations)
>> >
>> > And with these base data, many derived figures like marketcap,
>> > PE,EPS  etc  can be had. Literally  these can give some basic
>> > features.
>> >
>> > Afterall we have to survive. AB contains only QP support.
>> >
>> > if Any one has any idea of using "POINTVALUE", CODE, WEBID  etc..pl
>> > let me know. Or anyone can have improved and innovative method of
>> > accomplishing the same.
>> >
>> >
>> > rgds
>> > Murty
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > 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
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> 
>> 
>> 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
>> 
>> 
>> 
>> 
>> 
> 
> 
> -- 
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

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

<*> 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/