Commit Graph

1667 Commits

Author SHA1 Message Date
c9s
21b092037e refactor notification configuration 2021-02-21 16:52:47 +08:00
c9s
fa4e813729 resolve cyclic imports 2021-02-21 01:01:39 +08:00
c9s
6845db6dd3 refactor database configure method 2021-02-21 00:58:34 +08:00
c9s
1763fb8904 improve the warning message 2021-02-21 00:48:26 +08:00
c9s
12ed5a1efe move persistence service into the service package 2021-02-21 00:45:56 +08:00
c9s
b7a3f2ee03 refactor telegram initialization 2021-02-20 12:33:43 +08:00
c9s
be00aae81e move trade configuration to the trader struct method 2021-02-20 12:23:31 +08:00
c9s
c72b7b2dfa add sync api for syncing trades in the background 2021-02-20 11:56:39 +08:00
c9s
7684099f01 add /api/environment/syncing api 2021-02-20 11:54:48 +08:00
c9s
b158884708 add long flag to the sample config 2021-02-20 11:52:56 +08:00
c9s
4ce6e85624 add sync status to the environment 2021-02-20 11:29:33 +08:00
c9s
ff5233ba3e support: use Notfiy 2021-02-20 10:51:01 +08:00
c9s
b207663732 add config for testing support strategy 2021-02-20 10:32:43 +08:00
c9s
dd13b9a8bf remove start time query condition for trade sync since starting from trade id = 1 works 2021-02-19 14:18:50 +08:00
c9s
44fa74a4c9 refactor session sync 2021-02-19 10:42:24 +08:00
c9s
390c9b1a4b move Sync method into the sync service 2021-02-19 10:26:13 +08:00
c9s
fb7dcb3b39 fix makefile target all 2021-02-19 10:18:03 +08:00
c9s
eaa8c647b5 refactor session sync 2021-02-18 22:40:46 +08:00
c9s
90069a8589 improve sync command to find possible trading symbols automatically 2021-02-18 22:07:54 +08:00
Yo-An Lin
b77d2b2577 Merge pull request #132 from c9s/fix/binance-trade-sync
FIX: fix trade sync for self trades
2021-02-18 18:34:38 +08:00
c9s
65ff2894c5 binance: calculate quote quantity manually if it's not defined 2021-02-18 18:24:00 +08:00
c9s
3a89b0a714 improve trade sync 2021-02-18 18:20:18 +08:00
c9s
654ad62f36 remove type assert 2021-02-18 17:42:14 +08:00
c9s
0ba595bd55 Fix trade sync for self trades
MAX uses one single trade for presenting self trade.

BINANCE uses two trade records for presenting self trade. the trade
creation time are the same.
2021-02-18 17:37:49 +08:00
c9s
c3dbb1b204 avoid using last trade id for syncing data 2021-02-18 16:40:47 +08:00
c9s
43c7da59f8 add self trade creator program 2021-02-18 16:18:47 +08:00
c9s
29bbd03836 add binance single ticker query method and fix quantity formating 2021-02-18 16:17:40 +08:00
c9s
e71a81684a add fallback empty data object 2021-02-18 15:36:33 +08:00
c9s
c34729e5b0 change default backend to webview 2021-02-18 15:32:41 +08:00
c9s
e0f50d6603 update readme 2021-02-18 09:24:24 +08:00
c9s
9d800c351f rename bbgo-desktop to bbgo-lorca 2021-02-18 08:51:15 +08:00
c9s
b9564690b5 fix go migration loader 2021-02-17 19:06:55 +08:00
c9s
018a08dd35 codesign check 2021-02-17 19:06:35 +08:00
c9s
3c18b860bc try to delay ui init 2021-02-17 19:06:20 +08:00
c9s
e2545050c4 add codesign 2021-02-17 17:54:26 +08:00
c9s
b2bcd3528c use sqlx for testing connection 2021-02-17 17:35:54 +08:00
c9s
e7ef1d3b73 fix default dsn for sqlite3 2021-02-17 17:35:27 +08:00
c9s
88f7f0f61c compile and update migration package 2021-02-17 17:35:11 +08:00
c9s
9723c7373a desktop: add more app properties 2021-02-17 17:28:54 +08:00
c9s
7c1e74b3a8 switch current working dir to the resource dir of the executable 2021-02-17 17:28:31 +08:00
c9s
ea27a291db compile and update migration package 2021-02-17 17:28:05 +08:00
c9s
a1cb3859c3 fix db driver setup 2021-02-17 14:57:29 +08:00
c9s
d32d2b97c7 fix readme 2021-02-17 14:43:51 +08:00
c9s
e372a53835 refactor transfer history command 2021-02-17 14:43:50 +08:00
Yo-An Lin
116657479c Merge pull request #131 from c9s/feature/strategy-trade-marker
feature: trade marker
2021-02-17 09:46:37 +08:00
c9s
49f4039a23 add timestamp parameter 2021-02-16 17:11:15 +08:00
c9s
9a7437de53 set default limit to 1000 2021-02-16 17:10:58 +08:00
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