Commit Graph

5239 Commits

Author SHA1 Message Date
Yo-An Lin
209ef66037 Merge pull request #119 from c9s/web/assets-cards 2021-02-06 18:26:27 +08:00
Yo-An Lin
a738bffc07 Merge pull request #112 from jnlin/fix/pnl-amount 2021-02-06 18:26:04 +08:00
c9s
5ea2ba62db add max and twd logos 2021-02-06 17:54:57 +08:00
c9s
a09e97d75c add rounding 2021-02-06 17:48:19 +08:00
Yo-An Lin
b81eb33cad Merge pull request #117 from c9s/wizard/sqlite3
add sqlite3 driver option to the wizard user interface
2021-02-06 17:41:45 +08:00
c9s
d4ef9e4b6d refactor asset layout and add asset icons 2021-02-06 17:40:54 +08:00
c9s
abb1bc7a28 use fake asset data for the asset query 2021-02-06 17:40:54 +08:00
Jui-Nan Lin
b38b65ce83 fix(pnl): do not calculate the "self" trade 2021-02-06 17:34:13 +08:00
Jui-Nan Lin
30f085fa91 fix(max): IsBuyer should check side "buy" and "bid" 2021-02-06 17:30:18 +08:00
Jui-Nan Lin
7e1825d991 Merge branch 'main' into fix/pnl-amount 2021-02-06 17:22:43 +08:00
c9s
d0c967af55 use fake asset data for the asset query 2021-02-06 16:38:00 +08:00
c9s
8e0778a095 fix trading volume query for sqlite3 2021-02-06 16:05:21 +08:00
Yo-An Lin
597dd21865 Merge pull request #116 from c9s/feature/sqlite3
convert time struct for sqlite driver
2021-02-06 15:05:49 +08:00
c9s
b12b882891 README.md: update readme for the dotenv options 2021-02-06 15:05:25 +08:00
c9s
62145d02f3 move dotenv loading to the root command 2021-02-06 15:03:07 +08:00
c9s
6147ec3246 add sqlite3 driver selection ui 2021-02-06 14:55:15 +08:00
c9s
855378e098 add driver field to the setup db route 2021-02-06 14:31:46 +08:00
c9s
26f9e5488d apply datatype.Time to order time fields 2021-02-06 14:30:00 +08:00
c9s
20e6e4c299 add MarshalJSON and UnmarshalJSON to datatype.Time 2021-02-06 14:25:38 +08:00
c9s
ea58a3b092 README.md: update readme for community and contributions 2021-02-06 12:40:48 +08:00
c9s
3abdb3dd7b convert time struct for sqlite driver 2021-02-06 12:32:21 +08:00
Yo-An Lin
5a5e64cc8d Merge pull request #111 from c9s/feature/sqlite3
add sqlite3 migration support
2021-02-06 11:52:03 +08:00
c9s
32117af4b0 service: remove the ignore keyword to make the sql compatible with sqlite3 2021-02-06 11:44:49 +08:00
c9s
0b657d59f9 make inBaseAsset as private method 2021-02-06 11:34:53 +08:00
c9s
dd9dbee903 refactor database configuration with env vars 2021-02-06 11:33:49 +08:00
c9s
51d399a49d upgrade rockhopper 2021-02-06 11:22:04 +08:00
c9s
99b56003eb clean up legacy db connection handling with the new database service 2021-02-06 11:22:04 +08:00
c9s
276b6c1e48 drop the legacy upgradeDB 2021-02-06 11:22:04 +08:00
c9s
ecf94cdeea .travis.yml: test make migrations 2021-02-06 11:22:04 +08:00
c9s
63a8c00a4c fix makefile 2021-02-06 11:22:04 +08:00
c9s
c7440a3ea4 compile and update migration package 2021-02-06 11:22:04 +08:00
c9s
32f74d8f6f move mysql migrations to migrations/mysql 2021-02-06 11:22:04 +08:00
c9s
786757a686 migrations/sqlite3: fix sqlite3 alter syntax 2021-02-06 11:22:04 +08:00
c9s
de51eb29e4 refactor db stuff with database service 2021-02-06 11:22:04 +08:00
c9s
94dc291580 .travis.yml: create bbgo mysql database 2021-02-06 11:22:04 +08:00
c9s
6d756d2409 .travis.yml: add mysql to travis 2021-02-06 11:22:04 +08:00
c9s
2691d06f5f add rockhopper config for mysql 2021-02-06 11:22:04 +08:00
c9s
256fce484c add default 0 to not null field 2021-02-06 11:22:04 +08:00
c9s
483f6270f4 .travis.yml: add install section 2021-02-06 11:22:04 +08:00
YC
8d6279655f Merge pull request #113 from c9s/minor/move-response-to-util 2021-02-06 06:40:46 +08:00
ycdesu
06eacf70a2 util: test Response struct 2021-02-05 22:38:45 +08:00
ycdesu
f44d6a323a http: move response helper to util 2021-02-05 22:31:40 +08:00
Yo-An Lin
8c72e2290e Merge pull request #110 from jnlin/options_orderlimit 2021-02-05 19:30:41 +08:00
Jui-Nan Lin
c9f3b6fc1a fix(pnl): checking the side of trade, not taker or maker 2021-02-05 14:52:38 +08:00
Jui-Nan Lin
b6da7ee2f2 fix(pnl): should be trades 2021-02-05 14:49:42 +08:00
c9s
01ea0885dc scripts: use force flag to remove bbgo.sqlite3 2021-02-05 14:33:12 +08:00
c9s
ccb1708fd9 add script for testing sqlite3 migration 2021-02-05 14:20:07 +08:00
c9s
16b7944b92 add rockhopper config for sqlite3 2021-02-05 14:15:44 +08:00
c9s
007b679768 add sqlite3 migrations 2021-02-05 14:15:28 +08:00
c9s
8cb77075d0 .travis.yml: get rockhopper before we test 2021-02-05 13:26:41 +08:00