bpsmith / tia

Toolkit for integration and analysis
BSD 3-Clause "New" or "Revised" License
408 stars 163 forks source link

Example #2

Closed wlblount closed 8 years ago

wlblount commented 9 years ago

sorry to contact you like this but is there any way to directly contact you about getting some general help on this module. Bill

bpsmith commented 9 years ago

Sure what can I help you with?

On Mar 1, 2015, at 9:20 AM, Bill Blount notifications@github.com wrote:

sorry to contact you like this but is there any way to directly contact you about getting some general help on this module. Bill

— Reply to this email directly or view it on GitHub.

ikemblem commented 9 years ago

Hi, thanks for the great library. I saw that you added overrides recently to the bbg requests but I haven't been able to figure out how to use them. Would you mind giving an example if you have a moment?

Vjp33 commented 9 years ago

I'm not sure if this helps you, but this is how I was able to use overrides.

from tia.bbg import LocalTerminal

Data = LocalTerminal.get_historical(tickers, ['BEST_EPS'], start=startdate, end=enddate,BEST_FPERIOD_OVERRIDE='BF',period='MONTHLY').as_frame()

Where I specify tickers, startedate, and enddate earlier on in the code. Let me know if this helps. Note that the code should all be on one line.