bbgo_origin/pkg/bbgo
2022-05-30 15:23:57 +08:00
..
testdata fix: remove maker/buyer/taker/sellerCommission 2022-03-07 14:32:00 +09:00
active_book.go fix binance test, outptu for support and xgap strategies 2022-02-15 12:01:39 +09:00
builder.go Mkdir if dir not exists 2022-04-07 20:21:07 +08:00
config_test.go feature: add multiple exchange support in backtest 2022-03-07 13:18:56 +09:00
config.go define DefaultBacktestAccount 2022-05-17 18:45:06 +08:00
context.go fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests 2022-02-15 14:55:19 +09:00
environment.go add IsBackTesting method for checking environment mode 2022-05-09 18:58:09 +08:00
errors.go fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests 2022-02-15 14:55:19 +09:00
exchangeorderexecutor_callbacks.go add trade update callbacks and order update callbacks to order executor 2020-12-21 13:40:23 +08:00
graceful_callbacks.go add graceful shutdown 2020-11-12 14:50:21 +08:00
graceful_shutdown.go move graceful shutdown to a single file 2022-05-05 09:56:21 +08:00
injection_test.go fix: fix Test_parseStructAndInject test 2022-03-06 18:28:40 +08:00
injection.go implement reflect-based persistence restore and load 2022-05-05 12:53:48 +08:00
interact_test.go implement position closer interaction 2022-01-15 02:52:46 +08:00
interact.go interact: Remove status from strategy signature 2022-04-26 21:05:26 +08:00
localactiveorderbook_callbacks.go add local active orderbook callback files 2020-11-11 23:19:16 +08:00
marketdatastore_callbacks.go fix: series not been updated 2022-04-11 17:04:56 +09:00
marketdatastore.go fix: series not been updated 2022-04-11 17:04:56 +09:00
metrics.go fix session connection status metrics 2021-12-28 01:58:36 +08:00
moving_average_settings.go fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests 2022-02-15 14:55:19 +09:00
notifier.go refactor notifiers and add liquidity field to the trade 2021-05-12 12:37:48 +08:00
order_execution.go all: use thread-safe GetAccount method to get account 2022-04-23 15:43:11 +08:00
order_processor_test.go fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests 2022-02-15 14:55:19 +09:00
order_processor.go fix all the fixedpoint use other than strategy 2022-02-15 12:01:39 +09:00
order_store.go fix all the fixedpoint use other than strategy 2022-02-15 12:01:39 +09:00
persistence_test.go add state key as the prefix 2022-05-05 18:18:38 +08:00
persistence.go bbgo: add persistence Sync api 2022-05-05 18:18:38 +08:00
profitstats.go move profit struct into the types package 2022-03-04 16:39:48 +08:00
quantity_amount.go fix all the fixedpoint use other than strategy 2022-02-15 12:01:39 +09:00
quota.go fix all the fixedpoint use other than strategy 2022-02-15 12:01:39 +09:00
reflect.go add report index file 2022-05-17 18:10:37 +08:00
reporter.go use position to calculate the pnl 2021-12-05 02:17:15 +08:00
risk_controls.go improve cross exchange strategy mounting behavior and add fixedpoint atomic ops 2020-11-17 08:19:22 +08:00
scale_test.go fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests 2022-02-15 14:55:19 +09:00
scale.go add dnum as the fixedpoint implementation. change types float64 to fixedpoint.Value 2022-02-15 12:00:39 +09:00
session.go feature: SLTP from bookticker. fix: bookTicker typename, depth buffer error message 2022-05-12 19:43:04 +09:00
smart_stops.go use types.Interval instead of string 2022-05-19 10:04:03 +08:00
strategy_controller.go feature: make callback vars start with lowercase 2022-04-26 18:29:22 +08:00
strategy_test.go improve config loading by adding unmarshal yaml method 2020-10-26 15:33:25 +08:00
strategycontroller_callbacks.go feature: make callback vars start with lowercase 2022-04-26 18:29:22 +08:00
string.go exchange: update maskkey handling 2021-12-23 01:18:36 +08:00
time.go bbgo: add shared local time zone 2021-06-16 13:04:23 +08:00
trade_store.go all: change trade id to uint64 2021-12-23 17:49:18 +08:00
tradecollector_callbacks.go bbgo: refactor trade collector using position interface 2022-05-30 15:23:57 +08:00
tradecollector_test.go fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests 2022-02-15 14:55:19 +09:00
tradecollector.go bbgo: refactor trade collector using position interface 2022-05-30 15:23:57 +08:00
trader_test.go fix bbgo.Notifiability injection 2022-03-06 16:09:15 +08:00
trader.go integrate state recorder 2022-05-10 13:31:23 +08:00
twap_order_executor.go all: use thread-safe GetAccount method to get account 2022-04-23 15:43:11 +08:00
wrapper.go add IsWrapperBinary flag and fix persistence error 2021-01-21 12:27:21 +08:00