bbgo_origin/pkg/bbgo
2024-11-07 17:15:10 +08:00
..
mocks upgrade golang mockgen to uber mockgen. generate exchange public 2024-03-12 14:18:14 +09:00
testdata exchange: adjust tests for order fee-amount protection 2022-08-02 15:12:14 +08:00
account_value_calc_test.go all: refactor NewAccountValueCalculator 2024-10-05 13:09:31 +08:00
account_value_calc.go refactor account value calculator 2024-10-05 14:22:13 +08:00
activeorderbook_callbacks.go grid2: integrate prometheus metrics 2023-01-10 20:15:51 +08:00
activeorderbook_test.go add test case 2024-03-14 22:41:58 +08:00
activeorderbook.go Merge pull request #1763 from lanphan/obsoleted 2024-10-22 12:33:10 +08:00
backtestfeemode_enumer.go backtest: rename BackTest to Backtest 2022-09-02 14:16:16 +08:00
bbomonitor_callbacks.go move bbo monitor to bbgo package 2024-09-27 18:43:09 +08:00
bbomonitor.go xdepthmaker: add priceImpactRatio detection 2024-09-27 20:14:34 +08:00
bootstrap.go support extra migration packages 2024-01-24 15:33:17 +08:00
builder.go solved all deprecated, comment all unused variables and functions 2024-10-08 00:08:15 +07:00
config_test.go solved all deprecated, comment all unused variables and functions 2024-10-08 00:08:15 +07:00
config.go solved all deprecated, comment all unused variables and functions 2024-10-08 00:08:15 +07:00
consts.go bbgo: move fixedpoint one const to consts.go 2022-09-07 00:50:54 +08:00
doc.go bbgo: add package doc to bbgo 2022-08-24 16:54:31 +08:00
environment.go solved all deprecated, comment all unused variables and functions 2024-10-08 00:08:15 +07:00
envvar.go all: refactor log formatter functions 2023-12-13 09:47:18 +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 FIX: deactivate exit when position in closing 2023-11-29 18:26:01 +08:00
exit_hh_ll_stop.go FIX: deactivate exit when position in closing 2023-11-29 18:26:01 +08:00
exit_lower_shadow_take_profit.go FIX: deactivate exit when position in closing 2023-11-29 18:26:01 +08:00
exit_protective_stop_loss.go set the defauinteralv alue to 1m 2024-02-28 15:02:57 +08:00
exit_roi_stop_loss.go set the defauinteralv alue to 1m 2024-02-28 15:02:57 +08:00
exit_roi_take_profit.go set the defauinteralv alue to 1m 2024-02-28 15:02:57 +08:00
exit_support_take_profit.go pivotshort: move SupportTakeProfit to the core api 2022-08-26 18:09:46 +08:00
exit_test.go bbgo: add ExchangeSession param to the subscribe method 2022-06-29 15:16:56 +08:00
exit_trailing_stop_test.go upgrade golang mockgen to uber mockgen. generate exchange public 2024-03-12 14:18:14 +09:00
exit_trailing_stop.go set the defauinteralv alue to 1m 2024-02-28 15:02:57 +08:00
exit.go bbgo: rename env ENABLE_MARKET_TRADE_STOP to DISABLE_MARKET_TRADE_STOP 2023-06-29 14:26:12 +08:00
graceful_shutdown.go add universal cancel all orders api helper 2024-02-23 16:56:30 +08:00
gracefulshutdown_callbacks.go add IsolationContext 2022-10-03 15:33:46 +08:00
indicator_set_test.go bbgo: add TestIndicatorSet_EWMA test 2023-06-30 11:02:42 +08:00
indicator_set.go indicator_set add adx 2024-03-23 17:17:40 +08:00
interact_modify.go fix: add more test cases on reflect.Value.Set 2022-09-14 20:11:38 +09:00
interact_test.go bbgo: add two test cases for reflect 2022-09-11 03:13:10 +08:00
interact.go solved all deprecated, comment all unused variables and functions 2024-10-08 00:08:15 +07:00
isolation_test.go fix: drop the global persistenceServiceFacade 2023-04-26 00:42:33 +08:00
isolation.go fix: avoid global persistenceServiceFacade concurrent write 2023-04-26 00:37:13 +08:00
livenote.go dynamic: implement Compare() and add tests to Compare() 2024-11-07 17:15:10 +08:00
log.go all: solve cyclic import 2022-09-09 17:40:17 +08:00
marketdatastore_callbacks.go bbgo: refactor standard indicator 2022-07-21 01:05:08 +08:00
marketdatastore_test.go FIX: fix memory leak 2024-09-05 17:05:58 +08:00
marketdatastore.go FIX: fix memory leak 2024-09-05 17:05:58 +08:00
metrics.go bbgo: add session name to the metrics 2024-08-21 15:46:09 +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: add livenote and livenoteposter, move all example strategy into pkg/strategy/example 2024-11-05 16:02:34 +08:00
order_execution.go all: move trade collector to pkg/core 2023-07-05 15:26:36 +08:00
order_executor_fast.go bbgo: move Fast* methods to the FastOrderExecutor 2023-05-16 16:39:04 +08:00
order_executor_general.go all: move jitter helpr to a single package 2024-10-28 17:28:56 +08:00
order_executor_simple.go solved all deprecated, comment all unused variables and functions 2024-10-08 00:08:15 +07: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 xfunding: add mutex 2023-03-23 17:36:30 +08:00
persistence_test.go all: resolve import cycle 2022-08-23 02:12:26 +08:00
persistence.go fix trade collector race condition and infinite iterate 2023-07-20 12:45:23 +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 bbgo: add stringer method to the quota struct 2024-09-03 03:26:47 +08:00
reflect_test.go move dynamic stuff to the pkg/dynamic package 2022-06-30 15:49:18 +08:00
reflect.go all: resolve import cycle 2022-08-23 02:12:26 +08:00
reporter.go solved all deprecated, comment all unused variables and functions 2024-10-08 00:08:15 +07:00
risk_controls.go pivotshort: refactor and redesign order executor 2022-06-18 12:30:42 +08:00
scale_test.go bbgo: solve the scale when unmarshalling the json 2023-12-07 16:18:23 +08:00
scale.go scale: improve error message 2024-10-09 12:35:06 +08:00
serialmarketdatastore.go fix: remove redundant notification 2022-10-27 17:35:50 +09:00
session_test.go bbgo: pull out findPossibleMarketSymbols and add tests 2023-12-18 22:09:04 +08:00
session.go bbgo: mark order exeuctor as deprecated 2024-10-23 15:37:57 +08:00
source_test.go fix: rename getSource to sourceGetter 2022-09-06 19:15:13 +09:00
source.go fix: lowestPrice in elliottwave, add more logs 2022-09-07 15:02:38 +09:00
standard_indicator_set.go bbgo: add v2 indicator set 2023-06-29 17:44:36 +08:00
stop_ema.go all: add parameter index to the Last method 2023-05-31 19:35:44 +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
trader_test.go fix: apply gofmt on all files, add revive action 2022-06-17 16:06:59 +09:00
trader.go FIX: add debug log 2024-09-09 15:13:02 +08:00
trend_ema_test.go strategy/pivotshort: add trendema test case 2022-09-11 14:42:05 +08:00
trend_ema.go all: add parameter index to the Last method 2023-05-31 19:35:44 +08:00
wrapper.go add IsWrapperBinary flag and fix persistence error 2021-01-21 12:27:21 +08:00