Commit Graph

6926 Commits

Author SHA1 Message Date
c9s
86a99b5902
grid2: truncate max base quantity 2023-05-19 13:56:01 +08:00
c9s
c5e7a78067
types: add RoundDownQuantityByPrecision 2023-05-18 18:26:14 +08:00
c9s
0bb697bc1e
maxapi: move NewGetMarginLoanHistoryRequest method to the bottom of the file 2023-05-18 18:26:03 +08:00
Yo-An Lin
df842a04ee
Merge pull request #1171 from c9s/feature/bitget
FEATURE: Add types.StrInt64 for decoding integer in JSON string format
2023-05-18 18:19:12 +08:00
c9s
2fe915f73a
types: add MarshalJSON method on strint64 2023-05-18 18:08:40 +08:00
c9s
9c6de12e19
types: add StrInt64 type for unmarshalling integer in string 2023-05-18 17:32:15 +08:00
Yo-An Lin
10311f5c93
Merge pull request #1169 from c9s/feature/bitget
WIP: FEATURE: add bitget exchange support
2023-05-18 16:24:26 +08:00
c9s
b32d890860
bitgetapi: add GetFillsRequest 2023-05-18 15:59:16 +08:00
c9s
fce281b6a8
bitgetapi: add GetOrderHistoryRequest 2023-05-18 15:47:58 +08:00
c9s
312c8baeb3
bitget: add open orders request 2023-05-18 15:38:57 +08:00
c9s
ae1c1377ce
bitget: define OrderStatus 2023-05-18 15:37:01 +08:00
c9s
90f704bab0
bitgetapi: add get order detail request 2023-05-18 15:22:50 +08:00
c9s
51e05499b2
bitgetapi: add CancelOrderBySymbolRequest 2023-05-18 11:59:49 +08:00
c9s
0c887a6bfb
bitgetapi: add place order request api 2023-05-18 11:23:30 +08:00
c9s
a5a64fa6d4
bitgetapi: add getDepthRequest 2023-05-18 11:13:06 +08:00
c9s
cff98bc141
bitgetapi: refactor tests 2023-05-18 10:54:00 +08:00
c9s
3154961d72
bitget: add more public api tests 2023-05-17 18:04:24 +08:00
c9s
c347a2423a
bitget: update generated request files and fix account assets api data type 2023-05-17 17:53:24 +08:00
c9s
e31a6ca3c8
bitget: add GetAllTickers request 2023-05-17 16:56:39 +08:00
c9s
8932da7e3f
bitget: add get ticker request 2023-05-17 16:55:21 +08:00
c9s
b726a0e51d
bitget: add get server time request and get symbols request 2023-05-17 16:52:15 +08:00
c9s
2c88e197b6
bitget: add account api 2023-05-17 16:39:10 +08:00
c9s
feb20571e9
kucoin: split request files 2023-05-17 16:27:43 +08:00
c9s
71be12bfc3
bitget: adjust sign format 2023-05-17 16:23:39 +08:00
c9s
0886b287a4
bitget: make credential field in lower case 2023-05-17 14:45:53 +08:00
c9s
e23f4b5114
bitget: minimize api client code 2023-05-17 14:26:25 +08:00
c9s
f942f7afd8
okex: rename constant names 2023-05-17 13:45:38 +08:00
c9s
5f8bda7d72
bitget: add minimal bitget exchange 2023-05-17 13:43:21 +08:00
c9s
6bed2a31f6
all: refactor exchange factory to return the minimal implementation 2023-05-17 13:43:00 +08:00
c9s
b544d51772
types: split exchange interface 2023-05-17 13:24:04 +08:00
c9s
ee0dcc788b
add github.com/dmarkham/enumer 2023-05-16 19:26:46 +08:00
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
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