Commit Graph

2781 Commits

Author SHA1 Message Date
c9s
f5a241a1a8 xmaker: improve warn message 2021-06-09 01:35:50 +08:00
c9s
a0d8a3718a xmaker: fix bid/ask price check 2021-06-07 02:50:11 +08:00
c9s
d5617d44aa xmaker: pass source market and maker market for formatting 2021-06-07 02:49:54 +08:00
c9s
0a74cc7171 xmaker: add useDepthPrice option 2021-06-07 02:49:44 +08:00
c9s
2486d04332 rbt: fix copyNode 2021-06-07 02:44:30 +08:00
c9s
5a5cb71a5e rbt: add more rbtorderbook test 2021-06-07 02:44:25 +08:00
c9s
062443a29c rbt: check if returned node is neel 2021-06-07 02:44:21 +08:00
c9s
3b0ed4e3dc rbt: add more test cases 2021-06-07 02:44:14 +08:00
c9s
9622956c71 rbt: fix rbtree search for neel 2021-06-07 02:44:09 +08:00
c9s
5d8f7b3ea6 rbt: fix preorder 2021-06-07 02:44:04 +08:00
c9s
7805dcd72e rbt: fix pointer check of iteration 2021-06-07 02:44:00 +08:00
c9s
9bc55def44 rbt: fix deleting, copy value to the deleting node's memory 2021-06-07 02:43:54 +08:00
c9s
f34631c7ae rbt: add pointer check 2021-06-07 02:43:50 +08:00
c9s
6d2771aca9 rbt: fix rightmost and leftmost 2021-06-07 02:43:43 +08:00
c9s
06bf0d0f2b rbt: fix rbtree deletion 2021-06-07 02:43:39 +08:00
c9s
103b1ea560 rbt: add rbt insert test 2021-06-07 02:43:34 +08:00
c9s
7512f56b84 rbt: avoid sharing rbtree neel pointer 2021-06-07 02:43:22 +08:00
c9s
f487b53d9e binance: fix client order id checking 2021-06-07 01:07:00 +08:00
c9s
5fd0ab4cd3 skip client order id when no client order is given 2021-06-07 01:03:21 +08:00
c9s
291fdbaf25 optimize max submit order api priority 2021-06-07 01:03:09 +08:00
c9s
f20e809940 types: add bestBidAndAsk method 2021-06-07 01:02:43 +08:00
c9s
e8205556ff show bbgo version name 2021-06-07 00:57:47 +08:00
c9s
b60fd9e356 support: fix quantity formatting 2021-06-07 00:57:47 +08:00
c9s
b9584117d6 add QueryLastFundingRate api to binance exchange 2021-06-01 03:15:19 +08:00
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