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
|
545d0f18e3
|
okex: handle kline close event
|
2021-05-27 18:43:42 +08:00 |
|
c9s
|
2844b7c3a7
|
okex: add kline command for testing kline data
|
2021-05-27 18:35:34 +08:00 |
|
c9s
|
76048633cc
|
okex: support websocket candle data
|
2021-05-27 17:55:23 +08:00 |
|
c9s
|
4fdd9d5097
|
okex: convert interval to candle types
|
2021-05-27 17:40:24 +08:00 |
|
c9s
|
1d400e281c
|
okex: convert book data to book snapshot and book update
|
2021-05-27 16:01:15 +08:00 |
|
c9s
|
884e764fe7
|
okex: order book parsing
|
2021-05-27 15:48:51 +08:00 |
|
c9s
|
03431da00c
|
okex: remove private dial method
|
2021-05-27 15:16:01 +08:00 |
|
c9s
|
f4f4304df6
|
move Dial method to StandardStream
|
2021-05-27 15:14:58 +08:00 |
|
c9s
|
7d62a7634b
|
set market data stream to public
|
2021-05-27 15:11:44 +08:00 |
|
c9s
|
18045bb1e7
|
Move ReconnectC to the StandardStream
|
2021-05-27 14:42:14 +08:00 |
|
Yo-An Lin
|
7804415873
|
Merge pull request #254 from c9s/feature/okex
feature: add okex exchange
|
2021-05-27 01:28:41 +08:00 |
|
Yo-An Lin
|
930467d9c6
|
Merge pull request #257 from jnlin/ftx/symbol-map
feat(ftx): use go generate to build symbol map
|
2021-05-27 01:28:10 +08:00 |
|
c9s
|
8c50ce725c
|
add stream callbacks
|
2021-05-27 01:07:38 +08:00 |
|
c9s
|
2538824661
|
okex: implement basic stream
|
2021-05-27 01:07:25 +08:00 |
|
c9s
|
2381df5009
|
add okex to the exchange factory
|
2021-05-27 00:35:51 +08:00 |
|
c9s
|
18daf54500
|
ftx: add LocalSymbol to test
|
2021-05-27 00:27:46 +08:00 |
|
c9s
|
5becfb99e6
|
okex: implement query account balance
|
2021-05-27 00:24:16 +08:00 |
|
c9s
|
859eaf3c2a
|
okex: add trade service function skeletons
|
2021-05-27 00:05:43 +08:00 |
|
c9s
|
c6c353b29a
|
okex: implement QueryTickers
|
2021-05-27 00:05:43 +08:00 |
|
c9s
|
c9aa0df054
|
gensymbols to generate spot symbol map
|
2021-05-27 00:05:43 +08:00 |
|
c9s
|
d8c6545d2d
|
okex: implement query ticker
|
2021-05-27 00:05:43 +08:00 |
|
c9s
|
3511bcf13f
|
okex: move go generate to the convert file
|
2021-05-27 00:05:43 +08:00 |
|
c9s
|
364e6fc990
|
okex: add local symbol convert function
|
2021-05-27 00:05:43 +08:00 |
|
c9s
|
016c60796d
|
pull out BNB currency string
|
2021-05-27 00:05:43 +08:00 |
|
c9s
|
ea78c0308b
|
add LocalSymbol field for exchange specific symbol
|
2021-05-27 00:05:43 +08:00 |
|
c9s
|
97b377da0a
|
okex: implement query markets
|
2021-05-27 00:05:43 +08:00 |
|
c9s
|
4ded82c94e
|
pull out types.Exchange interfaces to make it minimal
|
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 |
|
c9s
|
967c7e9f9d
|
xbalance: add withdrawal options
|
2021-05-26 23:24:05 +08:00 |
|
Jui-Nan Lin
|
72e7915d8d
|
feat(ftx): use go generate to build symbol map
|
2021-05-26 20:53:51 +08:00 |
|
zenix
|
698ec9911f
|
Fix error formating on depth load fail
|
2021-05-26 00:57:35 +00:00 |
|
c9s
|
9c331063f4
|
improve depth error messages
|
2021-05-26 01:31:58 +08:00 |
|
c9s
|
06e982124b
|
fix depth reset
|
2021-05-26 01:27:42 +08:00 |
|
c9s
|
07ded04a9b
|
fix depth reset
|
2021-05-26 01:20:24 +08:00 |
|
c9s
|
44ff833c91
|
binance: buffer depth events
|
2021-05-26 01:05:12 +08:00 |
|
c9s
|
edeaa597f1
|
fix loadDepthSnapshot mutex lock issue
|
2021-05-26 00:58:40 +08:00 |
|
c9s
|
47bf7a1e03
|
remove time sleep for depthframe
|
2021-05-26 00:58:40 +08:00 |
|
Yo-An Lin
|
31871143a0
|
Merge pull request #249 from jnlin/ftx/websocket-kline
Implement kline stream and subaccount feature for FTX exchange
|
2021-05-26 00:31:35 +08:00 |
|
Jui-Nan Lin
|
1dd397f900
|
fix(ftx): return original symbol if not found (e.g. BTC-PREP)
|
2021-05-25 23:29:50 +08:00 |
|
Jui-Nan Lin
|
2e749bb7a8
|
fix(ftx): always update since to avoid infinite loop
|
2021-05-25 23:21:38 +08:00 |
|
Jui-Nan Lin
|
bca57e017b
|
fix(ftx): set lastTradeID from options{} to filter trades
|
2021-05-25 23:14:49 +08:00 |
|
Jui-Nan Lin
|
2fd82ef775
|
fix(ftx): should use local symbol in fillResponse
|
2021-05-25 22:43:26 +08:00 |
|
Jui-Nan Lin
|
ab8c1ec18c
|
fix(ftx): allow subaccount to be empty
|
2021-05-25 22:12:10 +08:00 |
|
c9s
|
686dcef2c5
|
binance: fix depth snapshot buffering
|
2021-05-25 21:36:14 +08:00 |
|
Jui-Nan Lin
|
bee3b913f2
|
fix(ftx): typo
|
2021-05-25 21:30:15 +08:00 |
|
c9s
|
d3f06bc9d7
|
fix binance depth stream buffering
|
2021-05-25 19:13:10 +08:00 |
|
Jui-Nan Lin
|
1318f221b2
|
fix(ftx): iterate subscription arraywhile polling klines
|
2021-05-25 18:37:48 +08:00 |
|
Jui-Nan Lin
|
a7a141c3ea
|
fix(ftx): rename to pollKLines()
|
2021-05-24 14:21:40 +08:00 |
|
Jui-Nan Lin
|
239d55ce33
|
fix(ftx): use ID()
|
2021-05-24 14:18:40 +08:00 |
|
Jui-Nan Lin
|
9226d086b3
|
fix(ftx/rest): use Id() to make rest requests
|
2021-05-24 11:20:39 +08:00 |
|
Jui-Nan Lin
|
7fd3375741
|
fix(ftx/rest): add Id() for setting restful id
|
2021-05-24 11:19:30 +08:00 |
|
Jui-Nan Lin
|
2467d3fcf6
|
fix(ftx): get current kline candle in the beginning
|
2021-05-24 10:22:48 +08:00 |
|
Jui-Nan Lin
|
ddcd0d3969
|
fix(ftx): send ctx to handleChannelKlineMessage()
|
2021-05-24 10:16:17 +08:00 |
|
Jui-Nan Lin
|
64387ed2cb
|
Merge branch 'main' into ftx/websocket-kline
|
2021-05-24 10:01:58 +08:00 |
|
Jui-Nan Lin
|
bd9a61ea97
|
fix(ftx): use select to handle kline message
|
2021-05-24 10:00:43 +08:00 |
|
Jui-Nan Lin
|
bbeafab59b
|
fix(ftx): remove unused variables
|
2021-05-24 09:51:00 +08:00 |
|
Jui-Nan Lin
|
301ed621e6
|
fix(ftx): use timer.ticker()
|
2021-05-24 09:45:33 +08:00 |
|
Jui-Nan Lin
|
2394aab32e
|
fix(ftx): start go routine while connecting to ftx websocket
|
2021-05-24 09:22:47 +08:00 |
|
Jui-Nan Lin
|
02912f362c
|
fix(ftx): subscribe channel first to avoid losing order update
|
2021-05-24 09:21:49 +08:00 |
|
c9s
|
56b2c8845b
|
fix preorder, postorder and inorder
|
2021-05-22 11:36:58 +08:00 |
|
Jui-Nan Lin
|
14abd1436b
|
fix(ftx): call EmitConnect() after connected
|
2021-05-21 23:33:05 +08:00 |
|
Jui-Nan Lin
|
dd0bfab292
|
fix(ftx): call EmitStart() after connected
|
2021-05-21 23:25:26 +08:00 |
|
Jui-Nan Lin
|
c7f9352e20
|
fix(ftx): keep in the loop
|
2021-05-21 23:10:05 +08:00 |
|
Jui-Nan Lin
|
fb47a4882f
|
fix(ftx): support subaccount in websocket
|
2021-05-21 23:07:53 +08:00 |
|
Jui-Nan Lin
|
05bde543b7
|
feat(ftx): emulating kline channel with polling
|
2021-05-21 23:07:39 +08:00 |
|
c9s
|
57a78777df
|
move Time type to types.Time
|
2021-05-21 00:10:53 +08:00 |
|
Jui-Nan Lin
|
02649bdd63
|
fix(ftx): use generated order id if not specified
|
2021-05-19 21:37:29 +08:00 |
|
c9s
|
e95429bbc3
|
binance: save newer events for later usage
|
2021-05-19 01:02:41 +08:00 |
|
c9s
|
2fddc9166f
|
show bid/ask volume in the message
|
2021-05-19 00:41:34 +08:00 |
|
c9s
|
9406682944
|
improve maxapi websocket reconnect issue
|
2021-05-18 14:14:58 +08:00 |
|
c9s
|
c3c3c47808
|
move lock section
|
2021-05-18 13:59:58 +08:00 |
|
c9s
|
c4ccd8094f
|
make max client order id factory public
|
2021-05-18 09:10:43 +08:00 |
|
Jui-Nan Lin
|
c0cf529db7
|
fix(ftx): allow empty TimeInForce to place market orders
|
2021-05-17 21:05:44 +08:00 |
|
Jui-Nan Lin
|
31993d7ccf
|
fix(ftx): update test toGlobalOrderBook
|
2021-05-17 18:53:43 +08:00 |
|
Jui-Nan Lin
|
316799d5a0
|
fix(ftxExchange): setup a symbol mapping table
ftx uses BTC/USDT symbol styles, however bbgo uses the BTCUSDT style
We setup a mapping table in Markets() to make conversion
|
2021-05-17 18:32:29 +08:00 |
|
c9s
|
e636a5008d
|
replace Exchange field type with ExchangeName
|
2021-05-16 17:02:23 +08:00 |
|
c9s
|
5c10f8a4e2
|
binance: call set server time service
|
2021-05-16 15:03:31 +08:00 |
|
c9s
|
f69cbe9c31
|
add basic TwapExecution
|
2021-05-14 14:53:26 +08:00 |
|
Lee
|
d1cef15f75
|
Fix: Correct the Order FILLED event on binance
|
2021-05-13 00:41:23 +08:00 |
|
Lee
|
b0e71e4258
|
Fix: Correct the binance executionReport parser
Let JSON parse to be explicit for prevent Unmarshal case-insensitive issue
|
2021-05-12 18:45:16 +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
|
0b7c9a1437
|
implement withdrawal request api
|
2021-05-11 22:35:31 +08:00 |
|
c9s
|
03cee5eb0b
|
apply types.ExchangeMAX
|
2021-05-05 16:57:01 +08:00 |
|
c9s
|
859bf35255
|
set sync-from from config by default
|
2021-05-05 16:45:17 +08:00 |
|
c9s
|
a70d5cbcdc
|
fix kline sync conditions
|
2021-05-05 16:33:15 +08:00 |
|