c9s
|
95d58e9385
|
adjust hedge quantity according to the hedge account balances
|
2021-05-10 20:13:23 +08:00 |
|
c9s
|
ddab6083d4
|
xmaker: support quantity scale
|
2021-05-10 02:52:41 +08:00 |
|
c9s
|
ce63641d70
|
print otp auth guide when session is loaded
|
2021-05-10 01:38:19 +08:00 |
|
c9s
|
3f8f5616d7
|
add more order info the local order book printing
|
2021-05-09 20:03:16 +08:00 |
|
c9s
|
e06310da26
|
print unhandled order status
|
2021-05-09 19:44:43 +08:00 |
|
c9s
|
d01abffde3
|
add todo for the backtest trades
|
2021-05-08 01:09:06 +08:00 |
|
c9s
|
6bbd66a4f9
|
split environment start and init
|
2021-05-08 00:45:24 +08:00 |
|
c9s
|
494a270c54
|
insert trades to db only when backtest service is nil
|
2021-05-07 01:50:38 +08:00 |
|
c9s
|
584a4c2ef8
|
move fiat currency definition out
|
2021-05-07 01:30:09 +08:00 |
|
c9s
|
1ad8b0b641
|
remove unused SourceDir func
|
2021-05-04 01:06:20 +08:00 |
|
c9s
|
50db944053
|
fix initSymbol stages
|
2021-05-02 23:58:34 +08:00 |
|
c9s
|
2230c56e56
|
fix comment warning
|
2021-05-02 23:48:53 +08:00 |
|
c9s
|
2ef13293e9
|
fix IDE warnings
|
2021-05-02 23:47:57 +08:00 |
|
c9s
|
5ec0566888
|
add more injection checks
|
2021-05-02 23:46:16 +08:00 |
|
c9s
|
822a010932
|
add moving average configuration to the schedule strategy
|
2021-05-02 20:58:32 +08:00 |
|
c9s
|
e29d9af9c8
|
fix persistence config unmarshalling
|
2021-05-02 18:16:34 +08:00 |
|
c9s
|
9f77236999
|
fix and improve position accessor
|
2021-04-28 19:32:49 +08:00 |
|
c9s
|
70a53ed286
|
make config compatible with key 'strategies'
|
2021-04-28 17:58:50 +08:00 |
|
c9s
|
2ec4617694
|
add SyncService check
|
2021-04-09 12:44:30 +08:00 |
|
c9s
|
34fe915a9f
|
fix sync issue for pnl command
|
2021-04-09 12:43:13 +08:00 |
|
Larry850806
|
dbf5d27f30
|
Add a validator interface to validate strategy before run
|
2021-04-02 10:12:55 +08:00 |
|
c9s
|
6c8babfb27
|
allow public session
|
2021-03-22 17:40:17 +08:00 |
|
c9s
|
088b22f338
|
support bbgo-no-cache option
|
2021-03-22 17:32:21 +08:00 |
|
c9s
|
814a77ea39
|
xmaker: improve balance checking
|
2021-03-21 12:55:33 +08:00 |
|
ycdesu
|
c8447663db
|
refactor: use fixedpoint to store fee
|
2021-03-19 08:49:24 +08:00 |
|
ycdesu
|
83ae943a4f
|
ftx: calculate commission
|
2021-03-18 23:58:28 +08:00 |
|
c9s
|
a95c3b94a0
|
core: set default store ID
|
2021-03-18 17:20:07 +08:00 |
|
Yo-An Lin
|
40b376802e
|
Merge pull request #168 from c9s/feature/mark-trade-strategy
|
2021-03-18 10:31:59 +08:00 |
|
c9s
|
85b6cb81a2
|
make local active orderbook json marshallable
|
2021-03-18 01:15:06 +08:00 |
|
Yo-An Lin
|
7ecb17dbe2
|
Merge pull request #163 from c9s/feature/mark-trade-strategy
|
2021-03-16 22:34:09 +08:00 |
|
c9s
|
714d61a829
|
add grid restore behavior
|
2021-03-16 20:04:06 +08:00 |
|
Yo-An Lin
|
f5b65e795e
|
Merge pull request #160 from c9s/feature/grid-options
|
2021-03-16 12:59:14 +08:00 |
|
c9s
|
40fded70b2
|
reformat scale.go
|
2021-03-16 02:14:10 +08:00 |
|
c9s
|
2f7c7d344b
|
move emitStart method call into the stream Connect method
|
2021-03-16 01:32:27 +08:00 |
|
c9s
|
7951c38edc
|
skip connection if there is no subscription
|
2021-03-16 01:31:56 +08:00 |
|
ycdesu
|
c08899f7fb
|
ftx: add ftx to supported exchange
|
2021-03-15 20:40:04 +08:00 |
|
c9s
|
c3996aee2b
|
add Backup method to the local active order book
|
2021-03-15 18:25:36 +08:00 |
|
c9s
|
e311a182fa
|
add onStart callbacks
|
2021-03-15 18:04:03 +08:00 |
|
c9s
|
9f7af3ce82
|
assign SubAccount name to the new exchange session
|
2021-03-15 17:51:17 +08:00 |
|
c9s
|
e8ccc5eabf
|
pass SubAccount field to the factory
|
2021-03-15 10:23:00 +08:00 |
|
c9s
|
2eda012f43
|
add SubAccount field to the exchange session config
|
2021-03-15 10:13:41 +08:00 |
|
c9s
|
4b49fda463
|
refactor sync service
|
2021-03-14 11:18:22 +08:00 |
|
ben
|
40eadfeaca
|
add yaml tag for mapping basic risk control order executor.
|
2021-03-01 13:44:58 +08:00 |
|
Yo-An Lin
|
592a8d87ae
|
Merge pull request #137 from c9s/feature/scale
feature: add exp scale and log scale formula
|
2021-02-28 16:13:38 +08:00 |
|
c9s
|
b71ea867c5
|
ignore sync if sync service is nil
|
2021-02-28 15:05:49 +08:00 |
|
c9s
|
da79920ca9
|
rename scale struct name to PriceVolumeScale
|
2021-02-28 14:51:24 +08:00 |
|
c9s
|
83111c9eb9
|
test exponential scale with reverse range
|
2021-02-28 12:12:03 +08:00 |
|
c9s
|
99f236d2e0
|
integrate quantity scale into support strategy and grid strategy
|
2021-02-28 11:57:25 +08:00 |
|
c9s
|
bf87fbbf55
|
add LinearScale
|
2021-02-28 02:20:47 +08:00 |
|
c9s
|
8572df2cb3
|
add link to TestQuadraticScale
|
2021-02-28 02:07:48 +08:00 |
|