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

Re: [amibroker] Re: How to use Yahoo fundamental data ?



PureBytes Links

Trading Reference Links

Song,
The only data available on "Insider Transactions" is Insider Hold Percent.
You can call it with the function GetFnData(InsiderHoldPercent). A piece of
sample code follows"
 
Filter=C > 0;
Inside=GetFnData(InsiderHoldPercent);
AddColumn(Inside,;"Insider Percent", 1.2);
 
When you run this exploration it will give you the Insider Percent for any
stock in your database that has Insider Holdings in Yahoo's Data.
 
Hope this Helps,
Don
 
-------Original Message-------
 
From: drsquar
Date: 12/11/2006 3:59:09 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: How to use Yahoo fundamental data ?
 
Hi, Dear Don
Thanks for the example. But I am new to amiquote/amibroker. How do 
pull out symbols based on "insider transactions" from Yahoo finance 
by using amiqoute and amibroker exploration. Please explain step by 
step. Thanks again.
Song

--- In amibroker@xxxxxxxxxxxxxxx, "Don Lindberg" <dlindber@xxx> 
wrote:
>
> 
> There is a different call for the extra Fundamental Data. Take a 
look at my
> code below, and I think you will see how it works.
> 
> Enjoy,
> Don Lindberg 
> // This is a sample Exploration using the Fundamental Data 
collected by
> AmiBroker written by Don Lindberg 08-16-2006
> // Exploration is run against all symbols and all quotations (the 
Status(
> lastbarintest") setting limits to current date. 
> // I have also include some caluculation on Shares Short at bottom, 
just
> uncomment to use.
> // I did this to show that even a programming dummy can great a 
useful
> Exploration.
> EPS = GetFnData ("EPS");
> EPSEstCurrent = GetFnData("EPSEstCurrentYear") ;
> EPSEstNext = GetFnData ("EPSEstNextYear" );
> PEGRatio = GetFnData("PEGRatio");
> SharesOut = GetFnData("SharesOut");
> SharesShort = GetFnData("SharesShort");
> SharesShortPrev = GetFnData("SharesShortPrevMonth");
> SharesShortChg= SharesShortPrev -SharesShort ;
> BookValue = GetFnData("BookValuePerShare");
> ReturnOnEquity = GetFnData("ReturnOnEquity");
> GrossProfit = GetFnData("GrossProfitPerShare");
> ProfitMargin = GetFnData("ProfitMargin");
> OneYrTarget = GetFnData("OneYearTargetPrice");
> PE = Close / EPS;
> UpSidePotential = 100 * ((EPSEstNext / EPS)-1);
> ESPEstChange =EPSEstNext -EPSEstCurrent;
> InstitutionPercent = GetFnData ("InstitutionHoldPercent");
> Filter = Close <= 50 AND Close <= OneYrTarget AND UpSidePotential > 
1 
> AND ReturnOnEquity > 1 AND GrossProfit > 1 AND ProfitMargin > 1
> AND ESPEstChange > 1 AND Status("lastbarintest");
> AddColumn (Close, "Close", 1.3);
> AddColumn (InstitutionPercent, "InstitutionPercent", 1.2);
> AddColumn (PE, "CalculatedPE", 1.2);
> AddColumn (OneYrTarget, "OneYrTarget", 1.2);
> AddColumn (UpSidePotential, "UpSidePotential", 1.2);
> AddColumn (BookValue, "BookValue",1.2);
> AddColumn (ReturnOnEquity,"ReturnOnEquity",1.2);
> AddColumn (GrossProfit, "GrossProfitPerShare",1.2);
> AddColumn (ProfitMargin, "ProfitMargin",1.2);
> AddColumn (EPS, "EPSCurrent", 1.2);
> AddColumn (ESPEstChange, "ESPEstChange", 1.2);
> //AddColumn (SharesShort, "SharesShort", 1);
> //AddColumn (SharesShortPrev, "SharesShortPrev", 1);
> //AddColumn (SharesShortChg, "SharesShortChg", 1);
> -------Original Message-------
> 
> From: jnz88
> Date: 12/01/06 15:40:26
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] How to use Yahoo fundamental data ?
> 
> New Amiquote can download all Yahoo fundamental data
> But how to use them in AFL?
> GetExtraData() seems only to work for QP plugin
>


 
 


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006 3:41 PM