Commit Graph

2001 Commits

Author SHA1 Message Date
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
c9s
2c2ba46ab7 bump version to v1.25.1 2022-01-10 13:46:41 +08:00
c9s
6c3ee314d9 binance: fix order cancel client order id usage 2022-01-10 13:29:27 +08:00
c9s
c284e2e3bb types: improve pendingRemoval check 2022-01-10 12:44:06 +08:00
c9s
d57f8fedfe bbgo: fix active book order removal 2022-01-10 12:29:19 +08:00
c9s
3907f99e70 xmaker: keep rate reservation token 2022-01-10 12:25:13 +08:00
c9s
1b27c4e9c4 remove hedge error limiter 2022-01-09 23:45:46 +08:00
c9s
54779444f4 bump version to v1.25.0 2022-01-09 22:54:21 +08:00
c9s
9ca4e23aaf add strategy documentation 2022-01-09 22:43:49 +08:00
c9s
bba4e86fdf bollmaker: adjust default skew parameter 2022-01-09 22:37:27 +08:00
c9s
b98777afe4 bollmaker: pull out skew options 2022-01-09 22:32:23 +08:00
c9s
d94cc2df31 bbgo: add recover callbacks to trace collector 2022-01-09 15:39:59 +08:00
c9s
ab3dabcbcc bump version to v1.24.0 2022-01-09 11:44:41 +08:00
c9s
cbff0b6eca types: improve position fee display for telegram 2022-01-09 11:42:01 +08:00
c9s
6ce8edba7d xmaker: add error rate limiter 2022-01-09 11:33:34 +08:00
c9s
471a1b2baa xmaker: adjust minimal quantity and minimal notional threshold 2022-01-09 10:18:31 +08:00
c9s
7e9b768e4c slacknotifier: apply rate limiter to 1 message per second 2022-01-09 10:14:39 +08:00
c9s
cd340bd596 bollmaker: check s.MaxExposurePosition 2022-01-09 03:03:54 +08:00
c9s
0cec652f38 bollmaker: skip submitOrder calls if submitOrders is empty 2022-01-09 02:35:12 +08:00
c9s
656ef942e4 bollmaker: add disable short option 2022-01-09 02:24:10 +08:00
c9s
4df5847647 bollmaker: add quantity scaling for closing position 2022-01-09 01:57:51 +08:00
c9s
4cdb5b607b rename bollpp to bollmaker 2022-01-09 01:20:47 +08:00
c9s
02dfdb57bd types: pull out position type 2022-01-09 00:45:19 +08:00
c9s
1b1fc3ad66 types: collect fees 2022-01-09 00:39:55 +08:00
c9s
7e2acdc416 all: add lock protected GetBase method for Position 2022-01-09 00:35:45 +08:00
c9s
9b92c8948d xmaker: fix quantity truncation and add check for min quantity n min notional 2022-01-09 00:30:18 +08:00
c9s
415cda3fca bump version to v1.23.0 2022-01-08 19:06:03 +08:00
c9s
d1420e66be fix TestTradeCollector_ShouldNotCountDuplicatedTrade 2022-01-08 02:20:30 +08:00
c9s
cb189d885c fix backtest for limit maker order and bollpp strategy 2022-01-08 02:18:44 +08:00
c9s
e0b906a88b bbgo: fix processTrade 2022-01-07 16:53:11 +08:00
c9s
f4ebae17bb xmaker: when recover the trade, notify 2022-01-07 13:13:57 +08:00
c9s
a5fb408a16 twap: refactor and call activeMakerOrders.GracefulCancel 2022-01-07 01:34:23 +08:00
c9s
d013713c00 types: add exchange name to trade key 2022-01-07 01:25:07 +08:00
c9s
e312ec953c bbgo: rename test case 2022-01-07 01:23:54 +08:00
c9s
d63cc42867 bbgo: add trade collector test 2022-01-07 01:17:07 +08:00
c9s
a49d001c29 xmaker: add trade scanner 2022-01-07 01:03:12 +08:00
c9s
69ae3259ff bbgo: mark trade as done in the trade collector for preventing duplicated trade 2022-01-07 00:28:12 +08:00
c9s
01c7429758 trade: use assignment instead of append 2022-01-07 00:21:14 +08:00
c9s
41574a2390 xmaker: use millisecond jitter from the util package 2022-01-07 00:14:24 +08:00
c9s
259771b0b0 all: pull out the graceful cancel process to the local active book 2022-01-07 00:10:40 +08:00
c9s
47e23fda90 bbgo: add cache expiry 2022-01-06 23:57:42 +08:00
c9s
1d5406ef21 xmaker: always update maker market 2022-01-06 23:27:06 +08:00
c9s
c8bf85f4e2 xmaker: improve pips 2022-01-05 11:34:07 +08:00