Commit Graph

7798 Commits

Author SHA1 Message Date
c9s
70ed672e6f
exchange: remove subAccount var 2023-05-16 19:26:05 +08:00
c9s
ad502f67e9
types: simplify ValidExchangeName function 2023-05-16 18:32:08 +08:00
c9s
9f1c2f9ae4
types: update exchange name constants 2023-05-16 18:26:55 +08:00
c9s
420654c5ed
bbgo: rename NewStandard to just New 2023-05-16 18:24:06 +08:00
c9s
5e8f8b492a
all: remove unused subAccount parameter since it was designed for ftx 2023-05-16 18:21:47 +08:00
c9s
983707b56a
exchange: drop unused function 2023-05-16 18:21:18 +08:00
c9s
0b6dc41091
types: split exchange interface for ExchangeMinimal 2023-05-16 18:17:11 +08:00
c9s
177610266d
cmd: add exchangetest cmd and document NewWithEnvVarPrefix 2023-05-16 18:15:27 +08:00
c9s
7146ce9c8b
bitget: add basic bitget api client 2023-05-16 17:14:23 +08:00
Yo-An Lin
0e23a5cda5
Merge pull request #1156 from c9s/refactor/order-executor
REFACTOR: pull out Fast* methods to FastOrderExecutor
2023-05-16 17:00:32 +08:00
c9s
17b05b61ba
strategy: fix fastCancel api calls 2023-05-16 16:44:40 +08:00
c9s
027fe9f5e1
drift: adopt the fastOrderExecutor 2023-05-16 16:39:04 +08:00
c9s
9b9d7455ec
bbgo: move Fast* methods to the FastOrderExecutor 2023-05-16 16:39:04 +08:00
c9s
7aa673c673
max: add currency parameter to /api/v3/wallet/:walletType/accounts api 2023-05-15 20:11:58 +08:00
Yo-An Lin
24ca1b103b
Merge pull request #1166 from c9s/c9s/max/api-v3-fix
FIX: [max] replace deprecated max v3 API
2023-05-15 15:19:21 +08:00
Andy Cheng
f864cc895c
feature/profitReport: accumulated profit report as a package 2023-05-11 14:54:45 +08:00
Andy Cheng
b148a02491
strategy/supertrend: add net profit 2023-05-08 13:43:25 +08:00
Yo-An Lin
9438864b97
Merge pull request #1167 from c9s/narumi/binance-data-history 2023-05-05 21:50:10 +08:00
narumi
174fd7b8e7 support binance futures trading data 2023-05-05 15:15:31 +08:00
c9s
7cf80473e5
maxapi: fix margin interest history request 2023-05-04 17:23:04 +08:00
c9s
1ca81e11e6
maxapi: add currency field to the accounts api 2023-05-04 17:20:42 +08:00
c9s
40f6295d91
maxapi: move GetMarginInterestRatesRequest api to a file 2023-05-04 17:18:42 +08:00
c9s
e9f711278e
maxapi: fix margin interest history api 2023-05-04 16:38:20 +08:00
c9s
2a462c8e32
maxapi: update margin repay/load apis 2023-05-04 14:43:19 +08:00
c9s
70e3f8ec5f
max: split v3 api into files 2023-05-04 14:37:19 +08:00
c9s
f686a6de83
add v1.47.0 release note 2023-05-04 13:53:20 +08:00
c9s
b31a2994de
bump version to v1.47.0 2023-05-04 13:53:20 +08:00
c9s
b8f599c8c3
update command doc files 2023-05-04 13:53:20 +08:00
Yo-An Lin
30d82b1ea2
Merge pull request #1165 from RicoToothless/fix/supertrend/config-error 2023-04-29 02:18:17 +08:00
ricotoothless
38a7f18b32
FIX: supertrend config type error 2023-04-29 02:01:52 +08:00
Yo-An Lin
9db62ed0fc
Merge pull request #1164 from c9s/fix/grid2/trade-fee
FIX: [grid2] apply defensive programming on the order quantity
2023-04-28 16:26:20 +08:00
c9s
829edeb401
grid2: improve warning message 2023-04-28 16:16:23 +08:00
c9s
f958120fb5
grid2: remove the len check since we just iterate 2023-04-28 16:12:57 +08:00
c9s
717de67d5a
grid2: improve log and try best to return the order fee 2023-04-28 16:07:03 +08:00
c9s
5a901e929c
grid2: apply defensive programming on the order quantity 2023-04-28 16:02:28 +08:00
Yo-An Lin
32543c3773
Merge pull request #1162 from c9s/fix/profit-fixer
FIX: [grid2] emit grid profit after profit stats fix
2023-04-27 00:45:11 +08:00
c9s
32b2c43198
grid2: emit grid profit after profit stats fix 2023-04-27 00:33:42 +08:00
c9s
46a6d896a2
grid2: improve the if err syntax 2023-04-26 23:48:02 +08:00
c9s
0c72ac2386
grid2: fix typo 2023-04-26 23:37:20 +08:00
c9s
b358cec235
grid2: check if profitStats.Since.IsZero 2023-04-26 23:36:53 +08:00
c9s
f1919a2b43
grid2: check profitStats.Since for the since time range 2023-04-26 23:34:56 +08:00
c9s
2efdee9347
grid2: add timeout context to the fixer 2023-04-26 23:30:09 +08:00
c9s
bd5e98e543
grid2: add more log 2023-04-26 23:07:01 +08:00
Yo-An Lin
df236e4342
Merge pull request #1158 from c9s/improve/order-json-size
IMPROVE: types: improve order struct json size
2023-04-26 22:43:35 +08:00
Yo-An Lin
a3f7e29321
Merge pull request #1161 from c9s/fix/grid2/profit-fixer-init-order-id
FIX: [grid2] add initialOrderID check and try to fix profitStats.Since
2023-04-26 22:33:22 +08:00
c9s
68974bc0b4
grid2: fix profitstats.Since when possible 2023-04-26 22:10:45 +08:00
c9s
55c84e005b
grid2: add one more check for profitStats.InitialOrderID 2023-04-26 22:06:53 +08:00
Yo-An Lin
8c53346020
Merge pull request #1160 from c9s/fix/profit-fixer
FIX: [grid2] add profit fixer and options
2023-04-26 18:17:30 +08:00
c9s
77f6c6bb46
bbgo: lock strategy before we sync data 2023-04-26 18:07:29 +08:00
c9s
036bae692e
grid2: move emitGridReady to earlier 2023-04-26 18:07:29 +08:00