Commit Graph

1339 Commits

Author SHA1 Message Date
c9s
aab0c377d7 xmaker: reformat code 2021-06-26 20:26:47 +08:00
c9s
b58b48d668 xmaker: refactor profit stats 2021-06-26 20:26:47 +08:00
c9s
cef28fa651 xbalance: use time util function from the util package 2021-06-26 20:26:47 +08:00
c9s
c6d66ebb46 util: add BeginningOfTheDay function 2021-06-26 20:26:47 +08:00
c9s
06a1f018c2 bbgo: push to the buffer first 2021-06-26 20:26:47 +08:00
c9s
7d853a9c74 bbgo: add emit position update 2021-06-26 20:26:47 +08:00
c9s
ecd2d9ea68 bbgo: improve trade collector callbacks 2021-06-26 20:26:47 +08:00
c9s
db4fbbc30c bbgo: add trade collector 2021-06-26 20:26:47 +08:00
c9s
65629a77f4 bbgo: add two new position constructor 2021-06-26 20:26:47 +08:00
c9s
5621effd6b add resistance 2021-06-21 19:03:50 +08:00
c9s
4bc0612265 support: add minBaseAssetBalance 2021-06-17 19:28:11 +08:00
c9s
f9fa6e96c3 support: refactor kline handler 2021-06-16 20:33:52 +08:00
c9s
811319fa25 support: fix sensitivity calculation 2021-06-16 14:16:39 +08:00
c9s
5fecccedd6 add resistance check 2021-06-16 13:23:33 +08:00
c9s
3d12a7df59 support: add sensitivity settings 2021-06-16 13:14:10 +08:00
c9s
15ed802a54 util: add TimeProfile 2021-06-16 13:04:23 +08:00
c9s
e276ddd38a bbgo: add shared local time zone 2021-06-16 13:04:23 +08:00
c9s
e23c459697 bbgo: move orderbook to the session level so that we can access it eaiser 2021-06-16 13:04:23 +08:00
c9s
2614b25de3 types: move fiat currency list to types 2021-06-16 13:04:23 +08:00
c9s
fd2928fc82 types: add maker/taker fee rate fields to the account struct 2021-06-16 13:04:23 +08:00
c9s
657e1dc9bf maxapi: pre-parse relative url and cache them 2021-06-16 13:04:05 +08:00
c9s
cbd0180939 maxapi: remove extra user agent header 2021-06-16 13:04:05 +08:00
c9s
16e5e08d58 maxapi: fix dump request error check 2021-06-16 13:04:05 +08:00
c9s
48c84824cf maxapi: volume, side, market is always required for creating orders 2021-06-16 13:04:05 +08:00
c9s
2da633c221 maxapi: add HTTP_TRANSPORT_IDLE_CONN_TIMEOUT env var for override 2021-06-16 13:04:05 +08:00
c9s
7c5b676366 maxapi: create an isolated http transport rather than the default one 2021-06-16 13:04:05 +08:00
c9s
684232041c maxapi: load http transport settings from env vars 2021-06-16 13:04:05 +08:00
c9s
b31b830b2b max: add request dump for debugging request 2021-06-16 13:03:45 +08:00
c9s
8c3992d514 max: no need to check order volume separately 2021-06-16 13:02:21 +08:00
c9s
fdf1ee9258 max: use precision -1 to trim zeros 2021-06-16 13:02:21 +08:00
c9s
a8eda62a8d max: set debug vars from env vars 2021-06-16 13:02:21 +08:00
c9s
990da5ad3b xbalance: add foreign fee for withdrawal 2021-06-09 01:37:33 +08:00
c9s
18f72a9118 fixedpoint: add more multiplication benchmarks 2021-06-09 01:37:29 +08:00
c9s
3d1d659c81 fixedpoint: add math/big version multiplication support 2021-06-09 01:37:24 +08:00
c9s
0df26e0570 binance: adjust listen key keep alive to 20 minutes 2021-06-09 01:37:19 +08:00
c9s
457ca79517 binance: for network error, we should retry the request 2021-06-09 01:37:14 +08:00
c9s
3c4eb5aec7 telegram: add more emojis 2021-06-09 01:37:09 +08:00
c9s
89c3df730b telegram: add emoji for greetings 2021-06-09 01:37:04 +08:00
c9s
ac71a392c6 fixedpoint: fix fixedpoint value int64 cast 2021-06-09 01:36:32 +08:00
c9s
ecf888dfd6 util: add env var util functions 2021-06-09 01:36:16 +08:00
c9s
ec6c10a96a binance: adjust read timeout and increase read buffer size 2021-06-09 01:36:06 +08:00
c9s
3fd170a4ff xmaker: check book before copying 2021-06-09 01:35:56 +08:00
c9s
f5a241a1a8 xmaker: improve warn message 2021-06-09 01:35:50 +08:00
c9s
a0d8a3718a xmaker: fix bid/ask price check 2021-06-07 02:50:11 +08:00
c9s
d5617d44aa xmaker: pass source market and maker market for formatting 2021-06-07 02:49:54 +08:00
c9s
0a74cc7171 xmaker: add useDepthPrice option 2021-06-07 02:49:44 +08:00
c9s
2486d04332 rbt: fix copyNode 2021-06-07 02:44:30 +08:00
c9s
5a5cb71a5e rbt: add more rbtorderbook test 2021-06-07 02:44:25 +08:00
c9s
062443a29c rbt: check if returned node is neel 2021-06-07 02:44:21 +08:00
c9s
3b0ed4e3dc rbt: add more test cases 2021-06-07 02:44:14 +08:00