c9s
|
759b6a812b
|
techsignal: fix funding rate diff
|
2021-10-17 22:26:04 +08:00 |
|
c9s
|
a3f68d7b72
|
xmaker: use bbgo.NewPositionFromMarket
|
2021-10-17 22:24:57 +08:00 |
|
c9s
|
450b7bb61e
|
bollpp: improve boll ping pong strategy with profit stats
|
2021-10-17 22:23:34 +08:00 |
|
c9s
|
15cfd735a0
|
bbgo: add doc comment for ExchangeSessionSubscriber
|
2021-10-17 22:23:21 +08:00 |
|
c9s
|
39b7a956e0
|
Add market field to position
|
2021-10-17 22:23:09 +08:00 |
|
c9s
|
30c7c34826
|
bbgo: fix kline backward query for backtest
|
2021-10-16 13:49:00 +08:00 |
|
c9s
|
4bcea5a388
|
bbgo: add AllFilled method on OrderStore
|
2021-10-16 13:39:18 +08:00 |
|
c9s
|
2b17124d06
|
telegramnotifier: support broadcast flag
|
2021-10-15 18:01:11 +08:00 |
|
c9s
|
77e7f814d9
|
support: refactor PercentageTargetStop logics
|
2021-10-15 16:10:57 +08:00 |
|
c9s
|
f5f96b585a
|
apply broadcast option from config file
|
2021-10-15 16:10:39 +08:00 |
|
c9s
|
6c46c2cad1
|
telegramnotifier: add broadcast option
|
2021-10-15 16:10:25 +08:00 |
|
c9s
|
2b0793ee49
|
bbgo: add telegram config
|
2021-10-15 16:10:09 +08:00 |
|
c9s
|
a2c29f4519
|
support: remove legacy resistance code
|
2021-10-15 12:38:16 +08:00 |
|
c9s
|
d704e19f04
|
move signedPercentage method to fixedpoint
|
2021-10-15 12:22:53 +08:00 |
|
c9s
|
01f6d70d28
|
telegramnotifier: add broadcast function and subscribe command
|
2021-10-15 12:14:15 +08:00 |
|
c9s
|
a1779b6823
|
telegramnotifier: add warning
|
2021-10-15 12:03:15 +08:00 |
|
c9s
|
08c300fbad
|
add warning if owner's chat is not configured
|
2021-10-15 11:56:17 +08:00 |
|
c9s
|
0fe11438bd
|
telegramnotifier: rename Chat to OwnerChat
|
2021-10-15 11:55:05 +08:00 |
|
c9s
|
93e297dd7e
|
adjust qutoe currency formatter symbol for fiat currency
|
2021-10-15 11:53:01 +08:00 |
|
c9s
|
952bdf8218
|
move currency formatter to market struct
|
2021-10-15 11:50:37 +08:00 |
|
c9s
|
790b3357d7
|
techsignal: adjust funding rate notification
|
2021-10-15 11:13:00 +08:00 |
|
c9s
|
4523135012
|
techsignal: add funding rate checker
|
2021-10-14 23:01:10 +08:00 |
|
c9s
|
e7fe443cbe
|
show kline in the notification
|
2021-10-14 14:32:49 +08:00 |
|
c9s
|
fbbefe2878
|
techsignal: show interval in the message
|
2021-10-14 14:30:45 +08:00 |
|
c9s
|
a6848a6af4
|
add strategy/techsignal
|
2021-10-14 14:24:08 +08:00 |
|
c9s
|
c84ba12735
|
implement PlainText interface for kline
|
2021-10-14 14:22:24 +08:00 |
|
c9s
|
3581c1768c
|
fix SMA indicator value length check
|
2021-10-14 14:22:07 +08:00 |
|
c9s
|
47e4847034
|
fix kline query endtime
|
2021-10-14 14:21:38 +08:00 |
|
c9s
|
4c2897a86d
|
use Float64 indicator from the types package
|
2021-10-14 13:15:08 +08:00 |
|
c9s
|
4c061439d3
|
rename buyandhold to pricedrop
|
2021-10-14 13:10:00 +08:00 |
|
c9s
|
768a88247b
|
rename bpp to bollpp (bollinger pingpong)
|
2021-10-14 12:52:54 +08:00 |
|
c9s
|
6e7f12ca9f
|
rename trailingstop to emastop
|
2021-10-14 12:04:56 +08:00 |
|
c9s
|
b3661f5d32
|
bbgo: improve profit stat PlainText format
|
2021-10-14 10:16:11 +08:00 |
|
c9s
|
7d416c3467
|
bbgo: fix profit json tag
|
2021-10-14 10:14:11 +08:00 |
|
c9s
|
7874471828
|
bbgo: improve pnlEmojiMargin function
|
2021-10-14 10:13:21 +08:00 |
|
c9s
|
c8554f09a0
|
bbgo: refactor the pnl functions
|
2021-10-14 10:07:27 +08:00 |
|
c9s
|
2116efc42e
|
bbgo: fix profit title
|
2021-10-14 08:59:45 +08:00 |
|
c9s
|
49a78c0c88
|
bbgo: fix profit stat title
|
2021-10-14 08:58:19 +08:00 |
|
c9s
|
c12ff57e57
|
bbgo: improve profit stats plaintext format
|
2021-10-14 08:55:55 +08:00 |
|
c9s
|
e2f58d0466
|
xmaker: use report ticker to report profit stats
|
2021-10-14 08:53:44 +08:00 |
|
c9s
|
77f11f4515
|
bbgo: add ticker for collecting trades
|
2021-10-14 07:56:40 +08:00 |
|
c9s
|
b154e3baea
|
bbgo: add pnl emoji with margin
|
2021-10-14 07:48:32 +08:00 |
|
c9s
|
7e8897f1d0
|
bbgo: fix profit field check condition
|
2021-10-14 07:33:34 +08:00 |
|
c9s
|
5c3f305060
|
bbgo: implement SlackAttachment interface for profitstats
|
2021-10-14 01:27:58 +08:00 |
|
c9s
|
d3fa0a964b
|
bbgo: add slack attachment support for profit
|
2021-10-14 01:27:50 +08:00 |
|
c9s
|
a4a9ef015e
|
slacknotifier: fallback to PlainText if it's not supported
|
2021-10-14 01:27:46 +08:00 |
|
c9s
|
c55cc4323e
|
notifier: making slackAttachmentCreator as private interface
|
2021-10-14 01:27:42 +08:00 |
|
c9s
|
e4281b1a02
|
xmaker: update notification message with strategy ID
|
2021-10-14 01:27:37 +08:00 |
|
c9s
|
bbc1775ec5
|
xmaker: update symbol, base, quote currency to profit stats
|
2021-10-14 01:26:40 +08:00 |
|
c9s
|
b6b2e33cc0
|
extend profit stats fields for quote,base currency and symbol
|
2021-10-14 01:26:36 +08:00 |
|
c9s
|
8374c98609
|
xmaker: fix time type casting
|
2021-10-14 01:26:31 +08:00 |
|
c9s
|
5039a43413
|
bbgo: move pnl formating to the bbgo package
|
2021-10-14 01:26:11 +08:00 |
|
c9s
|
e1e6d1de12
|
bbgo: add net profit margin field to profit stats
|
2021-10-14 01:26:04 +08:00 |
|
c9s
|
db7a681290
|
types: merge field decls
|
2021-10-14 01:25:18 +08:00 |
|
c9s
|
44a0b10240
|
bbgo: load last price from 1m interval kline only
|
2021-10-14 00:37:40 +08:00 |
|
c9s
|
764a8be46a
|
adjust grid backtest parameters
|
2021-10-13 10:43:56 +08:00 |
|
c9s
|
37ac907c0f
|
profitstats: add accumulated volume
|
2021-10-12 11:24:28 +08:00 |
|
c9s
|
d9dc7e31df
|
extend more fields
|
2021-10-12 11:24:24 +08:00 |
|
c9s
|
45645d0a3d
|
use the profit struct to pass profit info
|
2021-10-08 19:16:40 +08:00 |
|
c9s
|
fac14a8c7f
|
profitstats: add netProfit field
|
2021-10-08 15:09:55 +08:00 |
|
c9s
|
aadb1ed389
|
remove MakerExchange from the core profit stats field
|
2021-10-08 15:00:53 +08:00 |
|
c9s
|
d058125f78
|
bbgo: refactor profit stats
|
2021-10-08 14:57:44 +08:00 |
|
c9s
|
9e1d28f3b3
|
do not remove order if it's partially filled
|
2021-10-08 14:17:47 +08:00 |
|
c9s
|
9e93cd66de
|
strategy: update trade collector api
|
2021-10-08 13:24:14 +08:00 |
|
c9s
|
ded740107f
|
bbgo: refactor TradeCollector bind stream for background and foreground
|
2021-10-08 13:24:07 +08:00 |
|
c9s
|
8f74c106d6
|
support: merge stash
|
2021-10-08 13:14:21 +08:00 |
|
c9s
|
184f93ce79
|
support: fix interval check
|
2021-10-08 13:13:49 +08:00 |
|
c9s
|
01de2c5f66
|
support: fix long term ema kline subscription
|
2021-10-08 13:13:49 +08:00 |
|
c9s
|
f97eb8914a
|
support: add resistance check
|
2021-10-08 13:13:49 +08:00 |
|
c9s
|
1091010f64
|
support: move property configuration to the top
|
2021-10-08 13:13:49 +08:00 |
|
c9s
|
3539047a39
|
support: show ema price
|
2021-10-08 13:13:49 +08:00 |
|
c9s
|
8ada9eef02
|
bbgo: optimize AdjustQuantityByMaxAmount, early return
|
2021-10-08 12:09:05 +08:00 |
|
c9s
|
31358a69d1
|
types: calculate boolean logics outside of critical section
|
2021-10-08 12:08:57 +08:00 |
|
c9s
|
dab45cf3ba
|
types: add balance map copy method
|
2021-10-08 12:08:33 +08:00 |
|
c9s
|
6917b98a74
|
schedule: show closed price
|
2021-10-08 11:59:23 +08:00 |
|
c9s
|
f0503b99a1
|
schedule: add interval check
|
2021-10-08 11:58:50 +08:00 |
|
c9s
|
7016d24fad
|
import types.FuturesSettings into binance exchange
|
2021-10-07 21:29:52 +08:00 |
|
c9s
|
454564506f
|
add futures exchange interface and futures settings struct
|
2021-10-07 21:29:14 +08:00 |
|
c9s
|
193961c4e0
|
add bpp strategy
|
2021-10-07 16:39:20 +08:00 |
|
c9s
|
60e4442f85
|
add document for the backtest engine
|
2021-10-05 22:06:36 +08:00 |
|
c9s
|
7fb4d2f78d
|
return positionChanged for Process method
|
2021-10-05 21:44:39 +08:00 |
|
c9s
|
5dd2f568fe
|
add doc comment for trade collector
|
2021-10-05 21:39:10 +08:00 |
|
c9s
|
45c875fe7c
|
bbgo: improve trade collect process
|
2021-10-05 21:30:06 +08:00 |
|
Jui-Nan Lin
|
feca628319
|
fix(ftx): array length should > 0
|
2021-09-03 15:38:02 +08:00 |
|
c9s
|
1bc36b17ff
|
xbalance: add verbose flag
|
2021-09-03 14:25:26 +08:00 |
|
c9s
|
b6fff482a4
|
binance: fix withdrawal time parsing
|
2021-09-03 14:21:59 +08:00 |
|
c9s
|
35ec9ae7b6
|
binance: fix binance withdrawal api
|
2021-09-02 00:27:57 +08:00 |
|
c9s
|
f177860450
|
binance: fix withdrawal service
|
2021-09-02 00:21:56 +08:00 |
|
c9s
|
99f97df43b
|
etf: use break instead of return
|
2021-08-26 11:58:25 +08:00 |
|
c9s
|
8d01c97240
|
fix cyclic import issue
|
2021-08-26 11:46:02 +08:00 |
|
c9s
|
1f94ae1c19
|
bbgo: move moving average settings struct into bbgo
|
2021-08-26 11:32:39 +08:00 |
|
c9s
|
e8f0cbcff8
|
cmd: register etf strategy
|
2021-08-26 11:31:52 +08:00 |
|
c9s
|
2c378d6047
|
add etf strategy
|
2021-08-26 11:31:36 +08:00 |
|
c9s
|
0dd7438fd7
|
schedule: show scheduled order price
|
2021-08-26 10:29:27 +08:00 |
|
c9s
|
684bfcea19
|
xbalance: capitalize message
|
2021-08-19 16:35:16 +08:00 |
|
c9s
|
66b7e1fc3f
|
schedule: fix schedule subscription
|
2021-08-19 16:35:05 +08:00 |
|
c9s
|
cf29cfadd0
|
xbalance: show balance error message
|
2021-08-17 12:18:29 +08:00 |
|
c9s
|
fc860cd9a9
|
bbgo: add json tags to interval window
|
2021-08-17 11:37:27 +08:00 |
|
c9s
|
47258b31c6
|
xbalance: fix message
|
2021-08-17 11:36:51 +08:00 |
|
c9s
|
5a0ae6773c
|
xbalance: configure middle value automatically from total value
|
2021-08-16 12:52:12 +08:00 |
|
c9s
|
732281b55d
|
bump version
|
2021-08-16 12:20:04 +08:00 |
|
c9s
|
490eb15748
|
schedule: fix order notification
|
2021-08-16 12:11:15 +08:00 |
|
zebra
|
2e1400d594
|
add transfer function
|
2021-08-07 15:30:51 +08:00 |
|
sincoew
|
4f2b1d975a
|
fix type change on max api
|
2021-07-15 17:51:14 +08:00 |
|
c9s
|
5cf134a756
|
cmd: add account cmd --total option
|
2021-07-06 12:19:59 +08:00 |
|
c9s
|
5e2b8af4dc
|
xmaker: fix reset today
|
2021-07-06 12:19:59 +08:00 |
|
c9s
|
1d316ed89c
|
xmaker: call reset today if the date exceeded
|
2021-07-06 12:19:59 +08:00 |
|
c9s
|
3ab4a570fb
|
bbgo: limit max kline slice
|
2021-06-28 14:33:32 +08:00 |
|
c9s
|
01bdef502b
|
indicator: rename consts for max ma values
|
2021-06-28 14:33:27 +08:00 |
|
c9s
|
4ccbb82237
|
indicator: truncate values if length exceeded
|
2021-06-28 14:33:23 +08:00 |
|
c9s
|
a8048703b3
|
max: fix order delete refurl
|
2021-06-27 11:33:00 +08:00 |
|
c9s
|
3fdcf466bf
|
max: set reqcount for nonce by default 1
|
2021-06-27 11:32:54 +08:00 |
|
c9s
|
3165d10986
|
support: use trade collector
|
2021-06-26 20:26:47 +08:00 |
|
c9s
|
aab0c377d7
|
xmaker: reformat code
|
2021-06-26 20:26:47 +08:00 |
|
c9s
|
b58b48d668
|
xmaker: refactor profit stats
|
2021-06-26 20:26:47 +08:00 |
|
c9s
|
cef28fa651
|
xbalance: use time util function from the util package
|
2021-06-26 20:26:47 +08:00 |
|
c9s
|
c6d66ebb46
|
util: add BeginningOfTheDay function
|
2021-06-26 20:26:47 +08:00 |
|
c9s
|
06a1f018c2
|
bbgo: push to the buffer first
|
2021-06-26 20:26:47 +08:00 |
|
c9s
|
7d853a9c74
|
bbgo: add emit position update
|
2021-06-26 20:26:47 +08:00 |
|
c9s
|
ecd2d9ea68
|
bbgo: improve trade collector callbacks
|
2021-06-26 20:26:47 +08:00 |
|
c9s
|
db4fbbc30c
|
bbgo: add trade collector
|
2021-06-26 20:26:47 +08:00 |
|
c9s
|
65629a77f4
|
bbgo: add two new position constructor
|
2021-06-26 20:26:47 +08:00 |
|
c9s
|
5621effd6b
|
add resistance
|
2021-06-21 19:03:50 +08:00 |
|
c9s
|
4bc0612265
|
support: add minBaseAssetBalance
|
2021-06-17 19:28:11 +08:00 |
|
c9s
|
f9fa6e96c3
|
support: refactor kline handler
|
2021-06-16 20:33:52 +08:00 |
|
c9s
|
811319fa25
|
support: fix sensitivity calculation
|
2021-06-16 14:16:39 +08:00 |
|
c9s
|
5fecccedd6
|
add resistance check
|
2021-06-16 13:23:33 +08:00 |
|
c9s
|
3d12a7df59
|
support: add sensitivity settings
|
2021-06-16 13:14:10 +08:00 |
|
c9s
|
15ed802a54
|
util: add TimeProfile
|
2021-06-16 13:04:23 +08:00 |
|
c9s
|
e276ddd38a
|
bbgo: add shared local time zone
|
2021-06-16 13:04:23 +08:00 |
|
c9s
|
e23c459697
|
bbgo: move orderbook to the session level so that we can access it eaiser
|
2021-06-16 13:04:23 +08:00 |
|
c9s
|
2614b25de3
|
types: move fiat currency list to types
|
2021-06-16 13:04:23 +08:00 |
|
c9s
|
fd2928fc82
|
types: add maker/taker fee rate fields to the account struct
|
2021-06-16 13:04:23 +08:00 |
|
c9s
|
657e1dc9bf
|
maxapi: pre-parse relative url and cache them
|
2021-06-16 13:04:05 +08:00 |
|
c9s
|
cbd0180939
|
maxapi: remove extra user agent header
|
2021-06-16 13:04:05 +08:00 |
|
c9s
|
16e5e08d58
|
maxapi: fix dump request error check
|
2021-06-16 13:04:05 +08:00 |
|
c9s
|
48c84824cf
|
maxapi: volume, side, market is always required for creating orders
|
2021-06-16 13:04:05 +08:00 |
|
c9s
|
2da633c221
|
maxapi: add HTTP_TRANSPORT_IDLE_CONN_TIMEOUT env var for override
|
2021-06-16 13:04:05 +08:00 |
|
c9s
|
7c5b676366
|
maxapi: create an isolated http transport rather than the default one
|
2021-06-16 13:04:05 +08:00 |
|
c9s
|
684232041c
|
maxapi: load http transport settings from env vars
|
2021-06-16 13:04:05 +08:00 |
|
c9s
|
b31b830b2b
|
max: add request dump for debugging request
|
2021-06-16 13:03:45 +08:00 |
|
c9s
|
8c3992d514
|
max: no need to check order volume separately
|
2021-06-16 13:02:21 +08:00 |
|
c9s
|
fdf1ee9258
|
max: use precision -1 to trim zeros
|
2021-06-16 13:02:21 +08:00 |
|
c9s
|
a8eda62a8d
|
max: set debug vars from env vars
|
2021-06-16 13:02:21 +08:00 |
|
c9s
|
990da5ad3b
|
xbalance: add foreign fee for withdrawal
|
2021-06-09 01:37:33 +08:00 |
|
c9s
|
18f72a9118
|
fixedpoint: add more multiplication benchmarks
|
2021-06-09 01:37:29 +08:00 |
|
c9s
|
3d1d659c81
|
fixedpoint: add math/big version multiplication support
|
2021-06-09 01:37:24 +08:00 |
|
c9s
|
0df26e0570
|
binance: adjust listen key keep alive to 20 minutes
|
2021-06-09 01:37:19 +08:00 |
|
c9s
|
457ca79517
|
binance: for network error, we should retry the request
|
2021-06-09 01:37:14 +08:00 |
|
c9s
|
3c4eb5aec7
|
telegram: add more emojis
|
2021-06-09 01:37:09 +08:00 |
|