zenix
|
2568a81dfe
|
fix: binance time sync, exchange interval query interface, yaml for fixedpoint
|
2022-07-26 16:42:34 +09:00 |
|
c9s
|
e9faf34b5e
|
max: fix balance field for api
|
2022-07-08 17:28:07 +08:00 |
|
c9s
|
d6f2f4046a
|
max: add limit to the closed order query
|
2022-06-18 01:57:34 +08:00 |
|
zenix
|
ba1342cbc3
|
feature: add pre-commit
|
2022-06-17 16:07:00 +09:00 |
|
c9s
|
3428aeba03
|
apply default exchange fee rate
fixes #566
|
2022-06-03 03:24:34 +08:00 |
|
c9s
|
5527b3c48a
|
rename Withdrawal to Withdraw since it's a noun
|
2022-06-02 11:42:03 +08:00 |
|
c9s
|
ae8625da31
|
max: net asset should substract debt
|
2022-06-02 01:34:14 +08:00 |
|
c9s
|
92882f68f4
|
max: add borrow and repay todo
|
2022-06-02 01:28:33 +08:00 |
|
c9s
|
78f9c7d569
|
improve autoborrow checks
|
2022-06-02 01:27:04 +08:00 |
|
c9s
|
4e666dee98
|
max: implement margin borrow and repay service on max
|
2022-06-01 20:44:24 +08:00 |
|
c9s
|
01822eee28
|
max: use v3 order api to submit orders
|
2022-06-01 20:34:20 +08:00 |
|
c9s
|
50accc5a2c
|
max: fix QueryAccount for margin
|
2022-06-01 19:56:10 +08:00 |
|
c9s
|
e66eb08db4
|
batch: refactor batch query
|
2022-05-31 00:59:33 +08:00 |
|
c9s
|
fcdf0f8168
|
max: rename methods
|
2022-05-28 16:48:51 +08:00 |
|
c9s
|
887fe09b44
|
max: add margin level info the account
|
2022-05-27 19:48:03 +08:00 |
|
c9s
|
c891cc56e3
|
max: fix trades/orders parsing
|
2022-05-27 19:48:03 +08:00 |
|
c9s
|
d9e10b7fcd
|
max: integrate v3 orders api
|
2022-05-26 19:52:38 +08:00 |
|
c9s
|
e5e505d65e
|
max: apply margin settings struct
|
2022-05-25 14:38:09 +08:00 |
|
c9s
|
0ee23e0ce4
|
max: refactor order sort method into the types package
|
2022-05-24 18:07:34 +08:00 |
|
c9s
|
680231e0c5
|
max: drop legacy queryAllClosedOrders method
|
2022-05-24 18:04:33 +08:00 |
|
c9s
|
f65ecbdbb5
|
max: add net asset field to max's balance
|
2022-05-04 21:43:59 +08:00 |
|
c9s
|
9e06053c3b
|
max: rewrite and rename private trade request
|
2022-04-21 14:56:20 +08:00 |
|
c9s
|
f9908f2931
|
rewrite private trade request
|
2022-04-21 14:52:44 +08:00 |
|
c9s
|
8e2a993370
|
max: improve max closed orders syncing
|
2022-04-21 14:11:49 +08:00 |
|
c9s
|
0410ef1305
|
maxapi: refactor rewards api
|
2022-04-21 00:18:34 +08:00 |
|
c9s
|
72ea9f7e24
|
maxapi: add deposit request tests and withdrawal request tests
|
2022-04-20 14:01:18 +08:00 |
|
c9s
|
f3eafd5cd8
|
remove unused get trades method
|
2022-04-20 13:49:06 +08:00 |
|
c9s
|
387c0bfb8b
|
maxapi: rewrite vip level request
|
2022-04-20 13:35:17 +08:00 |
|
c9s
|
68abeb826b
|
maxapi: add account service tests
|
2022-04-20 13:28:39 +08:00 |
|
c9s
|
f9df65a2f8
|
maxapi: add generated files
|
2022-04-20 13:20:54 +08:00 |
|
c9s
|
5cba6a6133
|
maxapi: use requestgen to query and submit orders
|
2022-04-20 12:18:35 +08:00 |
|
c9s
|
fcbdf8162a
|
max: add env var MAX_QUERY_CLOSED_ORDERS_LIMIT
|
2022-03-07 13:56:20 +08:00 |
|
c9s
|
fb9f8b484c
|
max: remove ioc limit type
|
2022-02-18 13:57:47 +08:00 |
|
zenix
|
cdba7924b4
|
fix backtest panic when cancel fail on the last order
|
2022-02-15 12:01:39 +09:00 |
|
zenix
|
05521a98b6
|
add skeleton strategy. fix most of the tests. fix final asset value
|
2022-02-15 12:01:39 +09:00 |
|
zenix
|
b8bf2af14d
|
fixedpoint for exchange and indicators, some fixes in types
|
2022-02-15 12:01:38 +09:00 |
|
c9s
|
a2a7ef4f7a
|
exchange: implement ExchangeOrderQueryService on max and binance
|
2022-02-10 17:48:53 +08:00 |
|
c9s
|
59cc4d7243
|
max: improve max closed order query
|
2022-01-27 00:02:35 +08:00 |
|
c9s
|
6286c50f7a
|
max: always sort trades
|
2022-01-24 23:59:10 +08:00 |
|
c9s
|
f284c35b81
|
max: ensure orders are sorted ascendingly
|
2022-01-24 23:54:58 +08:00 |
|
c9s
|
04a15340bc
|
max: add warning for the uneffected conditions
|
2022-01-24 23:51:53 +08:00 |
|
c9s
|
50871c1b61
|
max: fix order query limiter call and order state for query
|
2022-01-24 23:45:56 +08:00 |
|
c9s
|
0c0a12781a
|
max: fix max exchange closed order sync
|
2022-01-24 23:18:52 +08:00 |
|
c9s
|
8c2228f428
|
cmd: use time.Local for the local timezone
|
2022-01-12 15:33:04 +08:00 |
|
c9s
|
e5b4af53e6
|
all: clean up SubmitOrder fields
|
2022-01-11 01:36:19 +08:00 |
|
c9s
|
e04139a330
|
max: clean up and refactor max stream
|
2022-01-02 12:02:36 +08:00 |
|
c9s
|
cfd68fdd1d
|
all: change trade id to uint64
|
2021-12-23 17:49:18 +08:00 |
|
c9s
|
fd2928fc82
|
types: add maker/taker fee rate fields to the account struct
|
2021-06-16 13:04:23 +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
|
5fd0ab4cd3
|
skip client order id when no client order is given
|
2021-06-07 01:03:21 +08:00 |
|
c9s
|
291fdbaf25
|
optimize max submit order api priority
|
2021-06-07 01:03:09 +08:00 |
|
c9s
|
ea78c0308b
|
add LocalSymbol field for exchange specific symbol
|
2021-05-27 00:05:43 +08:00 |
|
c9s
|
967c7e9f9d
|
xbalance: add withdrawal options
|
2021-05-26 23:24:05 +08:00 |
|
c9s
|
57a78777df
|
move Time type to types.Time
|
2021-05-21 00:10:53 +08:00 |
|
c9s
|
c4ccd8094f
|
make max client order id factory public
|
2021-05-18 09:10:43 +08:00 |
|
c9s
|
fd6fe56f32
|
implement withdrawal request on binance
|
2021-05-12 02:15:22 +08:00 |
|
c9s
|
ff7ead9bdf
|
fix max withdrawal address bug
|
2021-05-12 01:21:04 +08:00 |
|
c9s
|
61319fb4ff
|
implement Withdrawal method on max exchange
|
2021-05-12 00:23:13 +08:00 |
|
c9s
|
a70d5cbcdc
|
fix kline sync conditions
|
2021-05-05 16:33:15 +08:00 |
|
c9s
|
8fea2022e5
|
adjust rate limit for backtest data syncing
|
2021-05-02 17:46:08 +08:00 |
|
c9s
|
e87c2e271f
|
add broker id on max
|
2021-04-28 19:24:07 +08:00 |
|
David Chang
|
f884fcd45c
|
fix: add ioc trade type to order type
|
2021-04-12 14:35:46 +08:00 |
|
c9s
|
67bfc508c8
|
max: remove unnecessary log
|
2021-03-22 17:40:00 +08:00 |
|
c9s
|
111b3ba036
|
max: improve multi-order request
|
2021-03-22 17:32:22 +08:00 |
|
c9s
|
1f744b0fa5
|
convert limit maker type to post only
|
2021-03-21 12:55:33 +08:00 |
|
c9s
|
a52101b163
|
remove bps from the fee calc
|
2021-03-20 22:53:14 +08:00 |
|
c9s
|
d97275e408
|
query max account fee from the vip level api
|
2021-03-19 17:06:48 +08:00 |
|
c9s
|
714d61a829
|
add grid restore behavior
|
2021-03-16 20:04:06 +08:00 |
|
c9s
|
0246e298d2
|
apply launch date if since time is empty
|
2021-03-14 11:18:22 +08:00 |
|
c9s
|
8e85274876
|
fix used time field for withdraw
|
2021-03-14 11:18:22 +08:00 |
|
c9s
|
b25671c864
|
fix max deposits history ordering
|
2021-03-14 11:18:22 +08:00 |
|
c9s
|
75778675e3
|
fix withdraw query order
|
2021-03-14 11:18:22 +08:00 |
|
c9s
|
2d6b6e7427
|
fix withdrawal data ordering
|
2021-03-14 11:18:22 +08:00 |
|
c9s
|
4d3b1ec938
|
fix QueryWithdrawHistory and QueryDepositHistory
|
2021-03-14 11:18:22 +08:00 |
|
c9s
|
be672c89e6
|
max: update deposit and withdraw types
|
2021-03-14 11:18:22 +08:00 |
|
c9s
|
48fe6054b0
|
exchange/max: fix query reward issue
|
2021-03-10 14:18:01 +08:00 |
|
c9s
|
14830c442c
|
refactor and implement reward sync and query
|
2021-02-23 22:53:00 +08:00 |
|
c9s
|
5a7cf05701
|
integrate reward service into the sync service
|
2021-02-23 16:39:48 +08:00 |
|
c9s
|
21a4669905
|
adjust max query limiter and sync before running trader
|
2021-02-22 16:54:08 +08:00 |
|
c9s
|
59d68e7f0d
|
max: adjust trades limit to 1000
|
2021-02-22 15:03:15 +08:00 |
|
c9s
|
eaad414706
|
adjust max api call rate limiting
|
2021-02-22 15:01:05 +08:00 |
|
c9s
|
cdb7ce84c8
|
apply rate limit
|
2021-02-22 13:36:39 +08:00 |
|
c9s
|
3a89b0a714
|
improve trade sync
|
2021-02-18 18:20:18 +08:00 |
|
c9s
|
0ba595bd55
|
Fix trade sync for self trades
MAX uses one single trade for presenting self trade.
BINANCE uses two trade records for presenting self trade. the trade
creation time are the same.
|
2021-02-18 17:37:49 +08:00 |
|
c9s
|
9a7437de53
|
set default limit to 1000
|
2021-02-16 17:10:58 +08:00 |
|
c9s
|
02512805f8
|
set default query trade limit to 1000 for max
|
2021-02-16 16:32:48 +08:00 |
|
c9s
|
ffa001fc29
|
fix quantity format
|
2021-02-11 00:21:56 +08:00 |
|
ycchen
|
7a67083fbe
|
Address review feedbacks
|
2021-02-07 22:58:30 +01:00 |
|
ycchen
|
288f7257eb
|
fix testcases
|
2021-02-06 19:39:43 +01:00 |
|
ycchen
|
5fed7b81de
|
QueryTicker
|
2021-02-06 18:35:23 +01:00 |
|
ycchen
|
fa20df487e
|
feat: ticker api for types.Exchange
|
2021-02-06 14:05:26 +01:00 |
|
c9s
|
1f1e1383f3
|
fix advancedOrderCancelApi interface
|
2021-01-23 17:20:26 +08:00 |
|
c9s
|
858a8d84bb
|
groupID is an int64 field
|
2021-01-23 17:17:46 +08:00 |
|
c9s
|
4b039847b7
|
support group ID
|
2021-01-23 17:15:32 +08:00 |
|
c9s
|
275aa9494a
|
support canceling orders on max
|
2020-12-29 16:00:03 +08:00 |
|
c9s
|
1c7d3d5481
|
support max staging url orverride
|
2020-12-17 14:44:30 +08:00 |
|
c9s
|
4f399ebb9f
|
fix stop price formating
|
2020-12-03 09:25:47 +08:00 |
|
c9s
|
a86078d68c
|
max: fix tick size
|
2020-11-22 21:34:05 +08:00 |
|
c9s
|
23c19c5968
|
use fixedpoint for balances
|
2020-11-10 14:19:33 +08:00 |
|