c9s
|
8aec251a62
|
max: fix v3 loan/repay api path
|
2022-06-02 01:41:41 +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
|
5bb98734fb
|
batch: set jump if empty field
|
2022-06-01 19:40:29 +08:00 |
|
c9s
|
484fc62892
|
batch: set jump if empty field
|
2022-06-01 19:40:29 +08:00 |
|
c9s
|
5eaa4706f0
|
binance: set exchange field for margin records
|
2022-06-01 19:40:29 +08:00 |
|
c9s
|
bf92e28461
|
service: implement margin service for syncing margin related data
|
2022-05-31 17:43:17 +08:00 |
|
c9s
|
c3f2c9eb4a
|
batch: add margin loan/repay/interest batch query
|
2022-05-31 01:19:38 +08:00 |
|
c9s
|
e66eb08db4
|
batch: refactor batch query
|
2022-05-31 00:59:33 +08:00 |
|
c9s
|
d72b56f51f
|
binance: refine liquidation history api
|
2022-05-30 18:08:54 +08:00 |
|
c9s
|
61a53947ee
|
binance: re-organize convert functions
|
2022-05-29 12:03:21 +08:00 |
|
c9s
|
11075b0d1a
|
cmd: add marginInterestsCmd
|
2022-05-29 12:01:20 +08:00 |
|
c9s
|
70f0dccb9f
|
binance: convert loans and repays to global types
|
2022-05-29 11:52:25 +08:00 |
|
c9s
|
409ad9b75c
|
binance: adjust margin history interface
|
2022-05-29 01:42:08 +08:00 |
|
c9s
|
f58f44ffd8
|
binance: refactor query methods
|
2022-05-29 01:21:43 +08:00 |
|
c9s
|
4c30fce917
|
binance: add GetMarginInterestHistoryRequest api
|
2022-05-29 01:13:33 +08:00 |
|
c9s
|
e72f8bcd15
|
binance: fix and rename margin liquidation history request
|
2022-05-29 00:57:46 +08:00 |
|
c9s
|
1ab10eb574
|
binance: fix and add loan/repay history test
|
2022-05-29 00:52:22 +08:00 |
|
c9s
|
4f0ac41850
|
max: generate missing files
|
2022-05-28 16:52:02 +08:00 |
|
c9s
|
fcdf0f8168
|
max: rename methods
|
2022-05-28 16:48:51 +08:00 |
|
c9s
|
753d7a8d5e
|
max: rename requests
|
2022-05-28 16:47:41 +08:00 |
|
c9s
|
cef002ccb6
|
move type alias
|
2022-05-28 16:06:16 +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
|
d792f3b83b
|
max: drop unused url ref vars
|
2022-05-27 16:46:56 +08:00 |
|
c9s
|
60d65a390f
|
max: add margin api (liquidation history and interest history)
|
2022-05-27 16:40:56 +08:00 |
|
c9s
|
410a9610c9
|
max: add margin api (loan, repay, ad ratio)
|
2022-05-27 16:13:01 +08:00 |
|
c9s
|
37ef5c4b97
|
max: add margin api (liquidation history and interest history)
|
2022-05-27 15:04:47 +08:00 |
|
c9s
|
8721679f74
|
max: update market struct fields
|
2022-05-26 20:32:25 +08:00 |
|
c9s
|
d9e10b7fcd
|
max: integrate v3 orders api
|
2022-05-26 19:52:38 +08:00 |
|
c9s
|
6ca71cf9f1
|
max: simplify constructor
|
2022-05-26 18:49:50 +08:00 |
|
c9s
|
2d20083244
|
max: pull out http transport and register order service v3
|
2022-05-26 18:49:18 +08:00 |
|
c9s
|
c1ba270d76
|
max: log max.DebtEvent
|
2022-05-26 18:07:17 +08:00 |
|
c9s
|
4d8ea7d979
|
max: log adratio
|
2022-05-25 20:34:25 +08:00 |
|
c9s
|
459d839c1a
|
max: parse debt
|
2022-05-25 20:12:16 +08:00 |
|
c9s
|
2ffbb2ed82
|
max: add ad_ratio_update type
|
2022-05-25 20:06:51 +08:00 |
|
c9s
|
a74ad31ea0
|
max: parse ADRatio message
|
2022-05-25 20:06:17 +08:00 |
|
c9s
|
83abf14f3b
|
max: add updateTime field parse
|
2022-05-25 19:52:29 +08:00 |
|
c9s
|
f65821d4fd
|
max: add mwallet message type to parser
|
2022-05-25 14:42:45 +08:00 |
|
c9s
|
9f0d975b57
|
max: add filters when margin is on
|
2022-05-25 14:40:43 +08:00 |
|
c9s
|
e5e505d65e
|
max: apply margin settings struct
|
2022-05-25 14:38:09 +08:00 |
|
c9s
|
eccee460ca
|
max: add filters field to the auth message
|
2022-05-25 13:51:24 +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
|
9d459612a4
|
maxapi: add wallet type validation
|
2022-05-24 18:00:52 +08:00 |
|
c9s
|
79893f4b88
|
define wallet type and separate wallet order api
|
2022-05-24 17:48:08 +08:00 |
|
c9s
|
c6ede883ce
|
add max v3 api
|
2022-05-24 17:40:00 +08:00 |
|
c9s
|
a66bae47fe
|
add v3 order endpoint
|
2022-05-23 18:34:08 +08:00 |
|
c9s
|
d88e41c20c
|
remove unused client field
|
2022-05-23 15:48:44 +08:00 |
|
c9s
|
35375c84c1
|
use requestgen.BaseAPIClient
|
2022-05-23 14:28:28 +08:00 |
|
c9s
|
b9f0159537
|
add error handling
|
2022-05-20 18:57:41 +08:00 |
|
c9s
|
b8eb036556
|
simplify ftx kline sync call
|
2022-05-20 14:06:37 +08:00 |
|
c9s
|
13bf5d69a3
|
use types.Interval instead of string
|
2022-05-19 10:04:03 +08:00 |
|
Zenix
|
356ec71570
|
Merge pull request #610 from zenixls2/feature/liveSLTP
feature: SLTP from bookticker. fix: bookTicker typename, depth buffer…
|
2022-05-16 20:41:15 +09:00 |
|
Yo-An Lin
|
f37e407f99
|
Merge pull request #614 from jessy1092/ftx-support-interval
ftx: Let FTX support 4hr interval
|
2022-05-16 01:43:17 +08:00 |
|
Lee
|
8797e18959
|
ftx: Let FTX support 4hr interval
|
2022-05-16 01:23:38 +08:00 |
|
zenix
|
71fe6c2d26
|
feature: SLTP from bookticker. fix: bookTicker typename, depth buffer error message
|
2022-05-12 19:43:04 +09:00 |
|
zenix
|
c81af9ce91
|
fix: binance futures sync issue
|
2022-05-09 15:04:51 +09:00 |
|
c9s
|
3af08abef2
|
ftx: fix ftx api get markets request
|
2022-05-08 18:36:25 +08:00 |
|
Yo-An Lin
|
c3c35c2240
|
Merge pull request #575 from c9s/feature/binance-margin-load-api
feature: binance: add get deposit address request
|
2022-05-06 11:53:50 +08:00 |
|
c9s
|
019e6a2a88
|
improve legacy state handling and move fnv
|
2022-05-05 14:39:29 +08:00 |
|
c9s
|
f65ecbdbb5
|
max: add net asset field to max's balance
|
2022-05-04 21:43:59 +08:00 |
|
c9s
|
c4e1cd9480
|
binanceapi: add GetForceLiquidationRecordRequest api
|
2022-05-04 16:27:28 +08:00 |
|
c9s
|
2008f179a2
|
binance: add GetDepositHistoryRequest
|
2022-05-04 16:27:28 +08:00 |
|
c9s
|
ed8ff89f34
|
binance: add type alias from github.com/adshao/go-binance/v2
|
2022-05-04 16:27:28 +08:00 |
|
c9s
|
434434c8d9
|
binanceapi: add withdraw request
|
2022-05-04 16:27:28 +08:00 |
|
c9s
|
0fd560d699
|
binance: add NewGetDepositAddressRequest api
|
2022-05-04 16:27:28 +08:00 |
|
c9s
|
c3c1666154
|
binance: add get deposit address request
|
2022-05-04 16:27:28 +08:00 |
|
Yo-An Lin
|
81ce9218b5
|
Merge pull request #580 from c9s/fix/okex-rate-limit
fix: fix okex rate limit
|
2022-05-03 12:40:46 +08:00 |
|
c9s
|
eb10889d35
|
okex: fix okex rate limit
|
2022-05-03 12:11:50 +08:00 |
|
c9s
|
b611a42bd9
|
kucoin: fix kucoin rate limit
|
2022-05-03 12:11:02 +08:00 |
|
c9s
|
d742aea633
|
okex: fix kline query
|
2022-05-03 11:14:53 +08:00 |
|
Yo-An Lin
|
a954f0e595
|
use time.UTC instead of time.Local
|
2022-04-29 14:06:22 +08:00 |
|
c9s
|
1f736d1f5e
|
binance: update stream order fields
|
2022-04-27 14:43:39 +08:00 |
|
c9s
|
ce6fd387be
|
remove unused ConvertTrades
|
2022-04-27 14:29:58 +08:00 |
|
c9s
|
23dd60728e
|
binance: fix error check
|
2022-04-26 16:51:41 +08:00 |
|
c9s
|
6c29e10caf
|
binance: improve binary error check
|
2022-04-26 16:43:40 +08:00 |
|
c9s
|
cbec4ac199
|
binance: improve query trades conditions for start time and end time
|
2022-04-26 15:58:12 +08:00 |
|
c9s
|
a57a238e09
|
bbgo: add more sync options
|
2022-04-25 17:18:42 +08:00 |
|
c9s
|
76012f0b71
|
max: deposit request currency field is optional
|
2022-04-25 16:27:07 +08:00 |
|
c9s
|
c70317af2b
|
add autoborrow strategy
|
2022-04-23 15:00:04 +08:00 |
|
c9s
|
a1c9bd7ec8
|
all: add AccountTypeIsolatedMargin
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
98a696a7d0
|
all: calculate MarginTolerance
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
76733898db
|
binance: add QueryMarginAssetMaxBorrowable api
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
37b5d80f6f
|
add margin repay and borrow api
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
c2d1ef0fc8
|
add margin borrow endpoint
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
a8fdd8006c
|
binance: add transferCrossMarginAccount method
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
ecc19e1efd
|
binance: assign more margin fields to account
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
cf2e8c9f0a
|
all: extend balance field for margin
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
fbe1906e70
|
binance: add more fields to the balance struct
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
304cc89f68
|
binance: always sort trades back
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
2f5f02523f
|
fix typpo
|
2022-04-23 00:10:27 +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
|
93b10f20ac
|
maxapi: fix fromID to uint64
|
2022-04-21 13:18:00 +08:00 |
|
c9s
|
e754b68cdf
|
maxapi: fix http timeout
|
2022-04-21 13:17:43 +08:00 |
|
c9s
|
0410ef1305
|
maxapi: refactor rewards api
|
2022-04-21 00:18:34 +08:00 |
|
c9s
|
8b9383ecfa
|
maxapi: refactor withdrawal request
|
2022-04-20 16:38:08 +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
|
ff7f1a8bc8
|
maxapi: always merge params into the payload for signing
|
2022-04-20 12:18:35 +08:00 |
|
c9s
|
4d8997a8d5
|
max: pass context background to the request
|
2022-04-20 12:18:35 +08:00 |
|
c9s
|
5cba6a6133
|
maxapi: use requestgen to query and submit orders
|
2022-04-20 12:18:35 +08:00 |
|
c9s
|
93b19faa3a
|
refactor newAuthenticatedRequest
|
2022-04-20 12:18:35 +08:00 |
|
c9s
|
bf4a0169bd
|
max: update client api
|
2022-04-20 12:18:35 +08:00 |
|
kfrico
|
bd4a932571
|
fix ftx pollKines bug
|
2022-04-19 21:29:45 +08:00 |
|
c9s
|
897dc55dcf
|
binance: fix margin balance convert
|
2022-04-13 15:38:13 +08:00 |
|
c9s
|
ea47e54318
|
kucoin: fix query parameter issues
|
2022-04-12 23:45:11 +08:00 |
|
c9s
|
6972838c34
|
add query attribute
|
2022-04-12 23:26:48 +08:00 |
|
c9s
|
a34dbf12e2
|
kucoin: fix trades sync
|
2022-04-12 23:25:56 +08:00 |
|
c9s
|
680261527c
|
binance: fix closed order query
|
2022-04-11 15:39:03 +08:00 |
|
austin362667
|
3f3fb1fe35
|
binance: fix futures limit maker order type
|
2022-03-28 21:12:45 +08:00 |
|
c9s
|
0511a0fde3
|
kucoin: convert limit maker to limit order type with postOnly
|
2022-03-28 17:09:00 +08:00 |
|
zenix
|
cb66f18b54
|
feature: add ftx market trade implementation
|
2022-03-23 19:12:49 +09:00 |
|
Yo-An Lin
|
ae4a3d81fb
|
Merge pull request #489 from zenixls2/feature/market_trade
feature: add market trade subscription in binance
|
2022-03-22 20:18:39 +08:00 |
|
zenix
|
abbe04fae9
|
fix: parse market trade as taker trade
|
2022-03-22 11:02:14 +09:00 |
|
austin362667
|
eca112e201
|
binance: add submit futures order ReduceOnly
|
2022-03-21 17:56:11 +08:00 |
|
Yo-An Lin
|
53b1eef4fc
|
kucoin: adjust rate limiter
|
2022-03-21 15:36:31 +08:00 |
|
c9s
|
6c201d1868
|
kucoin: adjust rate limit to req/3sec
|
2022-03-18 17:43:14 +08:00 |
|
c9s
|
9757ca290b
|
kucoin: add trades, orders rate limiter
|
2022-03-18 17:33:10 +08:00 |
|
zenix
|
efec21ca4b
|
feature: add market trade subscription in binance
|
2022-03-18 18:30:39 +09:00 |
|
zenix
|
84dbae1592
|
add readme content about testnet, fix code syntax
|
2022-03-18 14:17:06 +09:00 |
|
zenix
|
36a746d415
|
add binance paper trade endpoint
|
2022-03-18 14:04:56 +09:00 |
|
c9s
|
d1f4c0a225
|
max: fix kline parse
|
2022-03-15 16:07:19 +08:00 |
|
Yo-An Lin
|
bfdf4c245f
|
Merge pull request #460 from zenixls2/feature/backtest_multiple_exchange
feature: add multiple exchange support in backtest
|
2022-03-07 14:28:20 +08:00 |
|
c9s
|
fcbdf8162a
|
max: add env var MAX_QUERY_CLOSED_ORDERS_LIMIT
|
2022-03-07 13:56:20 +08:00 |
|
zenix
|
39572c5fe0
|
fix: remove maker/buyer/taker/sellerCommission
|
2022-03-07 14:32:00 +09:00 |
|
c9s
|
e23232c3e7
|
max: fix timeInForce conversion
|
2022-03-06 18:37:34 +08:00 |
|
c9s
|
586013d9f2
|
max: fix order update message
|
2022-03-06 18:33:21 +08:00 |
|
c9s
|
af2070b908
|
binance: add updated time field
|
2022-03-06 18:32:33 +08:00 |
|
c9s
|
b8f54ed4b9
|
ftx: print result directly
|
2022-03-03 15:04:53 +08:00 |
|
c9s
|
86af4d2b40
|
ftx: rewrite order cancel handling
|
2022-03-03 14:52:24 +08:00 |
|
c9s
|
dd76cfafa4
|
ftx: remove legacy orderRequest from the legacy rest
|
2022-03-03 12:33:44 +08:00 |
|
c9s
|
c9f2027a38
|
ftx: remove the legacy orderRequest
|
2022-03-03 11:55:00 +08:00 |
|
c9s
|
5ea01c8d80
|
regenerate symbol map
|
2022-03-03 11:44:01 +08:00 |
|
c9s
|
eaa81f1313
|
ftx: remove legacy balances method
|
2022-03-03 11:43:15 +08:00 |
|
c9s
|
270ae51c9b
|
ftx: remove legacy PlaceOrderPayload
|
2022-03-03 11:42:57 +08:00 |
|
c9s
|
2510f14d53
|
ftx: remove legacy place order request method
|
2022-03-03 11:42:40 +08:00 |
|
c9s
|
5bbb796e94
|
ftx: clean up imports
|
2022-03-03 11:42:25 +08:00 |
|
c9s
|
37db477ece
|
ftx: remove legacy method CancelOrderByClientID
|
2022-03-03 11:42:13 +08:00 |
|
c9s
|
60ad6bc901
|
ftx: remove legacy CancelOrderByOrderID method
|
2022-03-03 11:41:51 +08:00 |
|
c9s
|
064da7f938
|
ftx: remove legacy open orders method
|
2022-03-03 11:40:23 +08:00 |
|
c9s
|
a47924d1c9
|
ftx: remove legacy order history method
|
2022-03-03 11:40:03 +08:00 |
|
c9s
|
6ae588575a
|
ftx: remove legacy market api method
|
2022-03-03 11:39:11 +08:00 |
|
c9s
|
2845e03100
|
ftx: fix ftx test cases
|
2022-03-03 01:47:19 +08:00 |
|
c9s
|
3f8f17b1de
|
ftx: reimplement submit order api
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
3b601d73ce
|
ftx: remove legacy fills requests
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
4321cab557
|
ftx: drop the legacy unused account request
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
688445d7e7
|
cmd: add get-order cmd
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
95daa004aa
|
ftx: implement get order status api
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
14bcc780a4
|
ftxapi: add cancel order by client order id
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
07dd2e8d9c
|
ftx: improve order cancel by client order id
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
5cfc266d7a
|
ftx: simplify and replace the order history query
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
5c8997e293
|
ftx: fix ftx order status isWorking
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
66700016e4
|
ftx: add toGlobalOrderNew to convert new order structure
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
e9e1127d3e
|
ftx: replace query markets api
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
883f0ed83a
|
ftxapi: replace fill implementation
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
833354e553
|
ftx: replace QueryTrades implementation
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
9c371425f6
|
ftx: replace QueryAccount implementation
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
84bc170a2e
|
ftxapi: use order types
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
03f0305b3d
|
ftxapi: add fills request
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
14a49989fe
|
ftxapi: define types
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
cd0ac71b99
|
ftxapi: separate request files
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
abc425d820
|
ftx: fix ftx api client
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
93992801f9
|
ftxapi: add order history request
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
9e350afed5
|
ftxapi: add get coins api
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
3601edab84
|
ftxapi: add get single market api
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
2a6310c5f5
|
ftxapi: add get markets api
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
94ee46787e
|
ftxapi: add generated files
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
7ed2e352d9
|
ftx: rewrite ftxapi
|
2022-03-03 00:30:52 +08:00 |
|
c9s
|
208a9bcb7d
|
fix: fix context error handling
|
2022-02-18 18:21:51 +08:00 |
|
c9s
|
849f2a248e
|
ftx: check context error
|
2022-02-18 15:35:58 +08:00 |
|
c9s
|
3a488a4c0f
|
ftx: add ioc order test
|
2022-02-18 14:50:54 +08:00 |
|
c9s
|
17034b2467
|
ftx: fix ioc convert
|
2022-02-18 14:10:21 +08:00 |
|
c9s
|
f6ebeeafc5
|
ftx: cast time in force from the order result
|
2022-02-18 14:07:29 +08:00 |
|
c9s
|
d0f1e2db04
|
ftx: fix ftx ioc conversion
|
2022-02-18 14:01:47 +08:00 |
|
c9s
|
fb9f8b484c
|
max: remove ioc limit type
|
2022-02-18 13:57:47 +08:00 |
|
c9s
|
0c09e6b32a
|
use global timeInForce type
|
2022-02-18 13:52:13 +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
|
2ccc449657
|
fix xpuremaker,xnav,techsignal,support,etf and add methods in fixedpoint
|
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 |
|
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 |
|
ankion
|
98b4495d1f
|
Fix: precision of futures trade data is incorrect.
|
2022-02-14 10:32:13 +08: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 |
|
Yo-An Lin
|
d79cce30e3
|
Merge pull request #443 from austin362667/refactor/futures-account
binance: add futures broker
|
2022-01-26 14:11:48 +08:00 |
|
c9s
|
6286c50f7a
|
max: always sort trades
|
2022-01-24 23:59:10 +08:00 |
|
c9s
|
0bf6e533e0
|
kucoin: fix closed orders query
|
2022-01-24 23:56:48 +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
|
e8fd1486b1
|
binance: fix binance closed order sync
|
2022-01-23 16:19:13 +08:00 |
|
austin362667
|
5a4adf4d72
|
binance: add futures broker
|
2022-01-23 15:26:15 +08:00 |
|
c9s
|
4d921b0b36
|
kucoin: fix klines ordering
|
2022-01-19 18:33:54 +08:00 |
|
Yo-An Lin
|
0e0525be99
|
Merge pull request #418 from austin362667/refactor/futures-account
binance: add futures exchange api queries
|
2022-01-17 20:54:49 +08:00 |
|
austin362667
|
0ab94e0884
|
binance: fix err handler
|
2022-01-15 08:28:02 +08:00 |
|
austin362667
|
734221028b
|
binance: fix parse type
|
2022-01-15 08:28:02 +08:00 |
|
austin362667
|
9a1d2cba31
|
binance: add account info in query account
|
2022-01-15 08:28:02 +08:00 |
|
austin362667
|
32c2f128f5
|
binance: add TradeFutures
|
2022-01-15 08:28:02 +08:00 |
|
austin362667
|
8130ef78c1
|
binance: refactor margin related conversions
|
2022-01-15 08:28:02 +08:00 |
|
austin362667
|
5404bfe7f8
|
binance: fix futures symbol not found from syncSession
binance: fix query trades, closed orders futures symbol not found
binance: fix futures symbol not found
|
2022-01-15 08:28:02 +08:00 |
|
austin362667
|
0f0539fe70
|
binance: add futures exchange queries
|
2022-01-15 08:28:02 +08:00 |
|
austin362667
|
6071c07073
|
binance: add futures conversion
|
2022-01-15 08:28:02 +08:00 |
|
Lee
|
f6c70bdfcb
|
ftx: Separate the lastClosed record for different interval
|
2022-01-15 05:12:45 +08:00 |
|
c9s
|
140e5638b8
|
binance: apply order cancel rate limiter
|
2022-01-15 00:52:54 +08:00 |
|
c9s
|
ec72a922c8
|
all: add subscribe depth options
|
2022-01-12 22:27:42 +08:00 |
|
c9s
|
f9e72dc79f
|
binance: subscribe binance depth10@100ms
|
2022-01-12 22:17:07 +08:00 |
|
c9s
|
1a61935850
|
add depth buffer logs
|
2022-01-12 21:55:26 +08:00 |
|
c9s
|
8c2228f428
|
cmd: use time.Local for the local timezone
|
2022-01-12 15:33:04 +08:00 |
|
Yo-An Lin
|
30c1dd3e3d
|
Merge pull request #424 from tony1223/bug/binance-add-ratelimiter
fix: [binance] add order rate limiter
|
2022-01-12 12:53:51 +08:00 |
|
Yo-An Lin
|
c2b121f9ee
|
Merge pull request #432 from jessy1092/ftx/support-limit-maker
ftx: Support LIMIT_MAKER and IOC_LIMIT order type
|
2022-01-12 12:50:57 +08:00 |
|
Lee
|
523d9b3071
|
ftx: Support LIMIT_MAKER and IOC_LIMIT order type
|
2022-01-12 03:47:12 +08:00 |
|
c9s
|
b302adcc7e
|
types: add and use OrderError
|
2022-01-11 18:00:07 +08:00 |
|
c9s
|
857db529af
|
binance: show order info in the error
|
2022-01-11 17:05:36 +08:00 |
|
c9s
|
b56c800e12
|
binance: add order status to the error message
|
2022-01-11 16:47:55 +08:00 |
|
c9s
|
97422f26e7
|
binance: should return error when order does not contain orderID or clientOrderID
|
2022-01-11 16:38:02 +08:00 |
|
c9s
|
96ffab9cd8
|
binance: add details to order cancel error
|
2022-01-11 16:35:49 +08:00 |
|
c9s
|
4a8751e486
|
binance: fix listen key keep alive worker call
|
2022-01-11 14:16:35 +08:00 |
|
c9s
|
eefee46e9b
|
binance: invert if
|
2022-01-11 13:38:03 +08:00 |
|
c9s
|
cf07ca7aa0
|
binance: adjust listen key update interval to longer period
|
2022-01-11 13:37:02 +08:00 |
|
c9s
|
71a0604e72
|
use fixedpoint to parse payload directly
|
2022-01-11 01:41:33 +08:00 |
|
c9s
|
e5b4af53e6
|
all: clean up SubmitOrder fields
|
2022-01-11 01:36:19 +08:00 |
|
c9s
|
4b0e721580
|
binance: change binance debug client env var name to debug-binance-client
|
2022-01-10 16:37:41 +08:00 |
|
TonyQ
|
25801f9f63
|
add ratelmiter
|
2022-01-10 16:33:19 +08:00 |
|
c9s
|
6c3ee314d9
|
binance: fix order cancel client order id usage
|
2022-01-10 13:29:27 +08:00 |
|
c9s
|
8b6cae9107
|
max: fix max authenticated event parsing
|
2022-01-02 12:20:38 +08:00 |
|
c9s
|
e04139a330
|
max: clean up and refactor max stream
|
2022-01-02 12:02:36 +08:00 |
|
c9s
|
cc0e5f71b0
|
clean up binance stream
|
2022-01-02 12:02:36 +08:00 |
|
Yo-An Lin
|
b22bb4b28d
|
Merge pull request #416 from tony1223/bug/415-ftx-kline
exchange/ftx: #415 fix kline issue
|
2022-01-02 02:46:22 +08:00 |
|
c9s
|
85c14e5966
|
binance: fix parser tests
|
2022-01-02 02:44:47 +08:00 |
|
c9s
|
dcea623264
|
binance: change listen key update interval to 10 minutes
|
2022-01-02 02:41:58 +08:00 |
|
c9s
|
96fedfd311
|
okex: refactor okex stream
|
2022-01-02 02:37:33 +08:00 |
|
TonyQ
|
8315607de3
|
exchange/ftx: #415 fix kline issue
|
2022-01-02 02:34:29 +08:00 |
|
c9s
|
9d382a6b8c
|
binance: use sync.Once to protect the set server time calls
|
2022-01-02 02:14:04 +08:00 |
|
c9s
|
ffe216ca2d
|
kucoin: remove unused fields
|
2022-01-02 02:11:55 +08:00 |
|
c9s
|
76d11af284
|
kucoin: fix connection field
|
2022-01-02 02:11:36 +08:00 |
|
c9s
|
f4bfd8cc6b
|
all: move Reconnector to standard stream
|
2022-01-02 02:08:34 +08:00 |
|
c9s
|
6f6dac611e
|
refactor websocket stream into standard websocket stream
|
2022-01-02 01:54:47 +08:00 |
|
c9s
|
ab0519c4be
|
start time is required for syncing trades
|
2022-01-01 02:50:07 +08:00 |
|
c9s
|
7d64a30a6b
|
kucoin: fix launch date with local time zone
|
2022-01-01 02:45:47 +08:00 |
|
c9s
|
129f44bbcb
|
fix empty start time sync issue
|
2022-01-01 02:43:08 +08:00 |
|
c9s
|
25f01b8837
|
kucoin: refactor ticker request
|
2022-01-01 02:07:48 +08:00 |
|
c9s
|
be408055a6
|
kucoin: refactor account service api
|
2022-01-01 02:04:20 +08:00 |
|
c9s
|
6d5ab33d17
|
kucoin: fix kucoin order query
|
2022-01-01 01:28:29 +08:00 |
|
c9s
|
556a581ae1
|
kucoin: add kucoin list history orders request
|
2022-01-01 00:46:33 +08:00 |
|
c9s
|
eba33329d1
|
always sort orders and trades in the batch query
|
2021-12-31 14:12:41 +08:00 |
|
c9s
|
2a8caa3780
|
batch: show trade sync time range in the message
|
2021-12-31 13:56:53 +08:00 |
|
c9s
|
20c6c7eb9a
|
all: fix trade, order sync for kucoin
|
2021-12-31 13:52:16 +08:00 |
|
c9s
|
5f84f13e21
|
kucoin: fix trade time field issue
|
2021-12-31 13:20:34 +08:00 |
|
c9s
|
e09b4fa5fb
|
kucoin: rewrite cancel all orders request
|
2021-12-31 01:50:56 +08:00 |
|
c9s
|
6addd503aa
|
kucoin: generate PlaceOrderRequest with requestgen
|
2021-12-31 01:43:31 +08:00 |
|
c9s
|
af19875e2e
|
kucoin: fix predefined generate command alias
|
2021-12-31 01:39:45 +08:00 |
|
c9s
|
b91bf10a7c
|
kucoin: remove New prefix from the requests
|
2021-12-31 01:36:41 +08:00 |
|
Yo-An Lin
|
8aef3c002a
|
Merge pull request #412 from austin362667/refactor/futures-account
binance: add futures stream
|
2021-12-31 01:27:34 +08:00 |
|
c9s
|
b8b5ccdd2d
|
kucoin: refactor account service with requestgen
|
2021-12-31 01:25:04 +08:00 |
|
austin362667
|
9483a0d10d
|
binance: modify methods for registering callbacks
|
2021-12-31 00:11:47 +08:00 |
|
austin362667
|
65d37c1983
|
binance: add futures stream
|
2021-12-31 00:08:27 +08:00 |
|
austin362667
|
5cc768031e
|
binance: add FuturesPosition conversion
|
2021-12-31 00:08:27 +08:00 |
|
c9s
|
3c2704c4ae
|
add binance.us support
|
2021-12-30 23:46:43 +08:00 |
|
c9s
|
ba73d5a09a
|
fix kucoin orderTime parsing and order id conversion
|
2021-12-30 22:02:50 +08:00 |
|
c9s
|
76d31e7614
|
kucoin: add client order ID to converter
|
2021-12-30 21:39:50 +08:00 |
|
c9s
|
cfc66dc13e
|
bbgo: add session connection notification
|
2021-12-30 17:18:04 +08:00 |
|
c9s
|
8995ce2824
|
binance: adjust timeout
|
2021-12-30 16:51:30 +08:00 |
|
c9s
|
890fb5327a
|
rename StreamRequest to WebSocketCommand
|
2021-12-30 16:49:07 +08:00 |
|
c9s
|
35e0b1d146
|
binance: fix binance stream graceful shutdown
|
2021-12-30 16:47:39 +08:00 |
|
c9s
|
ff87fb007e
|
binance: pull out dispatchEvent
|
2021-12-30 16:30:02 +08:00 |
|
c9s
|
bae7df806f
|
binance: pull out getEndpointUrl
|
2021-12-30 16:22:29 +08:00 |
|
c9s
|
d72d57526c
|
binance: add DEBUG_BINANCE_STREAM env var
|
2021-12-30 16:20:32 +08:00 |
|
c9s
|
a2931da92c
|
move math rand
|
2021-12-30 16:18:32 +08:00 |
|
c9s
|
e73866a232
|
tmp
|
2021-12-30 16:17:26 +08:00 |
|
c9s
|
844b3c2e8e
|
fix kucoin context issue
|
2021-12-30 15:58:58 +08:00 |
|
c9s
|
3b9a191c95
|
binance: refactor binance stream handlers
|
2021-12-30 14:02:36 +08:00 |
|
c9s
|
f540742b42
|
add tradeType field
|
2021-12-30 02:37:17 +08:00 |
|
c9s
|
3cf499b605
|
kucoin: rewrite GetAllTickersRequest api
|
2021-12-30 02:33:07 +08:00 |
|
c9s
|
0fc91500e4
|
kucoin: rewrite GetTickerRequest with requestgen
|
2021-12-30 02:22:33 +08:00 |
|
c9s
|
5136001c9b
|
kucoin: rewrite ListSymbolsRequest
|
2021-12-30 02:17:03 +08:00 |
|
c9s
|
41435458d1
|
refactor orderbook requests with requestgen
|
2021-12-30 01:15:19 +08:00 |
|
c9s
|
2c0af99a51
|
rewrite kucoin bullet api with requestgen
|
2021-12-29 22:06:21 +08:00 |
|
c9s
|
8f97ee7787
|
binance: add isolated margin flag
|
2021-12-29 17:36:08 +08:00 |
|
c9s
|
2ef4d713f8
|
binance: fix margin order cancel
|
2021-12-29 17:35:27 +08:00 |
|
c9s
|
1a820936c4
|
binance: change log level from info to debug
|
2021-12-29 17:30:04 +08:00 |
|
c9s
|
6030a62cf0
|
change to debug level message
|
2021-12-29 17:28:45 +08:00 |
|
c9s
|
b637d46c83
|
adjust keep alive interval
|
2021-12-29 17:27:37 +08:00 |
|
c9s
|
eec699cbc9
|
binance: adjust timeout and interval
|
2021-12-29 15:25:59 +08:00 |
|
austin362667
|
d691bfa106
|
binance: add futures parser
|
2021-12-28 06:26:27 +08:00 |
|
c9s
|
1fa03cdfd6
|
xmaker: add back profit function
|
2021-12-27 02:59:55 +08:00 |
|
c9s
|
c49b9ef276
|
fix order status convert
|
2021-12-27 00:21:52 +08:00 |
|
c9s
|
e08b2e9a85
|
fix max exchange order status conversion and document the order status
|
2021-12-26 15:58:12 +08:00 |
|
c9s
|
e44390b655
|
kucoin: add more comment
|
2021-12-26 03:19:03 +08:00 |
|
c9s
|
9b8995acea
|
fix supportedIntervals map
|
2021-12-26 03:17:26 +08:00 |
|