Commit Graph

70 Commits

Author SHA1 Message Date
c9s
9d2e61dc6e
tradingutil: improve UniversalCancelAllOrders by querying open orders 2024-11-15 23:35:18 +08:00
c9s
eae2d63ac1
all: move jitter helpr to a single package 2024-10-28 17:28:56 +08:00
c9s
b23c7a76eb
Merge pull request #1763 from lanphan/obsoleted
CHORE: solved all deprecated, comment all unused variables and functions
2024-10-22 12:33:10 +08:00
c9s
e70899a35d
xmaker: add more xmaker metrics and profiles 2024-10-09 12:35:06 +08:00
Lan Phan
8b17d78a48 solved all deprecated, comment all unused variables and functions 2024-10-08 00:08:15 +07:00
c9s
345c92c295
all: improve UniversalCancelAllOrders and add mutex to covered position 2024-09-23 18:26:23 +08:00
c9s
c92c395f67
twap: improve rate limiter syntax parser and support order update rate limiter in twap 2024-08-20 17:07:29 +08:00
narumi
94c126dd83 move logerr to util 2024-04-17 15:27:46 +08:00
c9s
4f57c5b842
Merge pull request #1545 from c9s/feat/add-universal-cancel-all-orders
FEATURE: add universal cancel all orders api helper
2024-02-27 22:12:16 +08:00
c9s
a298950be8
move trading related utility functions to the tradingutil package 2024-02-23 18:47:49 +08:00
c9s
0b0bc7e179
tradingutil: return anyErr if anyErr is not nil 2024-02-23 18:33:30 +08:00
c9s
3b8a3bed5f
add universal cancel all orders api helper 2024-02-23 16:56:30 +08:00
Edwin
dbac45aa76 pkg/util: rm retry 2023-11-21 18:01:21 +08:00
c9s
ce8063654d
tradingutil: add test on CollectTradeFee 2023-08-05 16:38:46 +08:00
c9s
4d293121d7
convert: fix pending quantity collector with trade query 2023-08-05 02:37:53 +08:00
c9s
c605761c4f
add tradingutil package 2023-08-05 01:59:36 +08:00
c9s
b1c1caa6af
tri: load test data from static file 2023-07-11 14:07:07 +08:00
c9s
fb95072e5b
backoff: add default timeout to backoff.RetryGeneral 2023-04-12 13:49:29 +08:00
c9s
8d240e9b4c
maxapi: improve nonce update with retry 2023-04-11 18:21:40 +08:00
c9s
3624dd0338
xfunding: implement close position transfer 2023-03-23 22:54:42 +08:00
c9s
20cd73e6ad
xfunding: fix transfer and refactoring more methods 2023-03-23 12:58:10 +08:00
c9s
a66cee9130
util: remove unused func 2022-12-26 16:05:21 +08:00
c9s
c07c3c62a9
util: remove unused NotZero funcs 2022-12-26 01:51:32 +08:00
c9s
ecf5ed3c85
remove empty render.go 2022-12-26 01:50:25 +08:00
zenix
9cce165aa5 fix: extract split string by length as a function 2022-09-21 15:14:33 +09:00
c9s
d4398bbbf9
bbgo: add more simple slice types to FilterSimpleArgs 2022-09-19 13:07:56 +08:00
c9s
52d245ecf1
floats: move floats related functions and add crossover, crossunder funcs 2022-08-26 16:15:39 +08:00
c9s
88f243c91b
util: move math util functions to util 2022-08-24 11:34:55 +08:00
c9s
94615f7ecf
all: remove empty files 2022-08-23 02:25:02 +08:00
c9s
c86b29e6dc
all: resolve import cycle 2022-08-23 02:12:26 +08:00
c9s
0947c28294
all: move PrintConfig to pkg/util 2022-08-23 01:56:15 +08:00
zenix
da28750313 feature: dump parameter to tg, esp series, fix: order tag, position calculation and bp/sp of drift 2022-08-15 21:05:29 +09:00
c9s
938e612c42
util: move emoji and pnl related functions to util 2022-08-09 11:36:24 +08:00
zenix
0ae6b6736c feature: use drift indicator to create basic strategy for study 2022-07-26 18:00:05 +09:00
c9s
4345cef8d7
util: use marshal instead of marshal indent 2022-07-23 12:16:06 +08:00
c9s
6ce9f6a2b7
fix FilterSimpleArgs 2022-07-12 17:55:15 +08:00
zenix
a5ffca7fe8 fix: gosimple alert 2022-06-17 20:19:51 +09:00
zenix
55fa4cc8f1 fix: apply gofmt on all files, add revive action 2022-06-17 16:06:59 +09:00
c9s
eba6706b92
move FilterSimpleArgs to the util package 2022-06-13 11:20:29 +08:00
zenix
f1e24bf43b feature: add codecoverage and add race detection in go test, fix: fix race conditions 2022-06-10 14:01:14 +09:00
c9s
824951c3d5
batch: add remote query profiler 2022-06-02 16:52:34 +08:00
c9s
63ad635f62
cmd: rewrite sync command 2022-06-01 19:40:29 +08:00
c9s
1cc4c69c66
move and refactor functions 2022-05-17 18:23:09 +08:00
c9s
019e6a2a88
improve legacy state handling and move fnv 2022-05-05 14:39:29 +08:00
c9s
0e417f6f71
xnav: rename assets to allAssets 2022-05-04 16:21:53 +08:00
zenix
8648528435 fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests 2022-02-15 14:55:19 +09:00
zenix
b8bf2af14d fixedpoint for exchange and indicators, some fixes in types 2022-02-15 12:01:38 +09:00
zenix
e221f54397 add dnum as the fixedpoint implementation. change types float64 to fixedpoint.Value
change pnl report to use fixedpoint

fix: migrate kline to use fixedpoint
2022-02-15 12:00:39 +09:00
c9s
007207e24f all: use types.LooseFormatTime to parse loose format date time string 2022-01-25 00:24:12 +08:00
c9s
0e5cf5325b util: improve mask key function and add tests 2022-01-23 02:21:26 +08:00