Commit Graph

55 Commits

Author SHA1 Message Date
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
c9s
6440c7659b let mask ke shows head and tail 2021-12-29 15:25:59 +08:00
c9s
b217a0dec8 depth: implement depth.Buffer 2021-12-25 02:14:49 +08:00
c9s
ed6f400161 implement UnixMilli in the util package 2021-12-23 22:20:47 +08:00
TonyQ
d7ac645253 exchange: update maskkey handling 2021-12-23 01:18:36 +08:00
c9s
ed1d0ea27e add xnav strategy 2021-10-29 10:40:14 +08:00
c9s
d763a3c415 bbgo: add debug ewma and sma 2021-10-18 17:26:03 +08:00
c9s
c6d66ebb46 util: add BeginningOfTheDay function 2021-06-26 20:26:47 +08:00
c9s
15ed802a54 util: add TimeProfile 2021-06-16 13:04:23 +08:00
c9s
2da633c221 maxapi: add HTTP_TRANSPORT_IDLE_CONN_TIMEOUT env var for override 2021-06-16 13:04:05 +08:00
c9s
ecf888dfd6 util: add env var util functions 2021-06-09 01:36:16 +08:00
c9s
e678289577 implement okex balances endpoint 2021-05-27 00:05:43 +08:00
c9s
36071d6649 move MillisecondsJitter to the util package 2021-05-26 23:41:45 +08:00
c9s
aa6520ec18 improve error messages 2021-05-12 12:54:46 +08:00
c9s
44fa74a4c9 refactor session sync 2021-02-19 10:42:24 +08:00
ycdesu
8663704d6e util: create IsJSON/IsHTML type helper 2021-02-08 19:07:18 +08:00