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

[amibroker] Re: Filter stocks by market cap



PureBytes Links

Trading Reference Links

Hello,

And when you have new AmiBroker 4.90 you can use built-in fundamental data support http://www.amibroker.com/guide/h_fundamental.html

To get number of shares outstanding you can use GetFnData("SharesOut")
then multiply by closing price to get capitalization (as in Edward's example).

Capitalization = GetFnData("SharesOut")*Close;

Best regards,
Tomasz Janeczko
amibroker.com

--- In amibroker@xxxxxxxxxxxxxxx, "Edward Pottasch" <empottasch@xxx> wrote:
>
> if you have Quotes Plus you can use: GetExtraData( "Shares") and multiply with the last price.
> 
> sometime like:
> 
> Filter = GetExtraData( "Shares")  * C > 500000000;
> AddColumn( GetExtraData( "Shares")  * C, "Market Cap", 1.2 );
> 
> and run explore
> 
> 
> 
>   ----- Original Message ----- 
>   From: Tony Lei 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Wednesday, February 14, 2007 12:34 AM
>   Subject: [amibroker] Filter stocks by market cap
> 
> 
>   Hi all,
> 
>   Does anyone know how to filter stocks by market capitalization in AB?
> 
>   market capitalization > 500,000,000
> 
>   thanks
> 
>   qi
>



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.17.37/682 - Release Date: 2/12/2007 1:23 PM