bbgo_origin/pkg/bbgo
2023-07-04 21:31:47 +08: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 bbgo: fix pending order event trigger 2023-02-23 21:46:57 +08:00
activeorderbook.go bbgo: triggering pending order update event ot the handler 2023-02-23 18:08:21 +08:00
backtestfeemode_enumer.go backtest: rename BackTest to Backtest 2022-09-02 14:16:16 +08:00
bootstrap.go fix: avoid global persistenceServiceFacade concurrent write 2023-04-26 00:37:13 +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 bbgo: add logging config struct 2023-02-22 15:18:48 +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 all: refactor exchange factory to return the minimal implementation 2023-05-17 13:43:00 +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: cumulated volume stop - compare shadow height 2022-09-14 12:32:36 +08:00
exit_hh_ll_stop.go exit/hhllStop: avoid using underscore in variable names 2023-06-30 14:10:25 +08:00
exit_lower_shadow_take_profit.go all: add parameter index to the Last method 2023-05-31 19:35:44 +08:00
exit_protective_stop_loss.go bbgo: introduce ENABLE_MARKET_TRADE_STOP env var 2023-06-27 16:39:10 +08:00
exit_roi_stop_loss.go bbgo: trigger price check when kline is updated (not just closed) 2023-06-27 16:39:09 +08:00
exit_roi_take_profit.go feat: cancel order for exit roi take profit and loss 2022-10-28 17:56:07 +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 bbgo: fix trailing stop order tag 2023-06-07 16:39:37 +08:00
exit_trailing_stop.go bbgo: trigger trailingStop when kline is updated 2023-06-27 16:39:10 +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 bbgo: check isolation context for log message 2023-02-08 17:39:02 +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 bbgo: add TestIndicatorSet_closeCache test 2023-06-30 10:46: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 bbgo: wrap keyboard removal in defer func 2022-09-14 02:53:32 +08: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
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 bbgo: just use else condition 2023-06-30 11:05:03 +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 riskcontrol: move release position order submission into the pos risk control 2023-07-04 21:31:47 +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
order_store.go fix: Position not synchronized in drift. add DisableNotify for GeneralOrderExecutor 2022-11-21 12:16:11 +09:00
persistence_test.go all: resolve import cycle 2022-08-23 02:12:26 +08:00
persistence.go bbgo: lock strategy before we sync data 2023-04-26 18:07:29 +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 bbgo: add USDTTWD price test case 2022-09-14 02:18:39 +08: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 fix/scale: fix typo and add some more tests 2023-03-10 13:51:29 +08:00
scale.go bbgo: add scale Sum method 2023-06-14 17:25:23 +08:00
serialmarketdatastore.go fix: remove redundant notification 2022-10-27 17:35:50 +09:00
session.go fix .Indicators nil map 2023-07-02 14:13:24 +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
trade_store_test.go bbgo: add TradeStore prune func and its tests 2022-12-06 00:15:09 +08:00
trade_store.go bbgo: add EnablePrune option 2022-12-06 00:28:38 +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 fix: Position not synchronized in drift. add DisableNotify for GeneralOrderExecutor 2022-11-21 12:16:11 +09:00
trader_test.go fix: apply gofmt on all files, add revive action 2022-06-17 16:06:59 +09:00
trader.go fix: avoid global persistenceServiceFacade concurrent write 2023-04-26 00:37:13 +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 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