Commit Graph

2043 Commits

Author SHA1 Message Date
c9s
140e5638b8 binance: apply order cancel rate limiter 2022-01-15 00:52:54 +08:00
c9s
255ee40c98 bbgo: when calling order cancel we should use background context 2022-01-15 00:49:27 +08:00
c9s
77e92d544a bbgo: pull out interaction setup 2022-01-15 00:32:21 +08:00
c9s
e385d96709 bbgo: move authToken loader 2022-01-15 00:29:35 +08:00
c9s
3a13025d58 bbgo: change default notification rule -- silent order updates 2022-01-15 00:25:16 +08:00
c9s
d5f3946ada bbgo: refactor the current auth with interact 2022-01-15 00:18:07 +08:00
c9s
51ecac54e7 bbgo: fix local active book graceful cancel 2022-01-15 00:17:52 +08:00
c9s
41b94c5c7e interact: refactor telegram interaction 2022-01-14 15:03:19 +08:00
c9s
fdf7ad9648 bbgo: rename auth function for general case 2022-01-14 13:41:43 +08:00
c9s
5bef7d8a1e interact: use interaction singleton 2022-01-14 13:31:31 +08:00
c9s
0114d92f2f interact: split interaction files 2022-01-14 13:31:31 +08:00
c9s
97ca304bec telegramnotifier: add SetOwner method 2022-01-14 13:31:31 +08:00
c9s
dd93ee4fd3 move methods to telegramnotifier 2022-01-14 13:31:31 +08:00
c9s
832faf91f8 interact: add command description 2022-01-14 13:31:31 +08:00
c9s
317d8e9d49 xgap: add minSpread option 2022-01-14 12:49:46 +08:00
Yo-An Lin
e797e597b1
Merge pull request #435 from jessy1092/fix/correct-bollmaker-params
fix: Correct uptrendSkew and downtrendSkew parameters setting on bollmaker strategy
2022-01-14 12:18:18 +08:00
c9s
eef14fa950 xgap: add jitter 2022-01-14 12:03:29 +08:00
c9s
1f6076ae18 plus a quantity jitter 2022-01-14 11:59:40 +08:00
c9s
42430fde4b interact: fix interact tests 2022-01-14 02:36:57 +08:00
c9s
17322cbc09 interact: improve authentication process 2022-01-14 02:36:06 +08:00
c9s
62e5706657 interact: improve strict mode authentication 2022-01-14 02:13:59 +08:00
c9s
72a925f659 interact: support authorizer 2022-01-14 01:58:04 +08:00
c9s
086127e8f7 interact: let function evaluator returns state, inject nil if object is not found 2022-01-14 01:01:01 +08:00
c9s
14eea34394 interact: pull out authentication interaction 2022-01-14 00:26:53 +08:00
c9s
91c831140c interact: fix private command 2022-01-14 00:17:41 +08:00
c9s
a6fb0caff3 interaction: add PrivateCommand 2022-01-13 23:41:22 +08:00
Lee
965fc6989d fix: Correct uptrendSkew and downtrendSkew parameters setting on bollmaker strategy 2022-01-13 23:06:23 +08:00
c9s
76c64b041f interact: separate interfaces 2022-01-13 22:24:51 +08:00
c9s
7eba6b20c9 implement the basic flow of interact 2022-01-13 22:15:05 +08:00
c9s
ba4c694179 interact: scan all return values 2022-01-13 11:43:33 +08:00
c9s
087a91aa8a interact: fix object arg injection 2022-01-13 11:43:33 +08:00
c9s
caa50c3b04 interact: implement parseFuncArgsAndCall with interface injection 2022-01-13 11:43:33 +08:00
c9s
3cc11badac interact: implement command state machine 2022-01-13 11:43:33 +08:00
c9s
43317bb647 add state and telegram example 2022-01-13 11:43:33 +08:00
c9s
ccaa8c5c86 bbgo: implement parseCommand 2022-01-13 11:43:33 +08:00
c9s
7053802041 basic interaction parser 2022-01-13 11:43:33 +08:00
c9s
7daa82ff9e bump version to v1.25.4 2022-01-13 11:33:30 +08:00
c9s
dc6d60216b types: fix order book copy 2022-01-13 11:09:50 +08:00
c9s
98247385f9 xmaker: use GracefulCancel to cancel active orders 2022-01-13 11:01:46 +08:00
c9s
e91dc5a518 types: use mod 3 and mod 7 for test 2022-01-13 10:59:03 +08:00
c9s
e573c18a5c types: add more detailed rbtree tests 2022-01-13 10:56:57 +08:00
c9s
cb9d9137a6 depth: add details to the depth error message 2022-01-13 00:14:15 +08:00
c9s
8b56c47f65 add doc-comment for PriceHeartBeat 2022-01-13 00:01:20 +08:00
c9s
ec72a922c8 all: add subscribe depth options 2022-01-12 22:27:42 +08:00
c9s
f9e72dc79f binance: subscribe binance depth10@100ms 2022-01-12 22:17:07 +08:00
c9s
5cc3a88911 xmaker: show order book last update time 2022-01-12 22:11:28 +08:00
c9s
2aeb9e870c types: add lastUpdateTime field 2022-01-12 22:07:52 +08:00
c9s
915f2c7476 types: add last update time field to orderbook 2022-01-12 22:06:08 +08:00
c9s
09592755cc cmd: add dump-update option to orderbook cmd 2022-01-12 22:00:29 +08:00
c9s
1a61935850 add depth buffer logs 2022-01-12 21:55:26 +08:00
c9s
8c2228f428 cmd: use time.Local for the local timezone 2022-01-12 15:33:04 +08:00
c9s
b3b1161ecc depth: add SetUpdateTimeout 2022-01-12 14:49:01 +08:00
c9s
0c7710c91b types: avoid using copy node for rbtree 2022-01-12 14:45:05 +08:00
c9s
c3356fa694 types: add test for PriceHeartBeat 2022-01-12 14:42:11 +08:00
c9s
5755c44845 move PriceHeartBeat to types 2022-01-12 14:33:55 +08:00
c9s
f28bfbf0c9 bump version to v1.25.3 2022-01-12 12:56:15 +08:00
Yo-An Lin
30c1dd3e3d
Merge pull request #424 from tony1223/bug/binance-add-ratelimiter
fix: [binance] add order rate limiter
2022-01-12 12:53:51 +08:00
Yo-An Lin
c2b121f9ee
Merge pull request #432 from jessy1092/ftx/support-limit-maker
ftx: Support LIMIT_MAKER and IOC_LIMIT order type
2022-01-12 12:50:57 +08:00
c9s
e44a2c1cac service: check redis client and show proper error 2022-01-12 12:42:39 +08:00
c9s
420e221f5b xmaker: pull out PriceHeartBeat 2022-01-12 12:14:51 +08:00
c9s
7195c6ed27 xmaker: add price quoting protection 2022-01-12 11:55:45 +08:00
c9s
0e927a9a06 types: avoid using nil in rbt 2022-01-12 11:45:08 +08:00
c9s
6ee831e678 add trade logger 2022-01-12 11:19:41 +08:00
c9s
db8a74238e notifier/telegramnotifier: remove debug log 2022-01-12 11:18:36 +08:00
Lee
523d9b3071 ftx: Support LIMIT_MAKER and IOC_LIMIT order type 2022-01-12 03:47:12 +08:00
c9s
848d36f90b add trade exchange back 2022-01-11 22:50:38 +08:00
c9s
940c675cae xmaker: add rate limit hit alert 2022-01-11 22:48:28 +08:00
c9s
081a143ec0 xmaker: add DepthQuantity 2022-01-11 22:47:40 +08:00
c9s
b302adcc7e types: add and use OrderError 2022-01-11 18:00:07 +08:00
c9s
857db529af binance: show order info in the error 2022-01-11 17:05:36 +08:00
c9s
b56c800e12 binance: add order status to the error message 2022-01-11 16:47:55 +08:00
c9s
97422f26e7 binance: should return error when order does not contain orderID or clientOrderID 2022-01-11 16:38:02 +08:00
c9s
96ffab9cd8 binance: add details to order cancel error 2022-01-11 16:35:49 +08:00
c9s
c59d82900b bump version to v1.25.2 2022-01-11 14:20:06 +08:00
c9s
4a8751e486 binance: fix listen key keep alive worker call 2022-01-11 14:16:35 +08:00
c9s
eefee46e9b binance: invert if 2022-01-11 13:38:03 +08:00
c9s
cf07ca7aa0 binance: adjust listen key update interval to longer period 2022-01-11 13:37:02 +08:00
c9s
71a0604e72 use fixedpoint to parse payload directly 2022-01-11 01:41:33 +08:00
c9s
e5b4af53e6 all: clean up SubmitOrder fields 2022-01-11 01:36:19 +08:00
c9s
43818e95b6 types: move channels to a single file 2022-01-11 01:25:39 +08:00
c9s
e12178b51a stream: make ping method private 2022-01-11 01:24:34 +08:00
c9s
a66070d286 stream: make reconnector private 2022-01-11 01:24:01 +08:00
c9s
16ec856a4e types: add debug flag for websocket raw message
flag: debug-websocket-raw-message
2022-01-11 01:23:01 +08:00
c9s
b24d944796 types: fix, remove the read timeout override 2022-01-11 01:20:09 +08:00
c9s
70dec09f26 xmaker: fix minQuantity buffer 2022-01-10 23:17:19 +08:00
c9s
6008aaac5f types: add order status icon for slack 2022-01-10 18:01:22 +08:00
c9s
d1c981e0b3 types: fix order slack attachment 2022-01-10 17:54:35 +08:00
c9s
2c94ec427b types: improve order slack attachment 2022-01-10 17:46:01 +08:00
c9s
48cbb7fff6 bbgo: check order side and log error 2022-01-10 17:26:14 +08:00
c9s
5103088675 cmd: fix submitOrder cmd 2022-01-10 17:16:07 +08:00
c9s
4b0e721580 binance: change binance debug client env var name to debug-binance-client 2022-01-10 16:37:41 +08:00
TonyQ
25801f9f63 add ratelmiter 2022-01-10 16:33:19 +08:00
c9s
88210fd27b types: improve trade text template 2022-01-10 14:32:55 +08:00
c9s
7952cf8804 display fee only when fee > 0 2022-01-10 14:25:33 +08:00
c9s
fb3c198447 types: add okex icon and kucoin icon 2022-01-10 14:18:09 +08:00
c9s
e2f7790a4e types: show exchange name in the trade footer 2022-01-10 14:15:45 +08:00
c9s
439685141f add footer icon for exchange name 2022-01-10 14:15:05 +08:00
c9s
16b5ea9744 bump version to v1.25.1 2022-01-10 13:52:35 +08:00
c9s
b26141ac1f support: set default s.triggerEMA 2022-01-10 13:51:14 +08:00
c9s
b56e988fc9 support: fix triggerEMA check 2022-01-10 13:49:36 +08:00