c9s
|
f21b7f06d7
|
update static files and fix page routes
|
2021-02-03 18:54:35 +08:00 |
|
c9s
|
b3aa7e7511
|
add darwin os check
|
2021-02-03 18:54:34 +08:00 |
|
YC
|
d821d2ef95
|
Merge pull request #103 from ycdesu/minor/order/tests
|
2021-02-03 18:52:11 +08:00 |
|
YC
|
cc146faae2
|
Merge pull request #101 from ycdesu/minor/trade/tests
minor: extract SQL generator function of trades table
|
2021-02-03 18:32:25 +08:00 |
|
ycdesu
|
72b1877e4a
|
order: extract query order sql generator
|
2021-02-03 18:31:32 +08:00 |
|
c9s
|
c73e5f00f3
|
refactor server routes
|
2021-02-03 18:09:33 +08:00 |
|
c9s
|
bf8508d4fb
|
update description
|
2021-02-03 17:41:48 +08:00 |
|
c9s
|
4e31c7f68a
|
change default config path to just bbgo.yaml
|
2021-02-03 17:39:53 +08:00 |
|
c9s
|
9096b6425e
|
move instructions sequence
|
2021-02-03 17:29:51 +08:00 |
|
c9s
|
c35cef5b09
|
implement config saving api
|
2021-02-03 17:27:18 +08:00 |
|
ycdesu
|
220da92f48
|
trade: extract sql generator function and test it
|
2021-02-03 16:51:02 +08:00 |
|
ycdesu
|
1522c3d7a6
|
trade: create a separate sql gen function
|
2021-02-03 15:44:02 +08:00 |
|
c9s
|
f7a4f7d415
|
add strategies endpoint and strategy review page
|
2021-02-03 15:00:01 +08:00 |
|
c9s
|
705edc38c0
|
implement config yaml dummper
|
2021-02-03 09:58:31 +08:00 |
|
c9s
|
098a966813
|
add test case for config.Map method
|
2021-02-03 09:34:53 +08:00 |
|
c9s
|
1a2c3556a8
|
add ID method to the TestStrategy
|
2021-02-03 09:09:19 +08:00 |
|
c9s
|
7904c6f4d0
|
add ID() to Strategy interface
|
2021-02-03 09:08:05 +08:00 |
|
c9s
|
8aa96c4546
|
integrate strateg adding api
|
2021-02-03 02:26:41 +08:00 |
|
c9s
|
578451bb51
|
add setup flag to run server
|
2021-02-02 18:17:58 +08:00 |
|
c9s
|
d458519ba5
|
add setup flag
|
2021-02-02 18:17:39 +08:00 |
|
c9s
|
17d5e301dc
|
refine setup steps
|
2021-02-02 17:26:35 +08:00 |
|
c9s
|
73762d9888
|
support exchange session test from the setup wizard
|
2021-02-02 11:44:07 +08:00 |
|
c9s
|
06f648448b
|
pull out wrapper runner
|
2021-02-01 20:44:15 +08:00 |
|
c9s
|
eebb568b0c
|
add dotenv string flag for changing dotenv filename
|
2021-02-01 20:44:15 +08:00 |
|
c9s
|
0a29ee99b8
|
call godotenv.Load to load env vars
|
2021-02-01 20:44:15 +08:00 |
|
c9s
|
a60aeb4771
|
pull out .Subscribe from trader.Run
|
2021-02-01 20:44:15 +08:00 |
|
c9s
|
ddcc8ae4ee
|
move ExchangeOrderExecutor into exchange session
|
2021-02-01 20:44:15 +08:00 |
|
c9s
|
de8e717a41
|
refactor session initialization function
|
2021-02-01 20:44:15 +08:00 |
|
c9s
|
6912f77c72
|
fix lock issue
|
2021-02-01 18:55:47 +08:00 |
|
c9s
|
a926ee1e37
|
rename --enable-api-server to --enable-web-server
|
2021-01-29 19:31:52 +08:00 |
|
c9s
|
fbbe304dfb
|
add trades query api
|
2021-01-29 18:48:00 +08:00 |
|
c9s
|
cc8133a90e
|
print order query sql
|
2021-01-29 18:34:03 +08:00 |
|
c9s
|
72037d6c14
|
update migration package
|
2021-01-29 18:28:23 +08:00 |
|
c9s
|
b8d7ae7687
|
add AggOrder for market orders
|
2021-01-29 17:52:13 +08:00 |
|
c9s
|
32645f228b
|
add order query api
|
2021-01-29 13:15:44 +08:00 |
|
c9s
|
be750b94df
|
fix layout and margin
|
2021-01-29 12:55:11 +08:00 |
|
c9s
|
8031c6066e
|
mount static files to routes
|
2021-01-29 11:19:37 +08:00 |
|
c9s
|
78890834b5
|
support symbol segment
|
2021-01-28 18:51:35 +08:00 |
|
c9s
|
9ee49ea3f1
|
Add TradingVolumeBar
|
2021-01-26 18:10:08 +08:00 |
|
c9s
|
95129e94d7
|
add lastPrcieUpdatedAt timestamp for checking last price cache
|
2021-01-26 17:23:40 +08:00 |
|
c9s
|
df17c4b1b6
|
add trading volume query api
|
2021-01-26 17:21:18 +08:00 |
|
c9s
|
9717fddfbd
|
add total asset pie chart
|
2021-01-25 16:56:02 +08:00 |
|
c9s
|
e47357d1ed
|
add assets api and price loading
|
2021-01-25 15:32:17 +08:00 |
|
c9s
|
09b3046feb
|
lower case fields are not exported to json
|
2021-01-25 14:32:46 +08:00 |
|
c9s
|
b952e6fd54
|
rename Reset to private reset
|
2021-01-25 14:26:22 +08:00 |
|
c9s
|
4c0a586aa2
|
adjust depth update to 5 minutes
|
2021-01-25 14:24:59 +08:00 |
|
c9s
|
ca71c81284
|
improve slice copying
|
2021-01-25 14:20:56 +08:00 |
|
c9s
|
b99c01a03f
|
fix stream book usage
|
2021-01-25 14:13:39 +08:00 |
|
c9s
|
1aefbbfddc
|
improve orderbook validation error
|
2021-01-25 13:53:11 +08:00 |
|
c9s
|
7310700540
|
add account and account balances
|
2021-01-24 20:18:04 +08:00 |
|
c9s
|
eab915abc7
|
rename loaded-symbols to just symbols
|
2021-01-24 20:14:43 +08:00 |
|
c9s
|
3a52a4bff8
|
add and set AddOrderUpdate flag for session order store
|
2021-01-24 20:13:05 +08:00 |
|
c9s
|
e2de3040bd
|
adjust ping ticker to 10seconds
|
2021-01-24 19:08:33 +08:00 |
|
c9s
|
42b66d6898
|
add OrderStore accessor on ExchangeSession
|
2021-01-24 19:08:12 +08:00 |
|
c9s
|
9040f6ff0d
|
add --enable-api-server flag
|
2021-01-24 19:07:56 +08:00 |
|
c9s
|
447057086c
|
add Orders method on OrderStore
|
2021-01-24 19:07:32 +08:00 |
|
c9s
|
eccc2c6e0f
|
implement session config api and server
|
2021-01-24 18:42:36 +08:00 |
|
c9s
|
7632638982
|
log depth api error
|
2021-01-24 16:54:13 +08:00 |
|
c9s
|
51e5deee47
|
add frontend files
|
2021-01-24 14:14:25 +08:00 |
|
c9s
|
1892d03326
|
make session trades map thread safe
|
2021-01-24 14:14:25 +08:00 |
|
c9s
|
1c80d30ce2
|
add TradeSlice with sync
|
2021-01-24 14:14:25 +08:00 |
|
c9s
|
84b6982033
|
add order store to exchange session
|
2021-01-24 14:14:25 +08:00 |
|
c9s
|
568250f4bb
|
define api routes
|
2021-01-24 14:14:25 +08:00 |
|
c9s
|
cabc082713
|
fix f.loadDepthSnapshot timing
|
2021-01-24 14:12:44 +08:00 |
|
c9s
|
50fc1fd3ac
|
call Reset instead of replacing the whole map
the reason is that we have the update worker, which is already started.
|
2021-01-24 14:09:07 +08:00 |
|
c9s
|
2b441ad3bc
|
binance: improve depth event filtering and reloading
|
2021-01-24 10:02:38 +08:00 |
|
c9s
|
1f1e1383f3
|
fix advancedOrderCancelApi interface
|
2021-01-23 17:20:26 +08:00 |
|
c9s
|
858a8d84bb
|
groupID is an int64 field
|
2021-01-23 17:17:46 +08:00 |
|
c9s
|
4b039847b7
|
support group ID
|
2021-01-23 17:15:32 +08:00 |
|
c9s
|
b5f2c325a4
|
add group id field
|
2021-01-23 17:07:05 +08:00 |
|
c9s
|
e08d62395e
|
adjust snapshot ticker to 10 minutes
|
2021-01-23 17:03:53 +08:00 |
|
c9s
|
6a6dacd595
|
fix binance depth snapshot updating
|
2021-01-23 16:59:51 +08:00 |
|
c9s
|
d0fc161ae7
|
fix define build config checking
|
2021-01-23 01:06:56 +08:00 |
|
c9s
|
2da5fa2e92
|
pre-define build config
|
2021-01-23 01:03:56 +08:00 |
|
c9s
|
cc3e9f42aa
|
cmd: fix build nil check
|
2021-01-23 01:01:36 +08:00 |
|
c9s
|
fa8198b8b9
|
remove unnecessary logs
|
2021-01-21 12:28:47 +08:00 |
|
c9s
|
93ae65535d
|
remove os and arch flags
|
2021-01-21 12:27:55 +08:00 |
|
c9s
|
5eaa8f0778
|
add IsWrapperBinary flag and fix persistence error
|
2021-01-21 12:27:21 +08:00 |
|
c9s
|
503df57e72
|
remove legacy cmd flags
|
2021-01-21 12:10:06 +08:00 |
|
c9s
|
45876968d9
|
let build config and legacy imports co-exists
|
2021-01-21 12:08:06 +08:00 |
|
c9s
|
5329ef8f25
|
refactor build config
|
2021-01-21 12:06:03 +08:00 |
|
c9s
|
26c128b3ab
|
adjust rate limiter
|
2021-01-21 01:21:30 +08:00 |
|
c9s
|
e869e04092
|
use rate limiter for batch query
|
2021-01-21 01:02:43 +08:00 |
|
c9s
|
a73729fb17
|
split files for batch processor and margin settings
|
2021-01-21 00:58:02 +08:00 |
|
c9s
|
ad4f339b27
|
fix test case name
|
2021-01-21 00:54:59 +08:00 |
|
c9s
|
38bac10050
|
consider fee calculation
|
2021-01-21 00:49:01 +08:00 |
|
c9s
|
bfc8e511d0
|
simplify average cost calculation
|
2021-01-20 23:46:22 +08:00 |
|
c9s
|
16aa070120
|
assign base/quote currency to the position struct
|
2021-01-20 23:08:57 +08:00 |
|
c9s
|
8a08c406c3
|
check symbol for the position update
|
2021-01-20 17:37:23 +08:00 |
|
c9s
|
48dd697ce3
|
handling short-to-long and long-to-short position
|
2021-01-20 17:35:58 +08:00 |
|
c9s
|
c2a27b031e
|
init position with loaded symbols
|
2021-01-20 16:30:44 +08:00 |
|
c9s
|
0051dbc78a
|
add Position accessor
|
2021-01-20 16:29:15 +08:00 |
|
c9s
|
079fcf08e3
|
initialize position map
|
2021-01-20 16:28:27 +08:00 |
|
c9s
|
09d712416f
|
add json struct tags
|
2021-01-20 16:15:34 +08:00 |
|
c9s
|
617f5119fd
|
test trade profit calculation
|
2021-01-20 16:14:02 +08:00 |
|
c9s
|
169af63846
|
add more position tests
|
2021-01-20 16:10:20 +08:00 |
|
c9s
|
34148948ab
|
add position and its tests
|
2021-01-20 16:08:14 +08:00 |
|
c9s
|
42811e8157
|
alias logrus as log
|
2021-01-20 02:45:50 +08:00 |
|
c9s
|
9280ec348f
|
clean up pnl command
we should use environment to load the sessions
|
2021-01-20 02:45:13 +08:00 |
|
c9s
|
0e99d9bdcb
|
move time.Sleep to batch processor to avoid rate limit
|
2021-01-20 02:32:55 +08:00 |
|