test:__init__: Set the test subsystem a module

Add an empty __init__.py to make test as a module.

Signed-off-by: Guofeng Liu <lgf612@sina.com>
dataMgr:data: rename lowestByDate() and highestByDate().

1) Rename lowestByDate() to lowestBeforeDate().
2) Rename highestByDate() to highestBeforeDate().
3) Modify all references to lowestByDate and highestByDate() because
   of 1) and 2).
4) Add test to Turtle module.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
dataMgr:data: add two new methods.

1) Add lowestUpToDate() and highestUpToDate().
2) Add tests for these two new methods.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
strategy:turtle: add two new methods.

1) Add lowestUpToDate() and highestUpToDate().
2) Add tests for these two new methods.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
dataMgr:importer: add support to drop Futures table.

Add new method dropFutureTable() to allow drop Futures table.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
winfuture: Set up winfuture option parser workflow

1) Set up winfuture option parser workflow.
2) Add option parser for Importer.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
strategy:futures/turtle: add priceUnit attribute.

1) Add priceUnit attribute and Adjust the methods in Futures to help
   statistic profit.
2) Adjust setAttrs() and checkAttrs() because of 1).

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
win: add execute mode for win.py

Add '+x' mode for win.py to make it executable.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
win: add option parser support for regression tests.

1) Add option parser support to do regression tests.
2) Rename importerHandler() to importerOptionsHandler().

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
dataMgr:importerParser: move importer options parser from win.py

Move importer options parser from win.py to achieve easier sustaining.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
regression: rename varible 'futcode' as 'filter'.

'futcode' actually works as a filter, so rename it to match its role.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
dataMgr:importerParser: fix 'r' option not taking effect

Fix 'r' option not taking effect.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
dataMgr:importerParser: add option '-e' and 'depart' mode for '-m'

1) Add new option '-e' to contain extra information used with other
   options if needed.
2) Add 'depart' mode for option '-m' to support depart big table into
   sub Future tables.
3) Fix mistake that do not return when checking failed.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
regression: add option '-e'

Add new option '-e' to contain extra information used with other
options if needed.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>