Commit Graph

1420 Commits

Author SHA1 Message Date
c9s
5f759780c3 remove unused since flag 2021-02-16 17:10:48 +08:00
c9s
3867fdde91 add stringer interface to Position 2021-02-16 16:40:11 +08:00
c9s
bc3754d989 check if limit is set 2021-02-16 16:39:56 +08:00
c9s
02512805f8 set default query trade limit to 1000 for max 2021-02-16 16:32:48 +08:00
c9s
e3d3eacb78 fix trade service injection 2021-02-16 16:30:01 +08:00
c9s
8ae4cab550 inject TradeService field if we found it 2021-02-16 16:14:49 +08:00
c9s
c75eb6b5ba pull out Persistence injection to the common injection 2021-02-16 16:13:52 +08:00
c9s
5c1630f000 refactor strategy executor 2021-02-16 16:12:00 +08:00
c9s
bf0ba89aee convert StrategyID field to NullString 2021-02-16 16:00:14 +08:00
c9s
fc4419b49b refactor injection 2021-02-16 15:58:21 +08:00
c9s
1c2646b0af add Test_injectField 2021-02-16 15:49:57 +08:00
c9s
67a3c49081 add more trade service tests 2021-02-16 15:34:01 +08:00
c9s
ebe065332c allocate sqlx db from rockhopper db 2021-02-15 21:07:55 +08:00
c9s
c219dc7be0 add test code for testing migration scripts 2021-02-15 21:04:44 +08:00
c9s
3d47b3f34d update trade fields for pnl and strategy id 2021-02-15 20:55:14 +08:00
c9s
786f37e675 add MarkStrategyID for marking trade with the source strategy 2021-02-15 20:53:19 +08:00
c9s
f3d65b1281 add UpdatePnL method for updating trade pnl field 2021-02-15 20:51:34 +08:00
c9s
777d673b14 add script for testing mysql migrations 2021-02-15 20:45:32 +08:00
c9s
7d243e6026 add strategy column 2021-02-15 20:35:27 +08:00
c9s
dad5738f0b update readme for adding new migration 2021-02-15 20:30:53 +08:00
c9s
a758d78763 add embed tool 2021-02-15 20:28:03 +08:00
c9s
9f20f4cd1a add logo to the frontend metadata 2021-02-15 16:54:29 +08:00
c9s
d1fdd044c5 add snt logo 2021-02-15 16:53:12 +08:00
c9s
44aab8566d add yfi logo 2021-02-15 16:52:14 +08:00
c9s
b4475028ab add grt logo 2021-02-15 16:51:21 +08:00
c9s
5d987ef5a7 Makefile: fix target name 2021-02-15 16:46:55 +08:00
c9s
303b2b6f76 do not add assets.go into git 2021-02-15 16:28:59 +08:00
c9s
afe4102fe1 add slim targets 2021-02-15 16:27:38 +08:00
c9s
4494316152 add slim target 2021-02-15 16:25:49 +08:00
c9s
8224447985 fix build tags 2021-02-15 16:21:47 +08:00
c9s
1e3de95be4 fix makefile target rule 2021-02-15 02:16:00 +08:00
c9s
0782fda8c5 fix makefile target for static files 2021-02-15 02:13:47 +08:00
c9s
2c12ebcb9b add desktop/build-osx-info-plist.sh 2021-02-15 01:57:46 +08:00
c9s
93bdb6c3eb improve desktop build targets 2021-02-15 01:57:46 +08:00
c9s
0c9ca851e5 improve support strategy 2021-02-15 01:26:46 +08:00
c9s
bea750ca97 make margin order side effect json unmarshallable 2021-02-15 01:26:23 +08:00
c9s
f8378957ee add more checks for bollgrid
related to #93
2021-02-13 16:03:31 +08:00
Yo-An Lin
de195b3c17 Merge pull request #130 from Larry850806/fix/bollgrid 2021-02-11 15:38:50 +08:00
Larry850806
ca31179b40 Fix balance calculation 2021-02-11 14:48:13 +08:00
c9s
f7ef91b55c binance: set the default ping handler 2021-02-11 08:13:50 +08:00
c9s
4a0bd45301 remove order test code 2021-02-11 00:30:37 +08:00
c9s
ffa001fc29 fix quantity format 2021-02-11 00:21:56 +08:00
c9s
88411a134b add supportAndTargets strategy 2021-02-11 00:21:06 +08:00
c9s
4b66deec3d subscribe RepostInterval as well
might be related to issue #93
2021-02-10 22:45:23 +08:00
c9s
061312771c fix float formatting 2021-02-10 22:41:42 +08:00
c9s
57435419b4 add marketData label 2021-02-10 22:40:36 +08:00
Yo-An Lin
68e9da15da Merge pull request #129 from Larry850806/fix/bollgrid 2021-02-10 18:25:36 +08:00
Larry850806
9f6d9028fa Use fixedpoint type to calculate the balance 2021-02-10 16:01:11 +08:00
Larry850806
6d399647cf Remove unused functions 2021-02-10 11:37:37 +08:00
Larry850806
11a176145e Refactor placeGridOrders into three functions 2021-02-10 11:37:33 +08:00