Commit Graph

5239 Commits

Author SHA1 Message Date
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
David Chang
9f92fcf2e4 chore: rename telegram init to telegram auth 2020-12-06 13:59:47 +08:00
David Chang
58aadd9f45 fix: use correct format for log 2020-12-06 13:47:52 +08:00
David Chang
7b8ddf03b5 chore: add readme about configure telegram bot 2020-12-06 13:26:34 +08:00
David Chang
9e4602cf66 fix: allow upadte telegram chat user with bot command 2020-12-06 13:02:21 +08:00
David Chang
a55cd02e21 feature: add info command 2020-12-06 12:34:43 +08:00
David Chang
f9124aa907 fix: telegram bot send message to correct user 2020-12-06 12:11:27 +08:00
David Chang
7caf986d11 fix: change warning type from user to username 2020-12-05 14:28:48 +08:00
David Chang
c72ef2b31c fix: add missing root cmd flags 2020-12-05 14:25:19 +08:00
David Chang
b2d9bd0312 feature: add telegram bot notifier 2020-12-05 14:20:27 +08:00
c9s
62d3d4a3ee bump version to bbgo 1.2.1 2020-12-05 13:38:01 +08:00
c9s
c5d002a0b0 fix market data kline registration 2020-12-05 13:32:41 +08:00
c9s
900f822559 improve and fix ewma calculation 2020-12-05 13:32:41 +08:00
c9s
b188901ed0 fix ewma calculation 2020-12-05 13:32:41 +08:00
Yo-An Lin
535e07cf25 Create movingstop.yaml 2020-12-05 10:23:42 +08:00
c9s
f7a119fa5e remove debug message 2020-12-04 19:15:53 +08:00
c9s
936650d879 rename kline trend to direction 2020-12-04 10:18:51 +08:00
c9s
22771288eb fix sma kline window check 2020-12-03 20:42:26 +08:00
c9s
177607e5fb fix ewma kline window check 2020-12-03 20:42:00 +08:00
c9s
607656ff55 Merge branch 'strategy/swing' into main 2020-12-03 18:15:56 +08:00
c9s
f4aee5234a add updater to indicators 2020-12-03 18:14:16 +08:00
c9s
976a4c6732 add verbose log message for movingstop 2020-12-03 16:46:02 +08:00
c9s
17fd6a405b add StopPriceRatio support 2020-12-03 09:50:36 +08:00
c9s
19d76928fd support movingstop by BalancePercentage 2020-12-03 09:41:41 +08:00
c9s
ef03c0cf20 separate Run and CrossRun
so that we mount one strategy as cross strategy or single exchange strategy
2020-12-03 09:31:40 +08:00
c9s
d60a82256d types: remove slice preallocated cap 2020-12-03 09:27:05 +08:00
c9s
2b264905f9 add warnings and fix subscription 2020-12-03 09:26:10 +08:00
c9s
4f399ebb9f fix stop price formating 2020-12-03 09:25:47 +08:00
c9s
b75ebf2f0f scripts/max: support showing open stop orders 2020-12-03 09:25:26 +08:00
c9s
17590fcc08 include movingstop in builtin 2020-12-03 08:52:43 +08:00
c9s
9d7aa2fe22 add movingstop strategy 2020-12-03 08:52:32 +08:00
c9s
500c35fd40 add ord_type for max shell api 2020-12-03 08:52:11 +08:00
c9s
0a5bac803c ignore duplicated trade 2020-12-03 08:51:57 +08:00
c9s
edb22383c7 fix ToGlobalOrder call 2020-12-02 22:44:57 +08:00
c9s
d38b16fb3e fix cross exchange strategy subscription 2020-12-02 22:44:41 +08:00
c9s
cd34c2f4e7 scripts/max: show amount 2020-12-02 22:21:13 +08:00
c9s
c0b21fd392 scripts: fix fraction 2020-12-02 22:21:13 +08:00
c9s
fe25e38c93 add timestamp to trades layout 2020-12-02 22:21:13 +08:00
c9s
be79c098d4 improve balance layout 2020-12-02 22:21:13 +08:00
c9s
613514e6c0 max: fix trades command 2020-12-02 22:21:13 +08:00
c9s
4567901b6b rename orders to open 2020-12-02 22:21:13 +08:00
c9s
11eab78bd3 improve max command 2020-12-02 22:21:13 +08:00
c9s
ad7a176c3e maxapi: add more usage 2020-12-02 22:21:13 +08:00
c9s
de5ace5621 add max command script 2020-12-02 22:21:13 +08:00
c9s
bbf2478234 add add command for submit limit order and market order 2020-12-02 22:21:13 +08:00
c9s
837100d67e add maxapi in shell script 2020-12-02 22:21:13 +08:00