Module Expr Str Import alias identifier Import alias Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print NameLoad Print Call AttributeLoad NameLoad attr Print Call AttributeLoad NameLoad attr Print Call AttributeLoad NameLoad attr Dict Str Call AttributeLoad NameLoad attr Num Num Num Num Num Num ImportFrom alias Print Call AttributeLoad NameLoad attr Dict Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Dict Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num Num Num Num Num Dict Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Num Num Num Num Num Num Num Num Num Num Num Print Call AttributeLoad NameLoad attr Print Call AttributeLoad Call AttributeLoad NameLoad attr Dict Str Num attr For NameStore Call AttributeLoad NameLoad attr body Print NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Num Num Num For NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Dict Str Dict Str NameLoad attr Str body Print NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad NameLoad attr For NameStore NameLoad body Print NameLoad
N/A N/A 
README
======
This file contains Python codes.
======
 N/A datetime dt N/A pymongo N/A client N/A N/A pymongo MongoClient localhost 27017 N/A ticks_db N/A client ticks_db N/A aapl_collection N/A ticks_db aapl N/A tick N/A ticker time open high low last vol aapl N/A N/A dt datetime 2014 11 17 10 0 0 115.58 116.08 114.49 114.96 1900000 N/A tick_id N/A N/A aapl_collection insert tick N/A tick_id N/A N/A N/A ticks_db collection_names N/A N/A N/A aapl_collection find_one N/A N/A N/A aapl_collection find_one N/A time N/A N/A dt datetime 2014 11 17 10 0 0 bson.objectid ObjectId N/A N/A N/A aapl_collection find_one N/A _id N/A ObjectId 548490486d3ba7178b6c36ba N/A N/A N/A aapl_collection remove N/A N/A N/A aapl_collection insert N/A tick N/A ticker time open high low last vol aapl N/A N/A dt datetime 2014 11 17 10 1 0 115.58 116.08 114.49 115.0 2000000 N/A ticker time open high low last vol aapl N/A N/A dt datetime 2014 11 17 10 2 0 115.58 116.08 113.49 115.0 2100000 N/A N/A N/A aapl_collection count N/A N/A N/A N/A N/A aapl_collection find N/A open 115.58 count N/A aapl_tick N/A N/A aapl_collection find N/A N/A aapl_tick N/A cutoff_time N/A N/A dt datetime 2014 11 17 10 2 0 N/A tick N/A N/A N/A N/A aapl_collection find N/A time N/A $lt cutoff_time sort time N/A N/A tick N/A sorted_ticks N/A N/A N/A N/A aapl_collection find sort N/A N/A time N/A pymongo DESCENDING N/A tick sorted_ticks N/A N/A tick