Skip to content

Commit

Permalink
tests/test_fecon235.py: for groupget and groupgeoret
Browse files Browse the repository at this point in the history
Also tests NEW style for georet output which now
includes sample size, start and end dates.
  • Loading branch information
rsvp committed Jan 9, 2016
1 parent 84c15c2 commit 89f9e69
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/test_fecon235.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,18 @@ def demo_FORECAST_m4xau_from_FRED_vSlow():



def demo_groupgeoret_test_georet_Geometric_Mean_vSlow():
'''Test groupget, followed by groupgeoret which depends on georet.
First create a group dictionary, then retrieve...
>>> fxdic = { 'EURUSD' : d4eurusd, 'USDJPY' : d4usdjpy }
>>> fxdf = groupget( fxdic )
>>> groupgeoret( fxdf['2010':'2015'], 256 )
[[4.19, 4.63, 9.3, 256, 1565, '2010-01-01', '2015-12-31', 'USDJPY'], [-4.54, -4.08, 9.64, 256, 1565, '2010-01-01', '2015-12-31', 'EURUSD']]
'''
pass



if __name__ == "__main__":
system.endmodule()

0 comments on commit 89f9e69

Please sign in to comment.