Change code page source

change source from yahoo to http://mops.twse.com.tw/
Refactor parseHandler

define basic error exceptions to handle exceptions
also add test case
Complete parse stock and gt code

all parsed investment targets are added into investmentmanager
Add certificated stock parser

add certstock parser and rename the testcase
Add db connection

add maria db connection & its test
Add stock history parser (not completed)

Add stock history parser,

My design is : query table stockHistory to get the lastest update date,
then determin how many days of history need update.

Also make some refactoring
Add gt stock history parser

add gt stock history parser and test
Add migration function

The db will change from mariadb to mongodb

the migration process need refine again,

now will cost too much memory
Add mongodb connector

add mongodb connector, also refactoring the parser
Migration 1/2 complete

Stock history migration 2/3, gt history 0/3
Rewrite migration

use python to migrate the data

remember to install pymongo
Complete migration process

type grunt migration to start migration process
Implement update history

write daily update in grunt temporary
Add scheduler

use scheduler to update history

also support forceUpdate in grunt
Complete stock & gt code update

include newly add, remove from stocks then add to skipStocks,
rename exists stocks
Refactoring updateStatus

Refactoring updateStatus, refine historyUpdater

Need complete the stock & gt history update process
Refactoring parser

modulize the parser(not pass testing yet)
Refactoring & implement history update

Refactoring the parser, also update the test case

Write the commenct how to determine the update date
Complete update date process

1. add offDays to decide the date if weekend or holiday
2. complete the getUpdateDate process
3. complete the getTheLostDates process (need refine the return value's
structure)
4. fix remove & rename count bug (the finish condition should be count ==
list.length not list.length-1)
Complete history update

max deal price not complete yet