bbgo_origin/pkg/bbgo
2024-06-19 14:18:21 +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
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 fi: restore parameter when update active orde book 2024-03-14 14:48:15 +08:00
backtestfeemode_enumer.go backtest: rename BackTest to Backtest 2022-09-02 14:16:16 +08:00
bootstrap.go support extra migration packages 2024-01-24 15:33:17 +08:00
builder.go add doc comments 2022-06-25 16:55:54 +08:00
config_test.go bbgo: drop legacy notification routing 2022-09-19 19:22:08 +08:00
config.go environment: check syncBufferPeriod 2024-06-19 14:18:21 +08: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 environment: check syncBufferPeriod 2024-06-19 14:18:21 +08: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 telegram: prevent sending error in case of no opened position 2024-02-02 21:44:27 +05:45
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
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.go fix: SerialMarketDataStore together with backtests 2022-10-27 17:35:50 +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 feature: create simpleinteract and remove command in notification 2022-08-15 21:03:48 +09: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 add short position close logic 2024-03-20 18:48:08 +01:00
order_executor_simple.go improve cancelOrders method 2023-08-05 02:00:07 +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 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 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 all: resolve import cycle 2022-08-23 02:12:26 +08:00
reporter.go pull out AccountValueCalculator 2022-07-21 19:46:58 +08:00
risk_controls.go pivotshort: refactor and redesign order executor 2022-06-18 12:30:42 +08:00
risk_test.go upgrade golang mockgen to uber mockgen. generate exchange public 2024-03-12 14:18:14 +09:00
risk.go fix/risk: remove balance check in the futures part of CalculateBaseQuantity() 2022-10-17 12:07:58 +08:00
scale_test.go bbgo: solve the scale when unmarshalling the json 2023-12-07 16:18:23 +08:00
scale.go bbgo: solve the scale when unmarshalling the json 2023-12-07 16:18:23 +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 xalign: add more complex test case for xalign strategy 2024-03-19 15:29:18 +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 backtest Initialize call 2024-01-28 14:29:54 +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
twap_order_executor.go all: move trade store and order store into pkg/core 2023-07-04 21:42:24 +08:00
wrapper.go add IsWrapperBinary flag and fix persistence error 2021-01-21 12:27:21 +08:00