Commit Graph

41 Commits

Author SHA1 Message Date
Edwin
11506fb605 pkg/exchange: fix queryTrades and queryOrderTrade api 2024-01-16 09:10:33 +08:00
Edwin
fa145a3622 pkg/exchange: refactor query closed order 2024-01-15 11:41:17 +08:00
Edwin
b352ae855f pkg/exchange: add query open orders 2024-01-14 15:52:54 +08:00
Edwin
373242d306 pkg/exchange: generate cancel order by requestgen 2024-01-11 11:29:04 +08:00
Edwin
260eef3b0c pkg/exchange: generate place order request by requestgen 2024-01-10 16:17:13 +08:00
Edwin
a463c02183 pkg/exchange: generate account by requestgen 2024-01-09 15:58:42 +08:00
Edwin
6d7a01ffae pkg/exchange: generate ticker request by requestgen 2024-01-09 13:57:03 +08:00
Edwin
ba5882f7b6 pkg/exchange: generate instrument request by requestgen 2024-01-09 11:55:49 +08:00
Alan.sung
b1c6e01e45 use types.StrInt64 for billID and add more comment for QueryTrades() and comment out personal unit test 2023-10-03 15:14:49 +08:00
Alan.sung
648b82ead3 use NewGetTransactionHistoryRequest for QueryTrades and use billID for pagination 2023-10-02 18:47:05 +08:00
Alan.sung
99a69f4f2f add QueryClosedOrders() and QueryTrades() for okex, also fix conflict for QueryOrderTrades() and update typo error in QueryOrderTrades() 2023-09-26 01:05:09 +08:00
Alan.sung
a47c846fa5 add QueryOrderTrades() for okex 2023-09-14 14:54:02 +08:00
Alan.sung
dbf29f8cd2 add constructor to check url error 2023-09-06 21:21:13 +08:00
Alan.sung
7550ea2be1 refactor okex to future use 2023-09-06 19:14:21 +08:00
Alan.sung
a4aa9c2eda remove mmp and mmp_post_only 2023-08-22 15:14:18 +08:00
Alan.sung
3dce63710a Fix to fit all reviews last time 2023-08-21 15:31:30 +08:00
Alan.sung
ea5b45bfe4 queryOrder() and test for it 2023-08-11 09:28:58 +08:00
Alan.sung
1c5d2dc759 add QueryOrder in okex exchange.go 2023-08-09 15:05:26 +08:00
Alan.sung
b0ccc7e51b use &PublicDataService{} to create it as a pointer object and rename ser to srv 2023-07-31 11:00:38 +09:00
Alan.sung
cba5663fac add unit test for okex exchange 2023-07-21 17:05:19 +08:00
zenix
ba1342cbc3 feature: add pre-commit 2022-06-17 16:07:00 +09:00
c9s
d742aea633
okex: fix kline query 2022-05-03 11:14:53 +08:00
c9s
74811abb36 okex: rewrite okex api request with requestgen 2021-12-13 14:55:44 +08:00
c9s
002b28f75a okex: implement candlestick api and improve kline console format 2021-05-28 20:51:10 +08:00
c9s
b430128ba1 okex: fix okex order cancellation 2021-05-28 03:05:59 +08:00
c9s
29304d14ba okex: implement submit orders and cancel order api 2021-05-28 02:45:09 +08:00
c9s
6407eab9c1 okex: convert order details into trades and orders 2021-05-28 02:21:35 +08:00
c9s
19b700dfba okex: parse and convert account information 2021-05-28 01:14:11 +08:00
c9s
777701c0cb add userdatastream cmd for testing private stream 2021-05-28 00:47:34 +08:00
c9s
c6c353b29a okex: implement QueryTickers 2021-05-27 00:05:43 +08:00
c9s
c8cb75cabc add funding rate api support 2021-05-27 00:05:43 +08:00
c9s
2bd79bcaf0 okex: add PublicDataService NewGetInstrumentsRequest 2021-05-27 00:05:43 +08:00
c9s
365b4c3837 okex: refactor trade service and fix order details api 2021-05-27 00:05:43 +08:00
c9s
5f8108f93e okex: add GetPendingOrderRequest 2021-05-27 00:05:43 +08:00
c9s
172239ddf6 okex: add order detail request 2021-05-27 00:05:43 +08:00
c9s
7e97163207 okex: implement batch place and batch cancel orders 2021-05-27 00:05:43 +08:00
c9s
1acbaefcd9 okex: implement place order and cancel order requests 2021-05-27 00:05:43 +08:00
c9s
b1aadb4bf0 okex: parse numbers as fixedpoints 2021-05-27 00:05:43 +08:00
c9s
8842208441 okex: add market ticker api support 2021-05-27 00:05:43 +08:00
c9s
e678289577 implement okex balances endpoint 2021-05-27 00:05:43 +08:00
c9s
fe269fd93d okex: implement base rest client 2021-05-27 00:05:43 +08:00