c9s
|
c1e1c89cb0
|
update go-binance to github.com/adshao/go-binance/v2 v2.2.2
|
2021-06-01 03:10:44 +08:00 |
|
c9s
|
c6aebb37df
|
add kline indexes for sqlite3
|
2021-06-01 01:48:11 +08:00 |
|
c9s
|
92b1bbf3f2
|
expand sqlite kline table statements
|
2021-06-01 01:47:12 +08:00 |
|
c9s
|
b5c4fc3e4e
|
fix kline record insert fields
|
2021-06-01 01:39:23 +08:00 |
|
c9s
|
4bec8984c0
|
add klines columns
|
2021-06-01 01:39:23 +08:00 |
|
c9s
|
507ae934c0
|
compile and update migration package
|
2021-06-01 01:39:23 +08:00 |
|
c9s
|
f66095eff9
|
support: add target orders to the orders
|
2021-06-01 01:39:22 +08:00 |
|
c9s
|
e5db780be8
|
notify trades and update position
|
2021-06-01 01:39:22 +08:00 |
|
c9s
|
41daea9e05
|
config: update support example configs
|
2021-06-01 01:39:22 +08:00 |
|
c9s
|
40c3a5870f
|
support strategy improvements:
- add taker buy base volume ratio option
- add max base asset balance config
- add min quote asset balance config
- record orders and trades
|
2021-06-01 01:39:22 +08:00 |
|
c9s
|
6a999b2906
|
kline: show taker buy base volume and taker buy quote volume
|
2021-06-01 01:39:22 +08:00 |
|
c9s
|
4da7d3b50b
|
fix side effect order type
|
2021-06-01 01:39:22 +08:00 |
|
c9s
|
bf73def701
|
binance: embed fixedpoint.Value into binance Balance struct
|
2021-06-01 01:39:22 +08:00 |
|
c9s
|
e3473572e9
|
types: add TakerBuyBaseAssetVolume and TakerBuyQuoteAssetVolume fields to kline
|
2021-06-01 01:39:22 +08:00 |
|
c9s
|
2925a77815
|
binance: use fixedpoint.Value for parsing floating number string
|
2021-06-01 01:39:22 +08:00 |
|
Yo-An Lin
|
d6fc89d18a
|
Merge pull request #259 from jnlin/fix/ftx-kline
fix(ftx): klines should not be empty
|
2021-05-31 23:12:50 +08:00 |
|
Jui-Nan Lin
|
7abd7225e1
|
fix(ftx): klines should not be empty
|
2021-05-31 22:56:26 +08:00 |
|
c9s
|
7ff4051c61
|
binance: fix websocket handshake
|
2021-05-30 18:20:14 +08:00 |
|
c9s
|
0b935eff4f
|
fix connection lock call
|
2021-05-30 18:14:22 +08:00 |
|
c9s
|
69e76485c5
|
xbalance: fix ticker usage
|
2021-05-30 18:06:31 +08:00 |
|
Yo-An Lin
|
80b665c4f7
|
Update README.md
|
2021-05-30 16:22:29 +08:00 |
|
Yo-An Lin
|
406f592963
|
Merge pull request #258 from c9s/feature/okex
feature: add okex exchange user data stream and public stream
|
2021-05-30 16:21:12 +08:00 |
|
c9s
|
8d12c9262f
|
okex: move connection context cancel calls
|
2021-05-30 15:54:31 +08:00 |
|
c9s
|
d6bd33a682
|
okex: remove unused code
|
2021-05-30 15:53:43 +08:00 |
|
c9s
|
d112dbb1a4
|
binance: check connCancel only when new context is allocated
|
2021-05-30 15:53:01 +08:00 |
|
c9s
|
f9d4068145
|
binance: pull out listen key from stream and reduce critical section
|
2021-05-30 15:51:25 +08:00 |
|
c9s
|
d863766e00
|
fix quote quantity alignment
|
2021-05-30 15:51:00 +08:00 |
|
c9s
|
c84d59734c
|
clear all trades before running backtests
|
2021-05-30 15:25:00 +08:00 |
|
c9s
|
3aa36b5989
|
refactor and fix backtest for user data stream and market data stream
|
2021-05-30 15:08:11 +08:00 |
|
c9s
|
38fd5422ab
|
xmaker: use uncovered position
|
2021-05-30 14:46:48 +08:00 |
|
c9s
|
1a05f6fbd4
|
okex: pull read timeout and adjust to 30 seconds
|
2021-05-30 00:32:06 +08:00 |
|
c9s
|
9a68cfd288
|
xmaker: fix trade checking
|
2021-05-30 00:11:35 +08:00 |
|
c9s
|
d962dbe542
|
adjust read timeout
|
2021-05-29 20:40:47 +08:00 |
|
c9s
|
70284a8c0f
|
xmaker: move notify trade
|
2021-05-29 01:41:29 +08:00 |
|
c9s
|
3789315214
|
show accumulated net profit
|
2021-05-29 01:38:44 +08:00 |
|
c9s
|
df10e175f9
|
xmaker: fix wording
|
2021-05-29 01:32:33 +08:00 |
|
c9s
|
e2561bde96
|
xmaker: add NotifyTrade option
|
2021-05-29 01:31:13 +08:00 |
|
c9s
|
65a38e56b8
|
slacknotifier: spawn notify worker as a go routine
|
2021-05-29 01:30:57 +08:00 |
|
c9s
|
6e0bc7c1e2
|
xmaker: use trade channel to buffer trades
|
2021-05-29 01:03:43 +08:00 |
|
c9s
|
33db0b5c6f
|
xmaker: add trade stores for trade buffering
|
2021-05-29 00:28:13 +08:00 |
|
c9s
|
426a6157af
|
okex: fix ping connection lock
|
2021-05-29 00:27:28 +08:00 |
|
c9s
|
64b9c78a5b
|
okex: fix order detail segmentation
|
2021-05-29 00:27:05 +08:00 |
|
c9s
|
2a5ef30135
|
add ping worker to max
|
2021-05-29 00:26:53 +08:00 |
|
c9s
|
e11553139e
|
binance: make convert functions private
|
2021-05-29 00:26:39 +08:00 |
|
c9s
|
8d31435ded
|
add trade store
|
2021-05-29 00:25:23 +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
|
5f18b89dfa
|
if publicOnly is set, we should not connect user data stream
|
2021-05-28 19:01:55 +08:00 |
|
c9s
|
f190b1e66a
|
fix market data stream initialization
|
2021-05-28 03:17:46 +08:00 |
|
c9s
|
d932a686a0
|
fix strategy market data stream usage
|
2021-05-28 03:15:29 +08:00 |
|