c9s
24013a82ab
Merge pull request #1546 from c9s/feat/add-exchange-field-to-market
...
FEATURE: add exchange field to types.Market
2024-02-23 18:49:31 +08:00
c9s
4aca676b4d
all: add exchange field to types.Market
2024-02-23 18:36:52 +08:00
c9s
0f001a9151
Merge pull request #1534 from c9s/edwin/okx/refine-rate-limit
...
FIX: [okx] refine okx rate limiter
2024-02-22 22:46:43 +08:00
edwin
f135b6dcc4
pkg/exchange: refine okx rate limiter
2024-02-22 09:21:04 +08:00
edwin
b6261c2516
pkg/exchange: add limit maker type to place order
2024-02-20 18:20:07 +08:00
edwin
3bd2d90e3c
pkg/exchange: allow char in place order
2024-02-20 15:14:09 +08:00
edwin
262c05f83c
pkg/exchange: fix trade id
2024-02-08 01:37:35 +08:00
Edwin
d2b45f5d58
pkg/exchange: refactor kline api
2024-01-29 20:59:53 +08:00
Edwin
c5d2047605
pkg/exchange: emit balance snapshot after authed
2024-01-17 14:15:44 +08:00
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
9297293a46
pkg/exchange: refactor query account balance
2024-01-09 15:59:05 +08:00
Edwin
188b781116
pkg/exchange: add rate limiter to ticker/tickers
2024-01-09 13:57:19 +08:00
Edwin
6e160e7a36
pkg/exchange: add rate limiter to QueryMarkets
2024-01-09 11:56:10 +08:00
Alan.sung
d200232c13
add supported interval for okex
2023-10-04 12:38:59 +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
cc55d67eeb
use default limit if not pass AND add more unit test
2023-10-03 12:29:30 +08:00
Alan.sung
648b82ead3
use NewGetTransactionHistoryRequest for QueryTrades and use billID for pagination
2023-10-02 18:47:05 +08:00
Alan.sung
6fd86fefda
add unit test for QueryTrade()
2023-10-02 10:49:33 +08:00
Alan.sung
3b63858d23
handle pagenation for QueryTrade
2023-09-27 11:06:41 +08:00
Alan.sung
ad7206271f
QueryTrades only allow query by time interval, required
2023-09-26 01:06:58 +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
9a66f82d8c
remove err since handling init for client
2023-09-07 11:25:12 +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
c9s
2c4b6e8cd1
Merge pull request #1238 from MengShue/add_unit_test_for_okex
...
TEST: add unit test for okex exchange
2023-08-24 12:44:45 +08:00
Alan.sung
a0946fbd42
use lower case in error string and add comment for IOC, FOK
2023-08-22 17:23:16 +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
Edwin
65b06ff401
pkg/exchange: add query account function
2023-08-09 14:05:57 +08:00
c9s
f942f7afd8
okex: rename constant names
2023-05-17 13:45:38 +08:00
c9s
29105eb57f
all: simplify underlying exchange submitOrder method
...
- Replace SubmitOrders with SubmitOrder
- Accept only one submit order and return one created order
- Add bbgo.BatchPlaceOrders helper method and bbgo.BatchRetryPlaceOrders method
2022-09-09 18:41:06 +08:00
zenix
ba1342cbc3
feature: add pre-commit
2022-06-17 16:07:00 +09:00
zenix
55fa4cc8f1
fix: apply gofmt on all files, add revive action
2022-06-17 16:06:59 +09:00
c9s
eb10889d35
okex: fix okex rate limit
2022-05-03 12:11:50 +08:00
c9s
d742aea633
okex: fix kline query
2022-05-03 11:14:53 +08: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
c9s
e5b4af53e6
all: clean up SubmitOrder fields
2022-01-11 01:36:19 +08:00
TonyQ
5645161403
exchange/okex: update QueryTickers behaviour
2021-12-23 01:29:43 +08:00
TonyQ
3e45035ab1
database: sqlite3 issue fix
...
database: upgrade gosqllite3 version for increasing variable amount limit
types: update kline starttime/endtime field to prevent sqlite3
time parsing issue.
fix #215
2021-12-15 14:34:31 +08:00
c9s
2223ef088c
add ftx, okex to the public exchange factory for backtest
2021-12-08 23:27:01 +08:00
c9s
f49490f986
fix websocket ping/pong issue
2021-05-28 23:34:21 +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