Module Import alias ImportFrom alias identifier Import alias identifier Import alias Import alias identifier Import alias identifier Import alias identifier Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Print BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword Str If NameLoad body Print BinOpAdd NameLoad Str For NameStore NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index CompareGtE SubscriptLoad NameLoad Index NameLoad Num AttributeLoad NameLoad attr For NameStore Call NameLoad Num Call NameLoad SubscriptLoad NameLoad Index NameLoad body If BoolOpAnd Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub NameLoad Num CompareLt SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Num body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Num Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index CompareLt SubscriptLoad NameLoad Index NameLoad Num AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A pandas qstkutil DataAccess da N/A numpy np N/A math N/A qstkutil.qsdateutil du N/A datetime dt N/A qstkutil.DataAccess da N/A 
Accepts a list of symbols along with start and end date
Returns the Event Matrix which is a pandas Datamatrix
Event matrix has the following structure :
    |IBM |GOOG|XOM |MSFT| GS | JP |
(d1)|nan |nan | 1  |nan |nan | 1  |
(d2)|nan | 1  |nan |nan |nan |nan |
(d3)| 1  |nan | 1  |nan | 1  |nan |
(d4)|nan |  1 |nan | 1  |nan |nan |
...................................
...................................
Also, d1 = start date
nan = no information about any event.
1 = status bit(positively confirms the event occurence)
 N/A storename Yahoo N/A closefield close N/A volumefield volume N/A window 10 findEvents N/A N/A symbols startday endday verbose N/A False N/A N/A timeofday N/A N/A dt timedelta hours 16 N/A timestamps N/A N/A du getNYSEdays startday endday timeofday N/A dataobj N/A N/A da DataAccess Yahoo N/A verbose N/A N/A N/A __name__  reading data N/A close N/A N/A dataobj get_data timestamps symbols closefield N/A close N/A N/A N/A N/A close fillna fillna method backfill N/A verbose N/A N/A N/A __name__  finding events N/A symbol symbols N/A N/A N/A N/A close N/A symbol N/A N/A N/A close N/A symbol 1.0 N/A np NAN N/A i N/A range 1 N/A len N/A close N/A symbol N/A N/A N/A N/A N/A np isnan N/A N/A close N/A symbol N/A N/A i 1 N/A N/A N/A close N/A symbol N/A i 1.0 N/A N/A N/A N/A close N/A symbol N/A i 1.0 N/A N/A N/A close N/A symbol N/A N/A N/A close N/A symbol 1.0 N/A np NAN N/A close N/A