bbgo_origin/pkg/bbgo
2023-04-18 11:31:51 +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: add persistence service to environment 2023-03-02 22:42:02 +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 FIX: add persistence service to environment 2023-03-02 22:42:02 +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 exits/trailingstop: update comment 2023-04-18 11:31:51 +08:00
exit_lower_shadow_take_profit.go all: refactor standard indicator helper and fix tests 2022-07-26 18:35:50 +08:00
exit_protective_stop_loss.go Merge pull request #961 from frin1/fix/exit_protective_stop_loss-repay 2022-09-20 12:04:24 +08:00
exit_roi_stop_loss.go feat: cancel order for exit roi take profit and loss 2022-10-28 17:56:07 +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 all: simplify underlying exchange submitOrder method 2022-09-09 18:41:06 +08:00
exit_trailing_stop.go improve/exit: use roi.Percentage() instead of roi.Float64() 2023-03-08 17:12:41 +08:00
exit.go exits/hhllstop: add hhllstop to exits 2023-03-16 18:39:27 +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
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 bbgo: refactor isolation and add more tests 2022-10-04 17:23:43 +08:00
isolation.go pull out shutdown timeout context 2022-10-11 14:23:02 +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: print submit order in the message 2023-03-05 17:23:06 +08:00
order_executor_general.go bbgo: fix logger usage 2023-03-02 16:57:29 +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 bbgo: use margin asset borrowable amount to adjust the quantity 2022-09-19 09:10:59 +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 FIX: add persistence service to environment 2023-03-02 22:42:02 +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 fix/scale: fix typo and add some more tests 2023-03-10 13:51:29 +08:00
serialmarketdatastore.go fix: remove redundant notification 2022-10-27 17:35:50 +09:00
session.go bbgo: provide logging configuration 2023-02-22 15:25:39 +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 add RSI to StandardIndicatorSet 2023-01-05 18:36:09 +08:00
stop_ema.go pivotshort: fix log format and notification 2022-09-16 11:18:11 +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 bbgo: fix: pass isolated context to SaveState() call 2023-03-15 22:50:50 +08:00
trend_ema_test.go strategy/pivotshort: add trendema test case 2022-09-11 14:42:05 +08:00
trend_ema.go bbgo: improve trendEMA condition 2022-09-16 01:20:48 +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