bbgo_origin/pkg/bbgo
2022-07-04 02:21:14 +08:00
..
testdata fix: remove maker/buyer/taker/sellerCommission 2022-03-07 14:32:00 +09:00
activeorderbook_callbacks.go update activeorderbook callback file 2022-06-06 06:03:49 +08:00
activeorderbook.go backtest: assign user data stream to backtest.Exchange before we call EmitStart 2022-07-04 02:21:14 +08:00
builder.go add doc comments 2022-06-25 16:55:54 +08:00
config_test.go support specifying session in sync symbol 2022-06-14 13:02:36 +08:00
config.go move and rename isSymbolBasedStrategy 2022-06-30 15:49:18 +08:00
environment.go bbgo: optimize order cancel for back-testing 2022-06-21 01:12:16 +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
exit_cumulated_volume_take_profit.go bbgo: implmenet reflectMergeStructFields so that we can merge field values 2022-06-30 15:49:17 +08:00
exit_lower_shadow_take_profit.go add ema condition to the lower shadow take profit 2022-06-30 17:42:23 +08:00
exit_protective_stop_loss.go all: move exit methods to the bbgo core 2022-06-29 01:58:15 +08:00
exit_roi_stop_loss.go pivotshort: fix breakLow handle event 2022-07-01 15:30:06 +08:00
exit_roi_take_profit.go all: move exit methods to the bbgo core 2022-06-29 01:58:15 +08:00
exit_test.go bbgo: add ExchangeSession param to the subscribe method 2022-06-29 15:16:56 +08:00
exit.go pivotshort: refactor ResistanceShort entry method 2022-06-30 18:29:02 +08:00
graceful_callbacks.go add graceful shutdown 2020-11-12 14:50:21 +08:00
graceful_shutdown.go all: rewrite and clean up graceful shutdown api 2022-06-30 15:49:18 +08:00
interact_test.go interact: update test 2022-06-07 10:45:55 +08:00
interact.go interact: use instance ID as signature 2022-06-07 10:40:15 +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
notification.go all: rewrite notification api 2022-06-19 12:29:36 +08:00
order_execution.go pivotshort: refactor take profit and stop loss methods 2022-06-26 16:13:58 +08:00
order_executor_general.go fix profit stats notification 2022-07-01 17:32:40 +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 all: rewrite and clean up graceful shutdown api 2022-06-30 15:49:18 +08:00
persistence.go move dynamic stuff to the pkg/dynamic package 2022-06-30 15:49:18 +08:00
profitstats.go fix: apply gofmt on all files, add revive action 2022-06-17 16:06:59 +09: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_test.go move dynamic stuff to the pkg/dynamic package 2022-06-30 15:49:18 +08:00
reflect.go move and rename isSymbolBasedStrategy 2022-06-30 15:49:18 +08:00
reporter.go use position to calculate the pnl 2021-12-05 02:17:15 +08:00
risk_controls.go pivotshort: refactor and redesign order executor 2022-06-18 12:30:42 +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 all: rewrite notification api 2022-06-19 12:29:36 +08:00
smart_stops.go pivotshort: refactor and add more fix 2022-06-09 17:36:22 +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: add pre-commit 2022-06-17 16:07:00 +09: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 pivotshort: refactor and redesign order executor 2022-06-18 12:30:42 +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 pivotshort: refactor and redesign order executor 2022-06-18 12:30:42 +08:00
trader_test.go fix: apply gofmt on all files, add revive action 2022-06-17 16:06:59 +09:00
trader.go dynamic: implement CallWithMatch for dynamic calls 2022-07-01 13:09:30 +08:00
twap_order_executor.go rename active order book constructor function 2022-06-06 06:57:25 +08:00
wrapper.go add IsWrapperBinary flag and fix persistence error 2021-01-21 12:27:21 +08:00