c9s
|
1f449eca7f
|
implement SlackAttachment interface on Position
|
2021-05-15 23:50:03 +08:00 |
|
c9s
|
c85456b8e8
|
lock position for fetching base quantity
|
2021-05-15 10:06:48 +08:00 |
|
c9s
|
531799bdfb
|
use mutex composition since we may lock from out side
|
2021-05-15 10:05:39 +08:00 |
|
c9s
|
8071559f99
|
position: use pointer receiver
|
2021-05-15 10:02:04 +08:00 |
|
c9s
|
a636cdaec9
|
add mutex to Position since position could be changed from 2 goroutine
|
2021-05-15 10:01:41 +08:00 |
|
c9s
|
aa340f0db3
|
always check restQuantity
|
2021-05-15 10:00:32 +08:00 |
|
c9s
|
236df245a2
|
adjust quantity bases on the balances
|
2021-05-15 09:46:07 +08:00 |
|
c9s
|
f9cb414832
|
twap: add update-interval option
|
2021-05-15 09:29:44 +08:00 |
|
c9s
|
ae256ce9d3
|
add more quantity adjustment fix
|
2021-05-15 09:23:41 +08:00 |
|
c9s
|
356a8b77ac
|
adjust updateLimiter to 3 seconds one time
|
2021-05-15 09:20:46 +08:00 |
|
c9s
|
445feb016a
|
support price ticks option
|
2021-05-14 15:35:11 +08:00 |
|
c9s
|
bb34b1002a
|
improve order execution graceful shutdown
|
2021-05-14 14:53:26 +08:00 |
|
c9s
|
dc040bb82b
|
improving logs
|
2021-05-14 14:53:26 +08:00 |
|
c9s
|
f69cbe9c31
|
add basic TwapExecution
|
2021-05-14 14:53:26 +08:00 |
|
c9s
|
c8b97629e0
|
add NumOfOrders method on active book
|
2021-05-14 14:53:26 +08:00 |
|
c9s
|
a49cf531b5
|
fix cross exchange order executor for the basic risk control
|
2021-05-12 19:02:09 +08:00 |
|
c9s
|
98e0390c1d
|
improve slack notification
|
2021-05-12 12:43:03 +08:00 |
|
c9s
|
807c049d63
|
refactor notifiers and add liquidity field to the trade
|
2021-05-12 12:37:48 +08:00 |
|
c9s
|
85e1b6b1c7
|
move field assignment
|
2021-05-12 12:05:54 +08:00 |
|
c9s
|
df11112d64
|
refactor exchange session initialization
|
2021-05-12 12:05:54 +08:00 |
|
c9s
|
8d63647104
|
assign session.Withdrawal
|
2021-05-12 12:05:54 +08:00 |
|
c9s
|
29b7326f19
|
add withdrawal property to the exchange session
|
2021-05-12 12:05:54 +08:00 |
|
zenix
|
ba091dccf6
|
Fix: binance's cancel update is sent through New status with 0 quantity
|
2021-05-11 06:57:09 +00:00 |
|
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 |
|