Commit Graph

984 Commits

Author SHA1 Message Date
c9s
0bf0b37045 add makefile target to build docker image 2020-12-15 17:53:11 +08:00
c9s
728bf5fc81 bbgo: move some logs to debug level 2020-12-15 14:14:44 +08:00
c9s
63a5881d16 use golang.org/x/time for rate limiting 2020-12-15 14:04:27 +08:00
Yo-An Lin
52dc544f5b Merge pull request #74 from ychi/patch-1
Update README
2020-12-15 09:48:04 +08:00
c9s
572f7a0e12 buyandhold: remove kline event debug log 2020-12-14 14:59:46 +08:00
c9s
f604e3c3c9 include ETHUSDT in backtest 2020-12-14 14:40:50 +08:00
c9s
6d15c629a7 fix buyandhold strategy 2020-12-14 14:40:31 +08:00
c9s
81c7d3c668 fix fmt import 2020-12-14 14:34:55 +08:00
c9s
cabd8f8dcb improve buyandhold strategy 2020-12-14 14:21:02 +08:00
c9s
7469ba3829 add Dockerfile 2020-12-14 14:06:02 +08:00
ychi
4992efb4af Update README
Adding link to mysql docker image page, ruby dotenv page, also remind user to provide correct MYSQL_URL
2020-12-12 21:53:07 +01:00
c9s
c01f878c19 add symbol column length fix migration 2020-12-11 17:58:11 +08:00
c9s
28712adaeb adjust table symbol column length to 8 2020-12-11 17:53:22 +08:00
Yo-An Lin
440f3b1760 Merge pull request #73 from c9s/feature/otp
feature: support one-time password for telegram bot
2020-12-11 17:38:23 +08:00
c9s
321b4812ca supporting otp key restore from key url 2020-12-11 17:12:16 +08:00
c9s
fbb9d0d3ba show key URL 2020-12-11 17:08:06 +08:00
c9s
deb9a29521 support one-time password 2020-12-11 17:07:19 +08:00
c9s
f4ef19e5d6 implement PlainText for telegram bot 2020-12-11 15:58:05 +08:00
c9s
6af88a2a87 add interaction callbacks 2020-12-11 14:40:18 +08:00
c9s
45bc4dc9eb refactor telegram notifier with interaction component 2020-12-11 14:40:04 +08:00
c9s
1be4c6d3f3 update setup scripts to v1.3.1 2020-12-09 16:18:33 +08:00
c9s
f595b1ef65 fix compile flag check 2020-12-09 16:13:20 +08:00
c9s
846f463cfc print loaded position 2020-12-08 16:32:39 +08:00
c9s
6b760c72b7 use bot token prefix as the redis store namespace 2020-12-08 16:28:55 +08:00
c9s
f16cde3b26 Merge branch 'refactor/telegram-bot' into main 2020-12-08 16:08:36 +08:00
c9s
03afa060d5 add updateInterval for mirrormaker 2020-12-08 16:01:46 +08:00
c9s
c66b140d90 support duration parse 2020-12-08 16:01:46 +08:00
c9s
7b19b20e4b add updateInterval for mirrormaker 2020-12-08 15:58:22 +08:00
c9s
41a24083e7 support duration parse 2020-12-08 15:55:47 +08:00
Yo-An Lin
af0f45fe19 Merge pull request #71 from c9s/refactor/telegram-bot
refactor: telegram bot auth with persistence
2020-12-08 15:13:03 +08:00
c9s
fe7495898f check if persistence is configured 2020-12-08 15:09:17 +08:00
c9s
53d7fb5611 support telegram chat user persistence 2020-12-08 15:03:52 +08:00
c9s
a299721a98 improve message layout 2020-12-08 14:41:51 +08:00
c9s
4316f1fada pull out bot initialization 2020-12-08 14:25:30 +08:00
c9s
bc888d8c90 Merge branch 'refactor/telegram-bot' into main 2020-12-08 14:21:28 +08:00
c9s
55cd0c6a6e pull out bot initialization to run 2020-12-08 14:20:49 +08:00
Yo-An Lin
aecbe180e6 Merge pull request #70 from c9s/persistent-tests
fix: add tests for persistence and fix fixedpoint marshalling issue
2020-12-08 12:05:05 +08:00
c9s
0222c33330 fix kline tail method 2020-12-08 10:26:20 +08:00
c9s
3aa8d70622 add mirrormaker 2020-12-07 23:04:09 +08:00
c9s
9eaf69388c add fixedpoint json marshaling 2020-12-07 23:03:06 +08:00
c9s
f8dc707c88 add redis service 2020-12-07 22:51:38 +08:00
Yo-An Lin
277832335f Merge pull request #68 from c9s/feature/persistence
feature: add persistence api
2020-12-07 14:39:36 +08:00
c9s
4addf65f64 support memory persistence 2020-12-07 12:03:56 +08:00
c9s
2d98336fb6 implement Persistent API for strategy 2020-12-07 11:44:41 +08:00
c9s
341f735bc3 configure ConfigurePersistence if it's defined 2020-12-07 11:44:41 +08:00
c9s
a01f83ab15 add persistence config and tests 2020-12-07 11:44:41 +08:00
c9s
d8662a20c4 add redis to go module 2020-12-07 11:44:40 +08:00
c9s
b843388483 only query subscribed kline intervals 2020-12-07 11:44:23 +08:00
c9s
62a541fb27 rename preload to loadBuildConfig 2020-12-07 11:44:23 +08:00
Che-Chia (David) Chang
1b17cba2eb Merge pull request #67 from c9s/feature/add-telegram-bot-notifier
feature: add telegram bot notifier
2020-12-06 14:12:32 +08:00