Commit Graph

2460 Commits

Author SHA1 Message Date
c9s
d9617b59eb grpc: convert kline prices to string 2022-04-13 12:41:36 +08:00
c9s
12ce854150 grpc: integrate market trade 2022-04-13 11:53:09 +08:00
Zenix
b57c94fe12
Merge pull request #505 from zenixls2/feature/series
feature: add pinescript series interface
2022-04-13 11:13:56 +09:00
c9s
1f766441f2 bump version to v1.30.1 2022-04-12 23:47:46 +08:00
c9s
ea47e54318 kucoin: fix query parameter issues 2022-04-12 23:45:11 +08:00
c9s
6972838c34 add query attribute 2022-04-12 23:26:48 +08:00
c9s
a34dbf12e2 kucoin: fix trades sync 2022-04-12 23:25:56 +08:00
なるみ
d8361260a0 grpc: add start/end time to fix queryklines 2022-04-12 22:25:48 +08:00
c9s
8705f38220 grpc: allocate a stream pool 2022-04-12 17:48:30 +08:00
c9s
fb5703bf13 grpc: implement book stream 2022-04-12 17:12:16 +08:00
c9s
46cf220e2c implement market data subscription 2022-04-12 17:12:16 +08:00
なるみ
0de03e37fc Rename AbsoluteValues to Abs 2022-04-11 23:39:25 +08:00
なるみ
859933d4ed Avoid to use map[string]fixedpoint.Value 2022-04-11 23:26:05 +08:00
zenix
c7c856e84f fix: add default value for kline series type. fix crossresult indexing 2022-04-11 17:04:56 +09:00
zenix
af61952e40 fix: series not been updated 2022-04-11 17:04:56 +09:00
zenix
be0755d755 fix: simplify stoch indicator using float64slice. add ToReverseArray 2022-04-11 17:04:56 +09:00
zenix
339d36d61b feature: add mean, abs, sum, toArray, and dot operations on series. implement Float64Slice as series 2022-04-11 17:04:56 +09:00
zenix
d0c3390f84 fix log message to be lowercases 2022-04-11 17:04:56 +09:00
zenix
7778f9b590 feature: add NextCross function for future cross point prediction. modify line api to use index instead of timestamp as x. 2022-04-11 17:04:56 +09:00
zenix
5b75108992 feature: add series add and minus operation. add kline open/close/high/low series 2022-04-11 17:04:56 +09:00
zenix
e171101d90 fix: ad NaN error. feature: Line indicator init functions. feature: indicator manual 2022-04-11 17:04:56 +09:00
zenix
567e7bd214 add ad,macd,rsi,sma,stoch,vwap,vwma to Series interface 2022-04-11 17:04:56 +09:00
zenix
fac61f27dc feature: add pinescript series interface 2022-04-11 17:04:56 +09:00
c9s
95eab34512 bump version to v1.30.0 2022-04-11 15:57:40 +08:00
c9s
680261527c binance: fix closed order query 2022-04-11 15:39:03 +08:00
Zenix
57d9577c65
Merge pull request #513 from andycheng123/fix/support
minor fixes of support strategy
2022-04-10 03:49:56 +09:00
c9s
830503941e cmd: fix backtest sync 2022-04-10 00:57:55 +08:00
c9s
e51fb641af backtest: show symbols 2022-04-10 00:57:55 +08:00
Andy Cheng
854a364b38
strategy: use fixedpoint.Zero instead 2022-04-10 00:03:37 +08:00
Yo-An Lin
4cd646e346
feature: basic grpc server (#514) 2022-04-08 19:21:57 +08:00
Andy Cheng
ceccba43f9
strategy: re-submit trailing stop order if previous one failed 2022-04-08 18:46:41 +08:00
Andy Cheng
d94e8e3826
strategy: check trailing stop order creation success 2022-04-08 18:41:19 +08:00
Andy Cheng
f9052f3397
strategy: fix load CurrentHighestPrice bug 2022-04-08 18:35:02 +08:00
なるみ
4e2faacbae Mkdir if dir not exists 2022-04-07 20:21:07 +08:00
Yo-An Lin
6c20ec3c85
Merge pull request #499 from austin362667/strategy/bollmaker
strategy: add bollmaker futures support
2022-04-07 10:11:41 +08:00
なるみ
b31acb7165 glassnode: add comment to response struct 2022-04-07 00:09:54 +08:00
Yo-An Lin
0d4cc7ab9b
Merge pull request #508 from c9s/narumi/glassnode
feature: add Glassnode API
2022-04-06 23:29:42 +08:00
なるみ
be985da2af Add Glassnode API 2022-04-06 23:22:40 +08:00
Yo-An Lin
ed0384c85a
Merge pull request #501 from andycheng123/fix-support
strategy: fix wrong support condition
2022-04-06 18:57:39 +08:00
Andy Cheng
75f3e33543
strategy: use stop limit due to sop market unsupported by binance 2022-04-02 21:32:40 +08:00
Andy Cheng
8f4ba971f1
strategy: fix typo 2022-04-02 21:27:52 +08:00
Andy Cheng
c2747ca9e4
strategy: remove TimeInForce when sending trailing stop order 2022-04-02 21:19:47 +08:00
c9s
f11d2696d2 bump version to v1.29.0 2022-04-01 13:02:45 +08:00
Yo-An Lin
4aeb2c329c
Merge pull request #502 from narumiruna/refactor-vwap
indicator: make VWAP better
2022-04-01 12:12:59 +08:00
Andy Cheng
861fd84fd4
strategy: use stop market to tp instead of stop limit 2022-03-31 11:10:53 +08:00
Andy Cheng
8782104f1a
strategy: remove unnecessary notification 2022-03-30 16:46:42 +08:00
なるみ
8881b9e105
Fix package name 2022-03-29 21:51:50 +08:00
なるみ
18aa60077b Make VWAP better 2022-03-29 17:18:04 +08:00
Andy Cheng
934e4aa69f
strategy: fix wrong support condition 2022-03-29 11:46:01 +08:00
Yo-An Lin
98d4815d1d
Merge pull request #500 from narumiruna/rsi
feature: add Relative Strength Index (RSI) indicator
2022-03-29 11:32:12 +08:00
なるみ
e92a872059 Fix test case 2022-03-29 02:45:33 +08:00
なるみ
e68d5f0536 Rename variables 2022-03-29 02:40:08 +08:00
なるみ
42d6bf03b5 Rename functions 2022-03-29 02:36:34 +08:00
なるみ
2a6f1f410d Simplify 2022-03-29 02:21:22 +08:00
なるみ
b074f03507 Add RSI indicator 2022-03-29 02:10:35 +08:00
austin362667
a8484046d3 bollmaker: add TimeInForce for futures limit order support 2022-03-28 21:12:45 +08:00
austin362667
3f3fb1fe35 binance: fix futures limit maker order type 2022-03-28 21:12:45 +08:00
c9s
0511a0fde3 kucoin: convert limit maker to limit order type with postOnly 2022-03-28 17:09:00 +08:00
Andy Cheng
3a6f34330b
interact: refactor 2022-03-28 15:16:11 +08:00
Andy Cheng
63e8850cc3
interact: separate strategy filtering and button generation 2022-03-28 12:37:42 +08:00
Andy Cheng
ee6377ab87
interact: fix misuse of cycle() 2022-03-28 11:58:01 +08:00
Yo-An Lin
1a29bc7362
Merge pull request #492 from andycheng123/tg-control
feature: strategy controller
2022-03-26 15:41:59 +08:00
Yo-An Lin
42a503c0f9
Merge pull request #494 from zenixls2/feature/ftx_pub_trade 2022-03-25 18:06:16 +08:00
なるみ
83e37f52a8 Rebalance on kline closed 2022-03-24 12:50:40 +08:00
zenix
cb66f18b54 feature: add ftx market trade implementation 2022-03-23 19:12:49 +09:00
Andy Cheng
0974b1c7fd
interact: pull out the interaction related code to the caller 2022-03-23 12:05:35 +08:00
Andy Cheng
e122c12eef
interact: add AddMultipleButtons function 2022-03-23 12:04:47 +08:00
Yo-An Lin
ae4a3d81fb
Merge pull request #489 from zenixls2/feature/market_trade
feature: add market trade subscription in binance
2022-03-22 20:18:39 +08:00
zenix
abbe04fae9 fix: parse market trade as taker trade 2022-03-22 11:02:14 +09:00
austin362667
eca112e201 binance: add submit futures order ReduceOnly 2022-03-21 17:56:11 +08:00
Andy Cheng
5eef2a2085
interact: pull out interface filter as a function 2022-03-21 17:49:18 +08:00
Andy Cheng
f4c87e5d75
interact: refactor strategy controller related interfaces 2022-03-21 16:19:55 +08:00
Andy Cheng
fb8b79f38d
interact: rename GetStrategyStatus() to GetStatus() 2022-03-21 16:12:23 +08:00
Andy Cheng
1ca94b9c5b
type: rename strategy statuses 2022-03-21 16:06:12 +08:00
Yo-An Lin
53b1eef4fc
kucoin: adjust rate limiter 2022-03-21 15:36:31 +08:00
Andy Cheng
ffd5c646e9
interact: refactor interface func name 2022-03-21 15:08:15 +08:00
Andy Cheng
962645c2c8
interact: Pull out EmergencyStop to a single instance 2022-03-21 15:05:24 +08:00
Andy Cheng
5f7710103d
type: add StrategyStatus type 2022-03-21 15:01:15 +08:00
Andy Cheng
ce6efd9333
strategy: add EmergencyStop() to support strategy 2022-03-21 11:51:12 +08:00
Andy Cheng
69a02f1664
interact: add EmergencyStop() to StrategyController interface 2022-03-21 11:42:54 +08:00
Andy Cheng
b6aff9674c
strategy: add StrategyController functions to support strategy 2022-03-21 10:20:12 +08:00
Andy Cheng
5de137ced8
interact: add StrategyController interface to control strategies from telegram bot 2022-03-18 18:43:07 +08:00
Yo-An Lin
98b4eea694
Merge pull request #491 from c9s/fix/kucoin-rate-limiter
fix: kucoin: add trades, orders rate limiter
2022-03-18 17:49:46 +08:00
c9s
6c201d1868 kucoin: adjust rate limit to req/3sec 2022-03-18 17:43:14 +08:00
c9s
9757ca290b kucoin: add trades, orders rate limiter 2022-03-18 17:33:10 +08:00
zenix
efec21ca4b feature: add market trade subscription in binance 2022-03-18 18:30:39 +09:00
c9s
f85db9be61 improve asset summary layout and format 2022-03-18 17:13:37 +08:00
c9s
3944e0b6c0 fix query test 2022-03-18 15:00:33 +08:00
c9s
43985499be service: reorder trade query 2022-03-18 14:04:01 +08:00
c9s
79bfdbf9b6 compile and update migration package 2022-03-18 14:04:01 +08:00
zenix
84dbae1592 add readme content about testnet, fix code syntax 2022-03-18 14:17:06 +09:00
zenix
9cf835728c fix: don't sync on reward/withdraw/deposit records when using testnet 2022-03-18 14:04:56 +09:00
zenix
36a746d415 add binance paper trade endpoint 2022-03-18 14:04:56 +09:00
Yo-An Lin
bc0429c0fd
Merge pull request #484 from ankion/fix_backtest_orderbook 2022-03-17 00:50:07 +08:00
Yo-An Lin
fae4f181b5
Merge pull request #485 from zenixls2/feature/backtest_sig
feature: add CancelOrders and CancelOrdersTo to executor
2022-03-16 21:22:32 +08:00
zenix
77a88aabe4 feature: add CancelOrders and CancelOrdersTo to executor 2022-03-16 21:38:09 +09:00
ankion
ccb7fe39fa backtest: fix order cancel fail when run order cancel on the filled event. 2022-03-16 15:01:19 +08:00
c9s
ed94b8a8d8 remove config flag constraint 2022-03-16 13:52:46 +08:00
c9s
553fe3abf9 remove config flag constrant 2022-03-16 13:51:31 +08:00
c9s
334e3a3940 fix build cmd --config option 2022-03-16 12:26:27 +08:00