Andy Cheng
|
324c7ea432
|
feature: logging with strategy symbol
|
2022-04-26 18:29:22 +08:00 |
|
Andy Cheng
|
f6ec931bed
|
feature: use callbackgen
|
2022-04-26 18:29:22 +08:00 |
|
Andy Cheng
|
cbf6bf78bc
|
feature: make FilterStrategyByInterface a simple function
|
2022-04-26 18:29:22 +08:00 |
|
Andy Cheng
|
ecc63f743f
|
feature: split strategy controller interface into several smaller ones
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
389752161d
|
feature: adapt new strategy controller in support strategy
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
64766c48f3
|
feature: revert position closer and position reader back
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
78a8c2aaaf
|
feature: mix embeded struct and callback in strategy controller
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
57fdc9b120
|
feature: adapt new strategy controller in support strategy
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
6228cddbec
|
feature: adapt new strategy controller in interact
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
bb2bce4721
|
feature: strategy controller
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
85ffe9a2de
|
feature: prototype of strategy controller struct
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
73c2c84cab
|
feature: prototype of strategy controller struct
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
5799709e3e
|
pkg: add empty strategy controller file
|
2022-04-26 18:29:21 +08:00 |
|
c9s
|
23dd60728e
|
binance: fix error check
|
2022-04-26 16:51:41 +08:00 |
|
c9s
|
6c29e10caf
|
binance: improve binary error check
|
2022-04-26 16:43:40 +08:00 |
|
zenix
|
b3741771e3
|
fix: window update in indicators. add: cumulative average, triangular moving average
|
2022-04-26 17:32:31 +09:00 |
|
c9s
|
109fdd6511
|
aggregate totalBorrowed
|
2022-04-26 16:13:07 +08:00 |
|
c9s
|
2933db20cd
|
types: show borrowed balance
|
2022-04-26 16:07:27 +08:00 |
|
c9s
|
cbec4ac199
|
binance: improve query trades conditions for start time and end time
|
2022-04-26 15:58:12 +08:00 |
|
c9s
|
16227cea2f
|
autoborrow: call tryToRepayAnyDebt when margin level is low
|
2022-04-26 15:44:13 +08:00 |
|
c9s
|
b97588f153
|
autoborrow: fix max total borrow condition
|
2022-04-26 15:33:01 +08:00 |
|
Zenix
|
a8f0c71a53
|
Merge pull request #545 from zenixls2/feature/ma_series
feature: add some new ma indicators
|
2022-04-25 21:01:17 +09:00 |
|
c9s
|
069db1d0cb
|
replace margin ratio with margin level
|
2022-04-25 19:15:47 +08:00 |
|
c9s
|
333378a52a
|
autoborrow: change debugf to infof
|
2022-04-25 19:10:22 +08:00 |
|
c9s
|
7b2398ce39
|
autoborrow: use margin level instead of margin ratio
|
2022-04-25 19:05:16 +08:00 |
|
c9s
|
095f25f30b
|
fix TestSortTradesAscending
|
2022-04-25 19:01:03 +08:00 |
|
c9s
|
2732fb413f
|
bbgo: remove slack debug option
|
2022-04-25 18:56:19 +08:00 |
|
c9s
|
638d839975
|
autoborrow: add more logs and warning color for slack message
|
2022-04-25 18:46:23 +08:00 |
|
c9s
|
a30aac6653
|
autoborrow: add slack notification
|
2022-04-25 18:12:08 +08:00 |
|
c9s
|
2290d132b1
|
autoborrow: assign s.ExchangeSession
|
2022-04-25 17:54:16 +08:00 |
|
c9s
|
f8fd13c576
|
add test for TestSortTradesAscending
|
2022-04-25 17:53:04 +08:00 |
|
c9s
|
a2553ee020
|
autoborrow: call check and borrow
|
2022-04-25 17:45:16 +08:00 |
|
c9s
|
78639dab5a
|
improve order layout
|
2022-04-25 17:27:27 +08:00 |
|
c9s
|
a57a238e09
|
bbgo: add more sync options
|
2022-04-25 17:18:42 +08:00 |
|
c9s
|
76012f0b71
|
max: deposit request currency field is optional
|
2022-04-25 16:27:07 +08:00 |
|
c9s
|
fae3b6a215
|
fix BOLL method
|
2022-04-25 15:31:12 +08:00 |
|
Yo-An Lin
|
b94b9e1b73
|
Merge pull request #437 from jessy1092/enhance-boll-indicator
indicator: Support difference bandwidth on boll indicator and can dynamic create BOLL
|
2022-04-25 13:43:02 +08:00 |
|
c9s
|
18da434e92
|
all: use thread-safe GetAccount method to get account
|
2022-04-23 15:43:11 +08:00 |
|
c9s
|
5c2274c55c
|
put sign check back
|
2022-04-23 15:27:28 +08:00 |
|
c9s
|
7b66d36f15
|
autoborrow: remove extra sign check
|
2022-04-23 15:27:28 +08:00 |
|
c9s
|
743ad0455f
|
add autoborrow strategy
|
2022-04-23 15:27:28 +08:00 |
|
c9s
|
fd247cf7d7
|
cmd: add autoborrow to built-in
|
2022-04-23 15:00:53 +08:00 |
|
c9s
|
c70317af2b
|
add autoborrow strategy
|
2022-04-23 15:00:04 +08:00 |
|
c9s
|
cf055c3f7d
|
bbgo: improve account updating
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
9e48a850bd
|
bbgo: call queryAccount to update account
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
a1c9bd7ec8
|
all: add AccountTypeIsolatedMargin
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
98a696a7d0
|
all: calculate MarginTolerance
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
76733898db
|
binance: add QueryMarginAssetMaxBorrowable api
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
9f9f13dfe2
|
add MarginBorrowRepay interface
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
37b5d80f6f
|
add margin repay and borrow api
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
c2d1ef0fc8
|
add margin borrow endpoint
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
a8fdd8006c
|
binance: add transferCrossMarginAccount method
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
ecc19e1efd
|
binance: assign more margin fields to account
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
cf2e8c9f0a
|
all: extend balance field for margin
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
fbe1906e70
|
binance: add more fields to the balance struct
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
304cc89f68
|
binance: always sort trades back
|
2022-04-23 12:51:07 +08:00 |
|
c9s
|
2f5f02523f
|
fix typpo
|
2022-04-23 00:10:27 +08:00 |
|
zenix
|
3d86330428
|
fix: python test code in indicator
|
2022-04-22 19:11:07 +09:00 |
|
zenix
|
c18f684afd
|
test: add test cases for dema, hull, tema, till, vidya and zlema indicators
|
2022-04-22 19:02:26 +09:00 |
|
Yo-An Lin
|
6f810bf081
|
Merge pull request #553 from c9s/feature/max-order-history-api
refactor: rewrite max private trade query request with requestgen
|
2022-04-22 13:12:20 +08:00 |
|
zenix
|
5dc69a6175
|
fix: fix change, feature: implement vidya and till
|
2022-04-21 19:28:11 +09:00 |
|
c9s
|
9e06053c3b
|
max: rewrite and rename private trade request
|
2022-04-21 14:56:20 +08:00 |
|
c9s
|
f9908f2931
|
rewrite private trade request
|
2022-04-21 14:52:44 +08:00 |
|
Yo-An Lin
|
96d2844487
|
Merge pull request #552 from c9s/feature/max-order-history-api
improve: use max order history api for sync
|
2022-04-21 14:34:38 +08:00 |
|
c9s
|
8e2a993370
|
max: improve max closed orders syncing
|
2022-04-21 14:11:49 +08:00 |
|
c9s
|
93b10f20ac
|
maxapi: fix fromID to uint64
|
2022-04-21 13:18:00 +08:00 |
|
c9s
|
e754b68cdf
|
maxapi: fix http timeout
|
2022-04-21 13:17:43 +08:00 |
|
Yo-An Lin
|
e91f15b2ea
|
Merge pull request #546 from c9s/feature/max-order-history-api
feature: add max order history api
|
2022-04-21 00:46:30 +08:00 |
|
c9s
|
0410ef1305
|
maxapi: refactor rewards api
|
2022-04-21 00:18:34 +08:00 |
|
austin362667
|
1163b89807
|
factorzoo: fix correlation
|
2022-04-20 18:10:27 +08:00 |
|
austin362667
|
71a032a29b
|
factorzoo: clean up
factorzoo: clean up
factorzoo: clean up
|
2022-04-20 18:10:27 +08:00 |
|
austin362667
|
da51d56624
|
cmd: add built-in factorzoo strategy
|
2022-04-20 18:10:27 +08:00 |
|
austin362667
|
fdbb2be45c
|
factorzoo: add cross-sectional factors model strategy
|
2022-04-20 18:10:27 +08:00 |
|
austin362667
|
a1fa23121d
|
factorzoo: add correlation indicator
|
2022-04-20 18:10:27 +08:00 |
|
c9s
|
8b9383ecfa
|
maxapi: refactor withdrawal request
|
2022-04-20 16:38:08 +08:00 |
|
c9s
|
72ea9f7e24
|
maxapi: add deposit request tests and withdrawal request tests
|
2022-04-20 14:01:18 +08:00 |
|
c9s
|
f3eafd5cd8
|
remove unused get trades method
|
2022-04-20 13:49:06 +08:00 |
|
なるみ
|
2754d2410c
|
grpc: remove duplicate service registration
|
2022-04-20 13:48:41 +08:00 |
|
c9s
|
387c0bfb8b
|
maxapi: rewrite vip level request
|
2022-04-20 13:35:17 +08:00 |
|
c9s
|
68abeb826b
|
maxapi: add account service tests
|
2022-04-20 13:28:39 +08:00 |
|
c9s
|
f9df65a2f8
|
maxapi: add generated files
|
2022-04-20 13:20:54 +08:00 |
|
c9s
|
ff7f1a8bc8
|
maxapi: always merge params into the payload for signing
|
2022-04-20 12:18:35 +08:00 |
|
c9s
|
4d8997a8d5
|
max: pass context background to the request
|
2022-04-20 12:18:35 +08:00 |
|
c9s
|
5cba6a6133
|
maxapi: use requestgen to query and submit orders
|
2022-04-20 12:18:35 +08:00 |
|
c9s
|
93b19faa3a
|
refactor newAuthenticatedRequest
|
2022-04-20 12:18:35 +08:00 |
|
c9s
|
bf4a0169bd
|
max: update client api
|
2022-04-20 12:18:35 +08:00 |
|
Yo-An Lin
|
46015324e9
|
Merge pull request #540 from narumiruna/indicator/update
indicator: make parameters of update method consistent
|
2022-04-20 11:53:06 +08:00 |
|
Yo-An Lin
|
522e6b9aaf
|
Merge pull request #547 from kfrico/fix_ftx_bug
fix ftx pollKines bug
|
2022-04-20 11:52:16 +08:00 |
|
kfrico
|
bd4a932571
|
fix ftx pollKines bug
|
2022-04-19 21:29:45 +08:00 |
|
zenix
|
22d8c2efff
|
feature: add some new ma indicators
|
2022-04-19 19:22:22 +09:00 |
|
なるみ
|
1d363f65a9
|
indicator: use rma indicator in atr
|
2022-04-19 13:45:23 +08:00 |
|
なるみ
|
167f9d3eaf
|
indicator: make parameters of update method consistent
|
2022-04-19 13:45:23 +08:00 |
|
c9s
|
8442aafd4d
|
compile and update migration package
|
2022-04-19 12:19:32 +08:00 |
|
なるみ
|
2896527c56
|
indicator: add rolling moving average
|
2022-04-18 11:43:05 +08:00 |
|
Yo-An Lin
|
fcaef0219a
|
Merge pull request #536 from narumiruna/indicator/atr
|
2022-04-18 00:34:43 +08:00 |
|
なるみ
|
7b4c68f766
|
indicator: add average true range indicator
|
2022-04-17 17:30:49 +08:00 |
|
c9s
|
b2e17e3552
|
interact: fix auth
|
2022-04-17 12:49:45 +08:00 |
|
Yo-An Lin
|
41c78f9035
|
Merge pull request #535 from narumiruna/grpc/register-trading-server
fix: grpc: register trading server
|
2022-04-17 00:50:25 +08:00 |
|
c9s
|
8f693dac50
|
bump version to v1.30.3
|
2022-04-17 00:38:42 +08:00 |
|
c9s
|
ad373b95a7
|
add FLUSH_OTP_KEY env for flushing otp key
|
2022-04-17 00:35:16 +08:00 |
|
c9s
|
63f525970f
|
auth: store otp key url instead of just secret
|
2022-04-17 00:18:48 +08:00 |
|
c9s
|
6c7b6c6def
|
interact: add more error check for /auth command
|
2022-04-17 00:06:37 +08:00 |
|
c9s
|
8e557b3da2
|
Merge branch 'fix/grpc-user-data-stream-subscribe'
|
2022-04-17 00:03:17 +08:00 |
|
c9s
|
d78370e355
|
grpc: register trading service to grpc
|
2022-04-16 23:57:53 +08:00 |
|
なるみ
|
6920ac9090
|
grpc: register trading server
|
2022-04-16 23:45:10 +08:00 |
|
TonyQ Wang
|
38dfa32bfa
|
Update auth.go
refine message
|
2022-04-16 21:25:46 +08:00 |
|
zenix
|
2a942eab0e
|
fix: rename EVWMP to VWEMP, fix backtesting fee
|
2022-04-15 19:12:11 +09:00 |
|
Yo-An Lin
|
299f9d7af8
|
Merge pull request #528 from c9s/fix/grpc-user-data-stream-subscribe
feature: grpc: implement TradingService cancel order
|
2022-04-15 16:00:16 +08:00 |
|
Yo-An Lin
|
d6755d7ca0
|
Merge pull request #512 from zenixls2/feature/elliott_wave
strategy: elliott wave oscillator
|
2022-04-15 15:53:24 +08:00 |
|
c9s
|
cb51352d58
|
grpc: implement cancel order
|
2022-04-15 15:49:24 +08:00 |
|
Andy Cheng
|
07c30f82af
|
strategy: add StrategyController to bollmaker
|
2022-04-15 15:38:40 +08:00 |
|
Yo-An Lin
|
426af0109e
|
Merge pull request #525 from c9s/fix/grpc-user-data-stream-subscribe
grpc: implement SubmitOrder method
|
2022-04-15 15:06:01 +08:00 |
|
Yo-An Lin
|
d9fd661e1b
|
Merge pull request #524 from frin1/fix/improve-indicators
improved indicators
|
2022-04-15 15:04:37 +08:00 |
|
c9s
|
6e72ba33ed
|
grpc: implement SubmitOrder method
|
2022-04-15 15:03:00 +08:00 |
|
c9s
|
a7383142e6
|
grpc: fix price,quantity types
|
2022-04-15 14:58:07 +08:00 |
|
c9s
|
f15f4e1aac
|
grpc: add trading service
|
2022-04-15 14:53:50 +08:00 |
|
c9s
|
84d4f312fa
|
grpc: fix connect and add balance snapshot
|
2022-04-15 14:28:35 +08:00 |
|
c9s
|
8b8cffbd06
|
grpc: fix user data stream subscribe
|
2022-04-15 14:26:04 +08:00 |
|
c9s
|
91dd81028a
|
bump version to v1.30.2
|
2022-04-15 11:43:28 +08:00 |
|
c9s
|
f91132f35c
|
bollmaker: avoid using time in force in maker order
|
2022-04-15 11:40:43 +08:00 |
|
Fredrik
|
f866787c21
|
improved indicators
|
2022-04-14 23:43:04 +02:00 |
|
zenix
|
6f04789111
|
fix: rename packae name
|
2022-04-14 20:01:13 +09:00 |
|
zenix
|
4ee73149c1
|
feature: add heikinashi
|
2022-04-14 19:58:05 +09:00 |
|
c9s
|
cd957460c9
|
add /api/outbound-ip api
|
2022-04-14 10:24:00 +08:00 |
|
zenix
|
2f51441256
|
fix: remove smartstop. use dynamic stoploss. improve profit and lower the lost
|
2022-04-13 21:10:07 +09:00 |
|
zenix
|
a0e218a5c6
|
use trailingstop
|
2022-04-13 21:10:07 +09:00 |
|
zenix
|
fcf29f7e11
|
fix: doing some performance tuning
|
2022-04-13 21:10:07 +09:00 |
|
zenix
|
0fe14c5fe5
|
feature: post orders for ewo
|
2022-04-13 21:10:07 +09:00 |
|
zenix
|
42a3737f2e
|
fix: use series in ewo to predict values
|
2022-04-13 21:10:07 +09:00 |
|
zenix
|
017dd4175a
|
feature: implement Elliott Wave Oscilla
|
2022-04-13 21:10:07 +09:00 |
|
c9s
|
339c72a554
|
grpc: translate private trade and balances
|
2022-04-13 19:43:08 +08:00 |
|
c9s
|
897dc55dcf
|
binance: fix margin balance convert
|
2022-04-13 15:38:13 +08:00 |
|
c9s
|
a93a91546d
|
grpc: convert order
|
2022-04-13 15:29:23 +08:00 |
|
c9s
|
8e81716d2a
|
grpc: separate market data message and user data message
|
2022-04-13 14:14:25 +08:00 |
|
c9s
|
6c408fb209
|
move files
|
2022-04-13 13:24:38 +08:00 |
|
c9s
|
2e063e7eb2
|
grpc: refactor subscription convert
|
2022-04-13 13:06:26 +08:00 |
|
c9s
|
606a7b3220
|
convert: trade price/volume to string
|
2022-04-13 12:43:05 +08:00 |
|
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 |
|