dexbot 1.3.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analysis/chart_utils.d.ts +11 -9
- package/dist/analysis/chart_utils.d.ts.map +1 -1
- package/dist/analysis/chart_utils.js +21 -16
- package/dist/analysis/chart_utils.js.map +1 -1
- package/dist/analysis/math_utils.d.ts +4 -13
- package/dist/analysis/math_utils.d.ts.map +1 -1
- package/dist/analysis/math_utils.js +16 -18
- package/dist/analysis/math_utils.js.map +1 -1
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.d.ts +3 -7
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.d.ts.map +1 -1
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.js +38 -34
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.js.map +1 -1
- package/dist/analysis/trend_detection/hurst_analyzer.d.ts +1 -4
- package/dist/analysis/trend_detection/hurst_analyzer.d.ts.map +1 -1
- package/dist/analysis/trend_detection/hurst_analyzer.js +10 -7
- package/dist/analysis/trend_detection/hurst_analyzer.js.map +1 -1
- package/dist/analysis/trend_detection/kalman_trend_analyzer.d.ts +6 -6
- package/dist/analysis/trend_detection/kalman_trend_analyzer.d.ts.map +1 -1
- package/dist/analysis/trend_detection/kalman_trend_analyzer.js +23 -15
- package/dist/analysis/trend_detection/kalman_trend_analyzer.js.map +1 -1
- package/dist/analysis/trend_detection/kalman_velocity_smoothing.d.ts +12 -13
- package/dist/analysis/trend_detection/kalman_velocity_smoothing.d.ts.map +1 -1
- package/dist/analysis/trend_detection/kalman_velocity_smoothing.js +16 -16
- package/dist/analysis/trend_detection/kalman_velocity_smoothing.js.map +1 -1
- package/dist/analysis/trend_detection/permutation_entropy_analyzer.d.ts +1 -4
- package/dist/analysis/trend_detection/permutation_entropy_analyzer.d.ts.map +1 -1
- package/dist/analysis/trend_detection/permutation_entropy_analyzer.js +10 -7
- package/dist/analysis/trend_detection/permutation_entropy_analyzer.js.map +1 -1
- package/dist/bot.d.ts.map +1 -1
- package/dist/bot.js +6 -13
- package/dist/bot.js.map +1 -1
- package/dist/credential-daemon.d.ts.map +1 -1
- package/dist/credential-daemon.js +21 -22
- package/dist/credential-daemon.js.map +1 -1
- package/dist/dexbot.d.ts.map +1 -1
- package/dist/dexbot.js +16 -15
- package/dist/dexbot.js.map +1 -1
- package/dist/market_adapter/ama_signal_runner.d.ts +1 -1
- package/dist/market_adapter/ama_signal_runner.d.ts.map +1 -1
- package/dist/market_adapter/ama_signal_runner.js +8 -20
- package/dist/market_adapter/ama_signal_runner.js.map +1 -1
- package/dist/market_adapter/candle_utils.d.ts +2 -10
- package/dist/market_adapter/candle_utils.d.ts.map +1 -1
- package/dist/market_adapter/candle_utils.js +7 -8
- package/dist/market_adapter/candle_utils.js.map +1 -1
- package/dist/market_adapter/core/asymmetric_bounds.d.ts +12 -7
- package/dist/market_adapter/core/asymmetric_bounds.d.ts.map +1 -1
- package/dist/market_adapter/core/asymmetric_bounds.js +4 -5
- package/dist/market_adapter/core/asymmetric_bounds.js.map +1 -1
- package/dist/market_adapter/core/config_normalizers.d.ts +4 -9
- package/dist/market_adapter/core/config_normalizers.d.ts.map +1 -1
- package/dist/market_adapter/core/config_normalizers.js +9 -9
- package/dist/market_adapter/core/config_normalizers.js.map +1 -1
- package/dist/market_adapter/core/kibana_candles.d.ts +16 -20
- package/dist/market_adapter/core/kibana_candles.d.ts.map +1 -1
- package/dist/market_adapter/core/kibana_candles.js +16 -15
- package/dist/market_adapter/core/kibana_candles.js.map +1 -1
- package/dist/market_adapter/core/kibana_client.d.ts +8 -11
- package/dist/market_adapter/core/kibana_client.d.ts.map +1 -1
- package/dist/market_adapter/core/kibana_client.js +13 -11
- package/dist/market_adapter/core/kibana_client.js.map +1 -1
- package/dist/market_adapter/core/kibana_market_candles.d.ts +5 -12
- package/dist/market_adapter/core/kibana_market_candles.d.ts.map +1 -1
- package/dist/market_adapter/core/kibana_market_candles.js +12 -21
- package/dist/market_adapter/core/kibana_market_candles.js.map +1 -1
- package/dist/market_adapter/core/market_adapter_service.d.ts +75 -53
- package/dist/market_adapter/core/market_adapter_service.d.ts.map +1 -1
- package/dist/market_adapter/core/market_adapter_service.js +102 -98
- package/dist/market_adapter/core/market_adapter_service.js.map +1 -1
- package/dist/market_adapter/core/strategies/ama.d.ts +21 -1
- package/dist/market_adapter/core/strategies/ama.d.ts.map +1 -1
- package/dist/market_adapter/core/strategies/ama.js +10 -10
- package/dist/market_adapter/core/strategies/ama.js.map +1 -1
- package/dist/market_adapter/core/strategies/ama_slope_model.d.ts +7 -11
- package/dist/market_adapter/core/strategies/ama_slope_model.d.ts.map +1 -1
- package/dist/market_adapter/core/strategies/ama_slope_model.js +23 -30
- package/dist/market_adapter/core/strategies/ama_slope_model.js.map +1 -1
- package/dist/market_adapter/core/strategies/atr/calculator.d.ts +5 -4
- package/dist/market_adapter/core/strategies/atr/calculator.d.ts.map +1 -1
- package/dist/market_adapter/core/strategies/atr/calculator.js +5 -3
- package/dist/market_adapter/core/strategies/atr/calculator.js.map +1 -1
- package/dist/market_adapter/core/strategies/collateral_manager.d.ts +4 -7
- package/dist/market_adapter/core/strategies/collateral_manager.d.ts.map +1 -1
- package/dist/market_adapter/core/strategies/collateral_manager.js +5 -4
- package/dist/market_adapter/core/strategies/collateral_manager.js.map +1 -1
- package/dist/market_adapter/core/strategies/regime_gate.d.ts +11 -19
- package/dist/market_adapter/core/strategies/regime_gate.d.ts.map +1 -1
- package/dist/market_adapter/core/strategies/regime_gate.js +22 -22
- package/dist/market_adapter/core/strategies/regime_gate.js.map +1 -1
- package/dist/market_adapter/index.d.ts +24 -2
- package/dist/market_adapter/index.d.ts.map +1 -1
- package/dist/market_adapter/index.js +82 -56
- package/dist/market_adapter/index.js.map +1 -1
- package/dist/market_adapter/inputs/fetch_cex_synthetic_data.js +26 -37
- package/dist/market_adapter/inputs/fetch_cex_synthetic_data.js.map +1 -1
- package/dist/market_adapter/inputs/fetch_lp_data.d.ts +4 -12
- package/dist/market_adapter/inputs/fetch_lp_data.d.ts.map +1 -1
- package/dist/market_adapter/inputs/fetch_lp_data.js +100 -66
- package/dist/market_adapter/inputs/fetch_lp_data.js.map +1 -1
- package/dist/market_adapter/inputs/kibana_source.d.ts +4 -9
- package/dist/market_adapter/inputs/kibana_source.d.ts.map +1 -1
- package/dist/market_adapter/inputs/kibana_source.js +17 -18
- package/dist/market_adapter/inputs/kibana_source.js.map +1 -1
- package/dist/market_adapter/interval_utils.d.ts +1 -4
- package/dist/market_adapter/interval_utils.d.ts.map +1 -1
- package/dist/market_adapter/interval_utils.js +2 -3
- package/dist/market_adapter/interval_utils.js.map +1 -1
- package/dist/market_adapter/log_format.d.ts +1 -9
- package/dist/market_adapter/log_format.d.ts.map +1 -1
- package/dist/market_adapter/log_format.js +7 -8
- package/dist/market_adapter/log_format.js.map +1 -1
- package/dist/market_adapter/lp_chart_core.d.ts +1 -4
- package/dist/market_adapter/lp_chart_core.d.ts.map +1 -1
- package/dist/market_adapter/lp_chart_core.js +22 -20
- package/dist/market_adapter/lp_chart_core.js.map +1 -1
- package/dist/market_adapter/lp_chart_runner.d.ts +13 -24
- package/dist/market_adapter/lp_chart_runner.d.ts.map +1 -1
- package/dist/market_adapter/lp_chart_runner.js +58 -56
- package/dist/market_adapter/lp_chart_runner.js.map +1 -1
- package/dist/market_adapter/lp_chart_strategy_loader.d.ts +4 -17
- package/dist/market_adapter/lp_chart_strategy_loader.d.ts.map +1 -1
- package/dist/market_adapter/lp_chart_strategy_loader.js +36 -36
- package/dist/market_adapter/lp_chart_strategy_loader.js.map +1 -1
- package/dist/market_adapter/market_adapter.d.ts +51 -72
- package/dist/market_adapter/market_adapter.d.ts.map +1 -1
- package/dist/market_adapter/market_adapter.js +227 -192
- package/dist/market_adapter/market_adapter.js.map +1 -1
- package/dist/market_adapter/merge_lp_data.js +17 -16
- package/dist/market_adapter/merge_lp_data.js.map +1 -1
- package/dist/market_adapter/test_helpers.d.ts +9 -13
- package/dist/market_adapter/test_helpers.d.ts.map +1 -1
- package/dist/market_adapter/test_helpers.js +14 -14
- package/dist/market_adapter/test_helpers.js.map +1 -1
- package/dist/market_adapter/utils/adapter_client.d.ts +6 -14
- package/dist/market_adapter/utils/adapter_client.d.ts.map +1 -1
- package/dist/market_adapter/utils/adapter_client.js +16 -15
- package/dist/market_adapter/utils/adapter_client.js.map +1 -1
- package/dist/market_adapter/utils/atomic_write.d.ts +2 -5
- package/dist/market_adapter/utils/atomic_write.d.ts.map +1 -1
- package/dist/market_adapter/utils/atomic_write.js +5 -5
- package/dist/market_adapter/utils/atomic_write.js.map +1 -1
- package/dist/market_adapter/utils/chain.d.ts +19 -21
- package/dist/market_adapter/utils/chain.d.ts.map +1 -1
- package/dist/market_adapter/utils/chain.js +15 -16
- package/dist/market_adapter/utils/chain.js.map +1 -1
- package/dist/market_adapter/utils/data_discovery.d.ts +1 -4
- package/dist/market_adapter/utils/data_discovery.d.ts.map +1 -1
- package/dist/market_adapter/utils/data_discovery.js +10 -10
- package/dist/market_adapter/utils/data_discovery.js.map +1 -1
- package/dist/market_adapter/utils/dynamic_grid_snapshot.d.ts +1 -6
- package/dist/market_adapter/utils/dynamic_grid_snapshot.d.ts.map +1 -1
- package/dist/market_adapter/utils/dynamic_grid_snapshot.js +14 -14
- package/dist/market_adapter/utils/dynamic_grid_snapshot.js.map +1 -1
- package/dist/market_adapter/utils/file_lock.d.ts +1 -7
- package/dist/market_adapter/utils/file_lock.d.ts.map +1 -1
- package/dist/market_adapter/utils/file_lock.js +21 -25
- package/dist/market_adapter/utils/file_lock.js.map +1 -1
- package/dist/market_adapter/utils/native_history.d.ts +12 -12
- package/dist/market_adapter/utils/native_history.d.ts.map +1 -1
- package/dist/market_adapter/utils/native_history.js +15 -15
- package/dist/market_adapter/utils/native_history.js.map +1 -1
- package/dist/market_adapter/utils/paths.d.ts +2 -4
- package/dist/market_adapter/utils/paths.d.ts.map +1 -1
- package/dist/market_adapter/utils/paths.js +6 -5
- package/dist/market_adapter/utils/paths.js.map +1 -1
- package/dist/modules/account_bots.d.ts +7 -8
- package/dist/modules/account_bots.d.ts.map +1 -1
- package/dist/modules/account_bots.js +92 -114
- package/dist/modules/account_bots.js.map +1 -1
- package/dist/modules/account_orders.d.ts +5 -9
- package/dist/modules/account_orders.d.ts.map +1 -1
- package/dist/modules/account_orders.js +69 -32
- package/dist/modules/account_orders.js.map +1 -1
- package/dist/modules/authority_resolver.d.ts +32 -1
- package/dist/modules/authority_resolver.d.ts.map +1 -1
- package/dist/modules/authority_resolver.js +18 -12
- package/dist/modules/authority_resolver.js.map +1 -1
- package/dist/modules/bitshares-native/chain_client.d.ts +3 -8
- package/dist/modules/bitshares-native/chain_client.d.ts.map +1 -1
- package/dist/modules/bitshares-native/chain_client.js +21 -16
- package/dist/modules/bitshares-native/chain_client.js.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc.browser.d.ts +21 -29
- package/dist/modules/bitshares-native/crypto/ecc.browser.d.ts.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc.browser.js +72 -38
- package/dist/modules/bitshares-native/crypto/ecc.browser.js.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc.d.ts +9 -36
- package/dist/modules/bitshares-native/crypto/ecc.d.ts.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc.js +40 -83
- package/dist/modules/bitshares-native/crypto/ecc.js.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc_selector.d.ts +14 -1
- package/dist/modules/bitshares-native/crypto/ecc_selector.d.ts.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc_selector.js +5 -3
- package/dist/modules/bitshares-native/crypto/ecc_selector.js.map +1 -1
- package/dist/modules/bitshares-native/index.d.ts +10 -2
- package/dist/modules/bitshares-native/index.d.ts.map +1 -1
- package/dist/modules/bitshares-native/index.js +68 -31
- package/dist/modules/bitshares-native/index.js.map +1 -1
- package/dist/modules/bitshares-native/lru_cache.d.ts +1 -4
- package/dist/modules/bitshares-native/lru_cache.d.ts.map +1 -1
- package/dist/modules/bitshares-native/lru_cache.js +6 -3
- package/dist/modules/bitshares-native/lru_cache.js.map +1 -1
- package/dist/modules/bitshares-native/resolvers.d.ts +3 -6
- package/dist/modules/bitshares-native/resolvers.d.ts.map +1 -1
- package/dist/modules/bitshares-native/resolvers.js +11 -9
- package/dist/modules/bitshares-native/resolvers.js.map +1 -1
- package/dist/modules/bitshares-native/serial/chain_constants.d.ts +53 -55
- package/dist/modules/bitshares-native/serial/chain_constants.d.ts.map +1 -1
- package/dist/modules/bitshares-native/serial/chain_constants.js +28 -27
- package/dist/modules/bitshares-native/serial/chain_constants.js.map +1 -1
- package/dist/modules/bitshares-native/serial/index.d.ts +5 -9
- package/dist/modules/bitshares-native/serial/index.d.ts.map +1 -1
- package/dist/modules/bitshares-native/serial/index.js +46 -12
- package/dist/modules/bitshares-native/serial/index.js.map +1 -1
- package/dist/modules/bitshares-native/serial/operations.d.ts +102 -100
- package/dist/modules/bitshares-native/serial/operations.d.ts.map +1 -1
- package/dist/modules/bitshares-native/serial/operations.js +473 -471
- package/dist/modules/bitshares-native/serial/operations.js.map +1 -1
- package/dist/modules/bitshares-native/serial/serializer.d.ts +2 -7
- package/dist/modules/bitshares-native/serial/serializer.d.ts.map +1 -1
- package/dist/modules/bitshares-native/serial/serializer.js +8 -3
- package/dist/modules/bitshares-native/serial/serializer.js.map +1 -1
- package/dist/modules/bitshares-native/serial/types.d.ts +26 -41
- package/dist/modules/bitshares-native/serial/types.d.ts.map +1 -1
- package/dist/modules/bitshares-native/serial/types.js +76 -42
- package/dist/modules/bitshares-native/serial/types.js.map +1 -1
- package/dist/modules/bitshares-native/signing_client.d.ts +1 -5
- package/dist/modules/bitshares-native/signing_client.d.ts.map +1 -1
- package/dist/modules/bitshares-native/signing_client.js +49 -11
- package/dist/modules/bitshares-native/signing_client.js.map +1 -1
- package/dist/modules/bitshares-native/subscriptions.d.ts +1 -4
- package/dist/modules/bitshares-native/subscriptions.d.ts.map +1 -1
- package/dist/modules/bitshares-native/subscriptions.js +47 -84
- package/dist/modules/bitshares-native/subscriptions.js.map +1 -1
- package/dist/modules/bitshares-native/transport.d.ts +1 -8
- package/dist/modules/bitshares-native/transport.d.ts.map +1 -1
- package/dist/modules/bitshares-native/transport.js +22 -15
- package/dist/modules/bitshares-native/transport.js.map +1 -1
- package/dist/modules/bitshares-native/tx/builder.d.ts +3 -8
- package/dist/modules/bitshares-native/tx/builder.d.ts.map +1 -1
- package/dist/modules/bitshares-native/tx/builder.js +61 -23
- package/dist/modules/bitshares-native/tx/builder.js.map +1 -1
- package/dist/modules/bitshares-native/tx/tx_cache.d.ts +1 -8
- package/dist/modules/bitshares-native/tx/tx_cache.d.ts.map +1 -1
- package/dist/modules/bitshares-native/tx/tx_cache.js +21 -17
- package/dist/modules/bitshares-native/tx/tx_cache.js.map +1 -1
- package/dist/modules/bitshares_client.d.ts +12 -23
- package/dist/modules/bitshares_client.d.ts.map +1 -1
- package/dist/modules/bitshares_client.js +109 -56
- package/dist/modules/bitshares_client.js.map +1 -1
- package/dist/modules/bot_settings.d.ts +1 -13
- package/dist/modules/bot_settings.d.ts.map +1 -1
- package/dist/modules/bot_settings.js +34 -34
- package/dist/modules/bot_settings.js.map +1 -1
- package/dist/modules/bots_file_lock.d.ts +3 -9
- package/dist/modules/bots_file_lock.d.ts.map +1 -1
- package/dist/modules/bots_file_lock.js +8 -9
- package/dist/modules/bots_file_lock.js.map +1 -1
- package/dist/modules/chain_keys.d.ts +7 -39
- package/dist/modules/chain_keys.d.ts.map +1 -1
- package/dist/modules/chain_keys.js +126 -90
- package/dist/modules/chain_keys.js.map +1 -1
- package/dist/modules/chain_orders.d.ts +46 -52
- package/dist/modules/chain_orders.d.ts.map +1 -1
- package/dist/modules/chain_orders.js +152 -104
- package/dist/modules/chain_orders.js.map +1 -1
- package/dist/modules/config.d.ts +50 -57
- package/dist/modules/config.d.ts.map +1 -1
- package/dist/modules/config.js +28 -24
- package/dist/modules/config.js.map +1 -1
- package/dist/modules/constants.d.ts +492 -494
- package/dist/modules/constants.d.ts.map +1 -1
- package/dist/modules/constants.js +69 -39
- package/dist/modules/constants.js.map +1 -1
- package/dist/modules/cr_planner.d.ts +1 -13
- package/dist/modules/cr_planner.d.ts.map +1 -1
- package/dist/modules/cr_planner.js +28 -28
- package/dist/modules/cr_planner.js.map +1 -1
- package/dist/modules/credential_policy.d.ts +18 -33
- package/dist/modules/credential_policy.d.ts.map +1 -1
- package/dist/modules/credential_policy.js +114 -87
- package/dist/modules/credential_policy.js.map +1 -1
- package/dist/modules/credential_runtime.d.ts +11 -21
- package/dist/modules/credential_runtime.d.ts.map +1 -1
- package/dist/modules/credential_runtime.js +40 -40
- package/dist/modules/credential_runtime.js.map +1 -1
- package/dist/modules/credential_session_cache.d.ts +8 -8
- package/dist/modules/credential_session_cache.d.ts.map +1 -1
- package/dist/modules/credential_session_cache.js +41 -8
- package/dist/modules/credential_session_cache.js.map +1 -1
- package/dist/modules/credit_runtime.d.ts +51 -316
- package/dist/modules/credit_runtime.d.ts.map +1 -1
- package/dist/modules/credit_runtime.js +257 -183
- package/dist/modules/credit_runtime.js.map +1 -1
- package/dist/modules/crypto/browser_provider.js +6 -6
- package/dist/modules/crypto/browser_provider.js.map +1 -1
- package/dist/modules/crypto/index.d.ts.map +1 -1
- package/dist/modules/crypto/index.js +2 -0
- package/dist/modules/crypto/index.js.map +1 -1
- package/dist/modules/crypto/sync.js +3 -3
- package/dist/modules/crypto/sync.js.map +1 -1
- package/dist/modules/dexbot_class.d.ts +262 -81
- package/dist/modules/dexbot_class.d.ts.map +1 -1
- package/dist/modules/dexbot_class.js +156 -123
- package/dist/modules/dexbot_class.js.map +1 -1
- package/dist/modules/dexbot_cow_runtime.d.ts +12 -9
- package/dist/modules/dexbot_cow_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_cow_runtime.js +132 -60
- package/dist/modules/dexbot_cow_runtime.js.map +1 -1
- package/dist/modules/dexbot_credential_client.d.ts +5 -11
- package/dist/modules/dexbot_credential_client.d.ts.map +1 -1
- package/dist/modules/dexbot_credential_client.js +32 -30
- package/dist/modules/dexbot_credential_client.js.map +1 -1
- package/dist/modules/dexbot_fill_runtime.d.ts +5 -20
- package/dist/modules/dexbot_fill_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_fill_runtime.js +55 -116
- package/dist/modules/dexbot_fill_runtime.js.map +1 -1
- package/dist/modules/dexbot_maintenance_runtime.d.ts +12 -12
- package/dist/modules/dexbot_maintenance_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_maintenance_runtime.js +55 -45
- package/dist/modules/dexbot_maintenance_runtime.js.map +1 -1
- package/dist/modules/dexbot_startup_runtime.d.ts +2 -6
- package/dist/modules/dexbot_startup_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_startup_runtime.js +115 -79
- package/dist/modules/dexbot_startup_runtime.js.map +1 -1
- package/dist/modules/dexbot_state_recovery.d.ts +11 -24
- package/dist/modules/dexbot_state_recovery.d.ts.map +1 -1
- package/dist/modules/dexbot_state_recovery.js +62 -28
- package/dist/modules/dexbot_state_recovery.js.map +1 -1
- package/dist/modules/fund_registry.d.ts +1 -13
- package/dist/modules/fund_registry.d.ts.map +1 -1
- package/dist/modules/fund_registry.js +23 -21
- package/dist/modules/fund_registry.js.map +1 -1
- package/dist/modules/general_settings.d.ts +3 -7
- package/dist/modules/general_settings.d.ts.map +1 -1
- package/dist/modules/general_settings.js +15 -14
- package/dist/modules/general_settings.js.map +1 -1
- package/dist/modules/graceful_shutdown.d.ts +1 -6
- package/dist/modules/graceful_shutdown.d.ts.map +1 -1
- package/dist/modules/graceful_shutdown.js +19 -16
- package/dist/modules/graceful_shutdown.js.map +1 -1
- package/dist/modules/key_store.d.ts.map +1 -1
- package/dist/modules/key_store.js +53 -19
- package/dist/modules/key_store.js.map +1 -1
- package/dist/modules/launcher/bot_supervisor.d.ts +23 -66
- package/dist/modules/launcher/bot_supervisor.d.ts.map +1 -1
- package/dist/modules/launcher/bot_supervisor.js +115 -107
- package/dist/modules/launcher/bot_supervisor.js.map +1 -1
- package/dist/modules/launcher/child_env.d.ts +2 -5
- package/dist/modules/launcher/child_env.d.ts.map +1 -1
- package/dist/modules/launcher/child_env.js +4 -4
- package/dist/modules/launcher/child_env.js.map +1 -1
- package/dist/modules/launcher/credential_bootstrap.d.ts +4 -8
- package/dist/modules/launcher/credential_bootstrap.d.ts.map +1 -1
- package/dist/modules/launcher/credential_bootstrap.js +30 -26
- package/dist/modules/launcher/credential_bootstrap.js.map +1 -1
- package/dist/modules/launcher/credential_daemon.d.ts +8 -15
- package/dist/modules/launcher/credential_daemon.d.ts.map +1 -1
- package/dist/modules/launcher/credential_daemon.js +72 -41
- package/dist/modules/launcher/credential_daemon.js.map +1 -1
- package/dist/modules/launcher/credential_secret.d.ts +1 -4
- package/dist/modules/launcher/credential_secret.d.ts.map +1 -1
- package/dist/modules/launcher/credential_secret.js +36 -4
- package/dist/modules/launcher/credential_secret.js.map +1 -1
- package/dist/modules/launcher/foreign_cred_daemon.d.ts +32 -1
- package/dist/modules/launcher/foreign_cred_daemon.d.ts.map +1 -1
- package/dist/modules/launcher/foreign_cred_daemon.js +25 -28
- package/dist/modules/launcher/foreign_cred_daemon.js.map +1 -1
- package/dist/modules/launcher/headless_password.d.ts +1 -4
- package/dist/modules/launcher/headless_password.d.ts.map +1 -1
- package/dist/modules/launcher/headless_password.js +11 -11
- package/dist/modules/launcher/headless_password.js.map +1 -1
- package/dist/modules/launcher/launch_modes.d.ts +15 -14
- package/dist/modules/launcher/launch_modes.d.ts.map +1 -1
- package/dist/modules/launcher/launch_modes.js +8 -8
- package/dist/modules/launcher/launch_modes.js.map +1 -1
- package/dist/modules/launcher/market_adapter_runtime.d.ts +10 -19
- package/dist/modules/launcher/market_adapter_runtime.d.ts.map +1 -1
- package/dist/modules/launcher/market_adapter_runtime.js +33 -33
- package/dist/modules/launcher/market_adapter_runtime.js.map +1 -1
- package/dist/modules/launcher/market_adapter_watchdog.d.ts +10 -17
- package/dist/modules/launcher/market_adapter_watchdog.d.ts.map +1 -1
- package/dist/modules/launcher/market_adapter_watchdog.js +42 -38
- package/dist/modules/launcher/market_adapter_watchdog.js.map +1 -1
- package/dist/modules/launcher/monolithic_runtime.d.ts +28 -57
- package/dist/modules/launcher/monolithic_runtime.d.ts.map +1 -1
- package/dist/modules/launcher/monolithic_runtime.js +135 -108
- package/dist/modules/launcher/monolithic_runtime.js.map +1 -1
- package/dist/modules/launcher/runtime_entry.d.ts +5 -10
- package/dist/modules/launcher/runtime_entry.d.ts.map +1 -1
- package/dist/modules/launcher/runtime_entry.js +14 -14
- package/dist/modules/launcher/runtime_entry.js.map +1 -1
- package/dist/modules/launcher/status_reporting.d.ts +17 -37
- package/dist/modules/launcher/status_reporting.d.ts.map +1 -1
- package/dist/modules/launcher/status_reporting.js +35 -34
- package/dist/modules/launcher/status_reporting.js.map +1 -1
- package/dist/modules/launcher/supervisor_control.d.ts +1 -4
- package/dist/modules/launcher/supervisor_control.d.ts.map +1 -1
- package/dist/modules/launcher/supervisor_control.js +9 -4
- package/dist/modules/launcher/supervisor_control.js.map +1 -1
- package/dist/modules/logger.d.ts +3 -1
- package/dist/modules/logger.d.ts.map +1 -1
- package/dist/modules/logger.js +38 -28
- package/dist/modules/logger.js.map +1 -1
- package/dist/modules/market_adapter_whitelist.d.ts +2 -10
- package/dist/modules/market_adapter_whitelist.d.ts.map +1 -1
- package/dist/modules/market_adapter_whitelist.js +18 -16
- package/dist/modules/market_adapter_whitelist.js.map +1 -1
- package/dist/modules/node_health_cache.d.ts +2 -12
- package/dist/modules/node_health_cache.d.ts.map +1 -1
- package/dist/modules/node_health_cache.js +24 -24
- package/dist/modules/node_health_cache.js.map +1 -1
- package/dist/modules/node_manager.d.ts +1 -1
- package/dist/modules/node_manager.d.ts.map +1 -1
- package/dist/modules/node_manager.js +44 -38
- package/dist/modules/node_manager.js.map +1 -1
- package/dist/modules/order/accounting.d.ts +12 -12
- package/dist/modules/order/accounting.d.ts.map +1 -1
- package/dist/modules/order/accounting.js +111 -76
- package/dist/modules/order/accounting.js.map +1 -1
- package/dist/modules/order/async_lock.d.ts +1 -2
- package/dist/modules/order/async_lock.d.ts.map +1 -1
- package/dist/modules/order/async_lock.js +4 -4
- package/dist/modules/order/async_lock.js.map +1 -1
- package/dist/modules/order/export.d.ts +8 -14
- package/dist/modules/order/export.d.ts.map +1 -1
- package/dist/modules/order/export.js +77 -42
- package/dist/modules/order/export.js.map +1 -1
- package/dist/modules/order/format.d.ts +17 -22
- package/dist/modules/order/format.d.ts.map +1 -1
- package/dist/modules/order/format.js +25 -31
- package/dist/modules/order/format.js.map +1 -1
- package/dist/modules/order/grid.d.ts +18 -104
- package/dist/modules/order/grid.d.ts.map +1 -1
- package/dist/modules/order/grid.js +246 -188
- package/dist/modules/order/grid.js.map +1 -1
- package/dist/modules/order/grid_reconcile.d.ts +8 -8
- package/dist/modules/order/grid_reconcile.d.ts.map +1 -1
- package/dist/modules/order/grid_reconcile.js +24 -23
- package/dist/modules/order/grid_reconcile.js.map +1 -1
- package/dist/modules/order/grid_reconcile_internal.d.ts +224 -1
- package/dist/modules/order/grid_reconcile_internal.d.ts.map +1 -1
- package/dist/modules/order/grid_reconcile_internal.js +145 -72
- package/dist/modules/order/grid_reconcile_internal.js.map +1 -1
- package/dist/modules/order/index.d.ts +1 -1
- package/dist/modules/order/index.d.ts.map +1 -1
- package/dist/modules/order/index.js +42 -7
- package/dist/modules/order/index.js.map +1 -1
- package/dist/modules/order/logger.d.ts +6 -16
- package/dist/modules/order/logger.d.ts.map +1 -1
- package/dist/modules/order/logger.js +76 -53
- package/dist/modules/order/logger.js.map +1 -1
- package/dist/modules/order/logger_state.d.ts +4 -4
- package/dist/modules/order/logger_state.d.ts.map +1 -1
- package/dist/modules/order/logger_state.js +3 -1
- package/dist/modules/order/logger_state.js.map +1 -1
- package/dist/modules/order/manager.d.ts +160 -37
- package/dist/modules/order/manager.d.ts.map +1 -1
- package/dist/modules/order/manager.js +166 -128
- package/dist/modules/order/manager.js.map +1 -1
- package/dist/modules/order/processed_fill_store.d.ts +6 -10
- package/dist/modules/order/processed_fill_store.d.ts.map +1 -1
- package/dist/modules/order/processed_fill_store.js +10 -9
- package/dist/modules/order/processed_fill_store.js.map +1 -1
- package/dist/modules/order/strategy.d.ts +3 -3
- package/dist/modules/order/strategy.d.ts.map +1 -1
- package/dist/modules/order/strategy.js +29 -27
- package/dist/modules/order/strategy.js.map +1 -1
- package/dist/modules/order/sync_engine.d.ts +9 -19
- package/dist/modules/order/sync_engine.d.ts.map +1 -1
- package/dist/modules/order/sync_engine.js +176 -126
- package/dist/modules/order/sync_engine.js.map +1 -1
- package/dist/modules/order/utils/math.d.ts +55 -85
- package/dist/modules/order/utils/math.d.ts.map +1 -1
- package/dist/modules/order/utils/math.js +155 -88
- package/dist/modules/order/utils/math.js.map +1 -1
- package/dist/modules/order/utils/order.d.ts +27 -72
- package/dist/modules/order/utils/order.d.ts.map +1 -1
- package/dist/modules/order/utils/order.js +144 -105
- package/dist/modules/order/utils/order.js.map +1 -1
- package/dist/modules/order/utils/system.d.ts +74 -44
- package/dist/modules/order/utils/system.d.ts.map +1 -1
- package/dist/modules/order/utils/system.js +188 -149
- package/dist/modules/order/utils/system.js.map +1 -1
- package/dist/modules/order/utils/validate.d.ts +21 -43
- package/dist/modules/order/utils/validate.d.ts.map +1 -1
- package/dist/modules/order/utils/validate.js +140 -109
- package/dist/modules/order/utils/validate.js.map +1 -1
- package/dist/modules/order/working_grid.d.ts +1 -4
- package/dist/modules/order/working_grid.d.ts.map +1 -1
- package/dist/modules/order/working_grid.js +9 -7
- package/dist/modules/order/working_grid.js.map +1 -1
- package/dist/modules/path_api.js +2 -2
- package/dist/modules/path_api.js.map +1 -1
- package/dist/modules/paths.d.ts +50 -56
- package/dist/modules/paths.d.ts.map +1 -1
- package/dist/modules/paths.js +66 -57
- package/dist/modules/paths.js.map +1 -1
- package/dist/modules/process_discovery.d.ts +1 -1
- package/dist/modules/process_discovery.d.ts.map +1 -1
- package/dist/modules/process_discovery.js +7 -7
- package/dist/modules/process_discovery.js.map +1 -1
- package/dist/modules/runtime.d.ts +1 -1
- package/dist/modules/runtime.d.ts.map +1 -1
- package/dist/modules/runtime.js +4 -4
- package/dist/modules/runtime.js.map +1 -1
- package/dist/modules/runtime_settings.d.ts +1 -0
- package/dist/modules/runtime_settings.d.ts.map +1 -1
- package/dist/modules/runtime_settings.js +15 -10
- package/dist/modules/runtime_settings.js.map +1 -1
- package/dist/modules/settings_merge.d.ts +1 -4
- package/dist/modules/settings_merge.d.ts.map +1 -1
- package/dist/modules/settings_merge.js +2 -1
- package/dist/modules/settings_merge.js.map +1 -1
- package/dist/modules/storage/browser_adapter.d.ts +7 -3
- package/dist/modules/storage/browser_adapter.d.ts.map +1 -1
- package/dist/modules/storage/browser_adapter.js +2 -0
- package/dist/modules/storage/browser_adapter.js.map +1 -1
- package/dist/modules/storage/index.d.ts +2 -2
- package/dist/modules/storage/index.d.ts.map +1 -1
- package/dist/modules/storage/index.js +2 -5
- package/dist/modules/storage/index.js.map +1 -1
- package/dist/modules/storage/node_adapter.d.ts +3 -3
- package/dist/modules/storage/node_adapter.d.ts.map +1 -1
- package/dist/modules/storage/node_adapter.js +9 -7
- package/dist/modules/storage/node_adapter.js.map +1 -1
- package/dist/modules/storage/types.d.ts +13 -10
- package/dist/modules/storage/types.d.ts.map +1 -1
- package/dist/modules/types.d.ts +0 -2
- package/dist/modules/types.d.ts.map +1 -1
- package/dist/modules/utils/base58check.d.ts +1 -9
- package/dist/modules/utils/base58check.d.ts.map +1 -1
- package/dist/modules/utils/base58check.js +14 -16
- package/dist/modules/utils/base58check.js.map +1 -1
- package/dist/modules/utils/build_dir.d.ts +2 -5
- package/dist/modules/utils/build_dir.d.ts.map +1 -1
- package/dist/modules/utils/build_dir.js +6 -3
- package/dist/modules/utils/build_dir.js.map +1 -1
- package/dist/modules/utils/errors.d.ts +2 -0
- package/dist/modules/utils/errors.d.ts.map +1 -0
- package/dist/modules/utils/errors.js +12 -0
- package/dist/modules/utils/errors.js.map +1 -0
- package/dist/modules/utils/fs_utils.d.ts +1 -8
- package/dist/modules/utils/fs_utils.d.ts.map +1 -1
- package/dist/modules/utils/fs_utils.js +8 -3
- package/dist/modules/utils/fs_utils.js.map +1 -1
- package/dist/modules/utils/math_utils.d.ts +2 -6
- package/dist/modules/utils/math_utils.d.ts.map +1 -1
- package/dist/modules/utils/math_utils.js +6 -2
- package/dist/modules/utils/math_utils.js.map +1 -1
- package/dist/modules/validate_profiles.d.ts +1 -11
- package/dist/modules/validate_profiles.d.ts.map +1 -1
- package/dist/modules/validate_profiles.js +25 -27
- package/dist/modules/validate_profiles.js.map +1 -1
- package/dist/pm2.d.ts +7 -6
- package/dist/pm2.d.ts.map +1 -1
- package/dist/pm2.js +132 -106
- package/dist/pm2.js.map +1 -1
- package/dist/scripts/analyze-git.d.ts.map +1 -1
- package/dist/scripts/analyze-git.js +15 -11
- package/dist/scripts/analyze-git.js.map +1 -1
- package/dist/scripts/analyze-orders.d.ts +146 -1
- package/dist/scripts/analyze-orders.d.ts.map +1 -1
- package/dist/scripts/analyze-orders.js +81 -105
- package/dist/scripts/analyze-orders.js.map +1 -1
- package/dist/scripts/diagnose-pool-history.d.ts.map +1 -1
- package/dist/scripts/diagnose-pool-history.js +9 -8
- package/dist/scripts/diagnose-pool-history.js.map +1 -1
- package/dist/scripts/divergence-calc.d.ts.map +1 -1
- package/dist/scripts/divergence-calc.js +11 -8
- package/dist/scripts/divergence-calc.js.map +1 -1
- package/dist/scripts/fix-err-message.d.ts +3 -0
- package/dist/scripts/fix-err-message.d.ts.map +1 -0
- package/dist/scripts/fix-err-message.js +198 -0
- package/dist/scripts/fix-err-message.js.map +1 -0
- package/dist/scripts/generate_lp_chart.d.ts +2 -9
- package/dist/scripts/generate_lp_chart.d.ts.map +1 -1
- package/dist/scripts/generate_lp_chart.js +14 -10
- package/dist/scripts/generate_lp_chart.js.map +1 -1
- package/dist/scripts/generate_mainnet_corpus_report.js +4 -4
- package/dist/scripts/generate_mainnet_corpus_report.js.map +1 -1
- package/dist/scripts/generate_market_adapter_whitelist.d.ts +17 -1
- package/dist/scripts/generate_market_adapter_whitelist.d.ts.map +1 -1
- package/dist/scripts/generate_market_adapter_whitelist.js +23 -20
- package/dist/scripts/generate_market_adapter_whitelist.js.map +1 -1
- package/dist/scripts/migrate_bot_keys.d.ts +1 -4
- package/dist/scripts/migrate_bot_keys.d.ts.map +1 -1
- package/dist/scripts/migrate_bot_keys.js +48 -124
- package/dist/scripts/migrate_bot_keys.js.map +1 -1
- package/dist/scripts/native_release_gates.d.ts.map +1 -1
- package/dist/scripts/native_release_gates.js +18 -14
- package/dist/scripts/native_release_gates.js.map +1 -1
- package/dist/scripts/print_grid.js +1 -1
- package/dist/scripts/print_grid.js.map +1 -1
- package/dist/scripts/run-tests.js +1 -0
- package/dist/scripts/run-tests.js.map +1 -1
- package/dist/scripts/runner.d.ts +1 -11
- package/dist/scripts/runner.d.ts.map +1 -1
- package/dist/scripts/runner.js +21 -19
- package/dist/scripts/runner.js.map +1 -1
- package/dist/scripts/test-credit-renewal.d.ts.map +1 -1
- package/dist/scripts/test-credit-renewal.js +2 -1
- package/dist/scripts/test-credit-renewal.js.map +1 -1
- package/dist/scripts/update.d.ts.map +1 -1
- package/dist/scripts/update.js +85 -79
- package/dist/scripts/update.js.map +1 -1
- package/dist/scripts/validate_bots.js +2 -2
- package/dist/scripts/validate_bots.js.map +1 -1
- package/dist/unlock.d.ts +4 -17
- package/dist/unlock.d.ts.map +1 -1
- package/dist/unlock.js +141 -108
- package/dist/unlock.js.map +1 -1
- package/package.json +1 -1
- package/dist/analysis/ama_fitting/analyze_ama_price_changes.d.ts +0 -3
- package/dist/analysis/ama_fitting/analyze_ama_price_changes.d.ts.map +0 -1
- package/dist/analysis/ama_fitting/analyze_ama_price_changes.js +0 -149
- package/dist/analysis/ama_fitting/analyze_ama_price_changes.js.map +0 -1
- package/dist/analysis/ama_fitting/analyze_lambda_vs_slow.d.ts +0 -3
- package/dist/analysis/ama_fitting/analyze_lambda_vs_slow.d.ts.map +0 -1
- package/dist/analysis/ama_fitting/analyze_lambda_vs_slow.js +0 -387
- package/dist/analysis/ama_fitting/analyze_lambda_vs_slow.js.map +0 -1
- package/dist/analysis/ama_fitting/calibrate_convergence_er.d.ts +0 -3
- package/dist/analysis/ama_fitting/calibrate_convergence_er.d.ts.map +0 -1
- package/dist/analysis/ama_fitting/calibrate_convergence_er.js +0 -200
- package/dist/analysis/ama_fitting/calibrate_convergence_er.js.map +0 -1
- package/dist/analysis/ama_fitting/fetch_lp_candles.d.ts +0 -3
- package/dist/analysis/ama_fitting/fetch_lp_candles.d.ts.map +0 -1
- package/dist/analysis/ama_fitting/fetch_lp_candles.js +0 -212
- package/dist/analysis/ama_fitting/fetch_lp_candles.js.map +0 -1
- package/dist/analysis/ama_fitting/generate_unified_comparison_chart.d.ts +0 -31
- package/dist/analysis/ama_fitting/generate_unified_comparison_chart.d.ts.map +0 -1
- package/dist/analysis/ama_fitting/generate_unified_comparison_chart.js +0 -249
- package/dist/analysis/ama_fitting/generate_unified_comparison_chart.js.map +0 -1
- package/dist/analysis/ama_fitting/optimizer_high_resolution.d.ts +0 -2
- package/dist/analysis/ama_fitting/optimizer_high_resolution.d.ts.map +0 -1
- package/dist/analysis/ama_fitting/optimizer_high_resolution.js +0 -782
- package/dist/analysis/ama_fitting/optimizer_high_resolution.js.map +0 -1
- package/dist/analysis/analyze_derivatives.d.ts +0 -95
- package/dist/analysis/analyze_derivatives.d.ts.map +0 -1
- package/dist/analysis/analyze_derivatives.js +0 -295
- package/dist/analysis/analyze_derivatives.js.map +0 -1
- package/dist/analysis/analyze_dynamic_weight.d.ts +0 -14
- package/dist/analysis/analyze_dynamic_weight.d.ts.map +0 -1
- package/dist/analysis/analyze_dynamic_weight.js +0 -207
- package/dist/analysis/analyze_dynamic_weight.js.map +0 -1
- package/dist/analysis/analyze_kalman.d.ts +0 -13
- package/dist/analysis/analyze_kalman.d.ts.map +0 -1
- package/dist/analysis/analyze_kalman.js +0 -123
- package/dist/analysis/analyze_kalman.js.map +0 -1
- package/dist/analysis/analyze_regime.d.ts +0 -20
- package/dist/analysis/analyze_regime.d.ts.map +0 -1
- package/dist/analysis/analyze_regime.js +0 -139
- package/dist/analysis/analyze_regime.js.map +0 -1
- package/dist/analysis/analyze_regime_windows.d.ts +0 -19
- package/dist/analysis/analyze_regime_windows.d.ts.map +0 -1
- package/dist/analysis/analyze_regime_windows.js +0 -413
- package/dist/analysis/analyze_regime_windows.js.map +0 -1
- package/dist/analysis/analyze_risk_profile.d.ts +0 -3
- package/dist/analysis/analyze_risk_profile.d.ts.map +0 -1
- package/dist/analysis/analyze_risk_profile.js +0 -159
- package/dist/analysis/analyze_risk_profile.js.map +0 -1
- package/dist/analysis/analyze_trade_heatmap.d.ts +0 -3
- package/dist/analysis/analyze_trade_heatmap.d.ts.map +0 -1
- package/dist/analysis/analyze_trade_heatmap.js +0 -367
- package/dist/analysis/analyze_trade_heatmap.js.map +0 -1
- package/dist/analysis/analyze_volatility.d.ts +0 -22
- package/dist/analysis/analyze_volatility.d.ts.map +0 -1
- package/dist/analysis/analyze_volatility.js +0 -172
- package/dist/analysis/analyze_volatility.js.map +0 -1
- package/dist/analysis/bot_fitting/backtest_ama_sweep.d.ts +0 -99
- package/dist/analysis/bot_fitting/backtest_ama_sweep.d.ts.map +0 -1
- package/dist/analysis/bot_fitting/backtest_ama_sweep.js +0 -804
- package/dist/analysis/bot_fitting/backtest_ama_sweep.js.map +0 -1
- package/dist/analysis/bot_fitting/backtest_bot_fitting.d.ts +0 -2
- package/dist/analysis/bot_fitting/backtest_bot_fitting.d.ts.map +0 -1
- package/dist/analysis/bot_fitting/backtest_bot_fitting.js +0 -347
- package/dist/analysis/bot_fitting/backtest_bot_fitting.js.map +0 -1
- package/dist/analysis/bot_fitting/shared_utils.d.ts +0 -15
- package/dist/analysis/bot_fitting/shared_utils.d.ts.map +0 -1
- package/dist/analysis/bot_fitting/shared_utils.js +0 -48
- package/dist/analysis/bot_fitting/shared_utils.js.map +0 -1
- package/dist/analysis/bot_key_utils.d.ts +0 -22
- package/dist/analysis/bot_key_utils.d.ts.map +0 -1
- package/dist/analysis/bot_key_utils.js +0 -162
- package/dist/analysis/bot_key_utils.js.map +0 -1
- package/dist/analysis/bot_usage/discover_bot_accounts.d.ts +0 -3
- package/dist/analysis/bot_usage/discover_bot_accounts.d.ts.map +0 -1
- package/dist/analysis/bot_usage/discover_bot_accounts.js +0 -498
- package/dist/analysis/bot_usage/discover_bot_accounts.js.map +0 -1
- package/dist/analysis/bot_usage/kibana_bot_queries.d.ts +0 -546
- package/dist/analysis/bot_usage/kibana_bot_queries.d.ts.map +0 -1
- package/dist/analysis/bot_usage/kibana_bot_queries.js +0 -427
- package/dist/analysis/bot_usage/kibana_bot_queries.js.map +0 -1
- package/dist/analysis/derivative_chart_generator.d.ts +0 -18
- package/dist/analysis/derivative_chart_generator.d.ts.map +0 -1
- package/dist/analysis/derivative_chart_generator.js +0 -896
- package/dist/analysis/derivative_chart_generator.js.map +0 -1
- package/dist/analysis/price_sources.d.ts +0 -34
- package/dist/analysis/price_sources.d.ts.map +0 -1
- package/dist/analysis/price_sources.js +0 -103
- package/dist/analysis/price_sources.js.map +0 -1
- package/dist/analysis/trade_profitability.d.ts +0 -115
- package/dist/analysis/trade_profitability.d.ts.map +0 -1
- package/dist/analysis/trade_profitability.js +0 -1247
- package/dist/analysis/trade_profitability.js.map +0 -1
- package/dist/analysis/tradingview/analyze_tradingview.d.ts +0 -36
- package/dist/analysis/tradingview/analyze_tradingview.d.ts.map +0 -1
- package/dist/analysis/tradingview/analyze_tradingview.js +0 -172
- package/dist/analysis/tradingview/analyze_tradingview.js.map +0 -1
- package/dist/analysis/trend_detection/derivative_analyzer.d.ts +0 -250
- package/dist/analysis/trend_detection/derivative_analyzer.d.ts.map +0 -1
- package/dist/analysis/trend_detection/derivative_analyzer.js +0 -903
- package/dist/analysis/trend_detection/derivative_analyzer.js.map +0 -1
- package/dist/analysis/trend_detection/dynamic_weight_chart_generator.d.ts +0 -6
- package/dist/analysis/trend_detection/dynamic_weight_chart_generator.d.ts.map +0 -1
- package/dist/analysis/trend_detection/dynamic_weight_chart_generator.js +0 -1450
- package/dist/analysis/trend_detection/dynamic_weight_chart_generator.js.map +0 -1
- package/dist/analysis/trend_detection/kalman_chart_generator.d.ts +0 -6
- package/dist/analysis/trend_detection/kalman_chart_generator.d.ts.map +0 -1
- package/dist/analysis/trend_detection/kalman_chart_generator.js +0 -408
- package/dist/analysis/trend_detection/kalman_chart_generator.js.map +0 -1
- package/dist/analysis/trend_detection/regime_chart_generator.d.ts +0 -6
- package/dist/analysis/trend_detection/regime_chart_generator.d.ts.map +0 -1
- package/dist/analysis/trend_detection/regime_chart_generator.js +0 -345
- package/dist/analysis/trend_detection/regime_chart_generator.js.map +0 -1
- package/dist/analysis/trend_detection/tests/test_kalman_trend.d.ts +0 -2
- package/dist/analysis/trend_detection/tests/test_kalman_trend.d.ts.map +0 -1
- package/dist/analysis/trend_detection/tests/test_kalman_trend.js +0 -130
- package/dist/analysis/trend_detection/tests/test_kalman_trend.js.map +0 -1
- package/dist/analysis/trend_detection/tests/test_kalman_velocity_smoothing.d.ts +0 -2
- package/dist/analysis/trend_detection/tests/test_kalman_velocity_smoothing.d.ts.map +0 -1
- package/dist/analysis/trend_detection/tests/test_kalman_velocity_smoothing.js +0 -38
- package/dist/analysis/trend_detection/tests/test_kalman_velocity_smoothing.js.map +0 -1
- package/dist/analysis/trend_detection/volatility_chart_generator.d.ts +0 -6
- package/dist/analysis/trend_detection/volatility_chart_generator.d.ts.map +0 -1
- package/dist/analysis/trend_detection/volatility_chart_generator.js +0 -732
- package/dist/analysis/trend_detection/volatility_chart_generator.js.map +0 -1
|
@@ -1,546 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* KIBANA BOT QUERIES
|
|
3
|
-
*
|
|
4
|
-
* Elasticsearch query builders for analyzing DEXBot / DEXBot2 order activity
|
|
5
|
-
* on the BitShares blockchain via the public Kibana instance.
|
|
6
|
-
*
|
|
7
|
-
* Data source:
|
|
8
|
-
* https://kibana.bitshares.dev / bitshares-* index
|
|
9
|
-
* Time field: block_data.block_time
|
|
10
|
-
*
|
|
11
|
-
* BitShares operation types used here:
|
|
12
|
-
* 1 = limit_order_create (field: op_object.seller)
|
|
13
|
-
* 2 = limit_order_cancel (field: op_object.fee_paying_account)
|
|
14
|
-
* 4 = fill_order (field: op_object.account_id)
|
|
15
|
-
*
|
|
16
|
-
* Relevant ES field paths:
|
|
17
|
-
* limit_order_create:
|
|
18
|
-
* op_object.seller — account that placed the order
|
|
19
|
-
* op_object.amount_to_sell.amount — integer sell amount
|
|
20
|
-
* op_object.amount_to_sell.asset_id — sell asset ID (e.g. '1.3.0' = BTS)
|
|
21
|
-
* op_object.min_to_receive.amount — integer min-receive (= limit price numerator)
|
|
22
|
-
* op_object.min_to_receive.asset_id — receive asset ID
|
|
23
|
-
* op_object.expiration — ISO datetime
|
|
24
|
-
*
|
|
25
|
-
* fill_order:
|
|
26
|
-
* op_object.account_id — whose order was filled
|
|
27
|
-
* op_object.pays.amount / .asset_id — what was paid
|
|
28
|
-
* op_object.receives.amount / .asset_id — what was received
|
|
29
|
-
* op_object.order_id — the limit order that filled
|
|
30
|
-
*
|
|
31
|
-
* limit_order_cancel:
|
|
32
|
-
* op_object.fee_paying_account — account that cancelled
|
|
33
|
-
* op_object.order — the order ID cancelled
|
|
34
|
-
*/
|
|
35
|
-
/**
|
|
36
|
-
* Time-bucketed count of limit_order_create ops for an account.
|
|
37
|
-
* Optionally filtered to orders selling a specific asset.
|
|
38
|
-
*/
|
|
39
|
-
declare function buildOrderCreateQuery(accountId: any, lookbackHours: any, intervalSeconds?: number, sellAssetId?: any): {
|
|
40
|
-
size: number;
|
|
41
|
-
query: {
|
|
42
|
-
bool: {
|
|
43
|
-
filter: ({
|
|
44
|
-
term: {
|
|
45
|
-
operation_type: number;
|
|
46
|
-
'operation_history.op_object.seller.keyword'?: undefined;
|
|
47
|
-
};
|
|
48
|
-
range?: undefined;
|
|
49
|
-
} | {
|
|
50
|
-
term: {
|
|
51
|
-
'operation_history.op_object.seller.keyword': any;
|
|
52
|
-
operation_type?: undefined;
|
|
53
|
-
};
|
|
54
|
-
range?: undefined;
|
|
55
|
-
} | {
|
|
56
|
-
range: {
|
|
57
|
-
'block_data.block_time': {
|
|
58
|
-
gte: string;
|
|
59
|
-
lte: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
term?: undefined;
|
|
63
|
-
})[];
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
aggs: {
|
|
67
|
-
by_time: {
|
|
68
|
-
date_histogram: {
|
|
69
|
-
field: string;
|
|
70
|
-
fixed_interval: any;
|
|
71
|
-
min_doc_count: number;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
total: {
|
|
75
|
-
value_count: {
|
|
76
|
-
field: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Time-bucketed count of fill_order ops for an account.
|
|
83
|
-
* Optionally filtered to fills where account pays a specific asset.
|
|
84
|
-
*/
|
|
85
|
-
declare function buildFillOrderQuery(accountId: any, lookbackHours: any, intervalSeconds?: number, paysAssetId?: any): {
|
|
86
|
-
size: number;
|
|
87
|
-
query: {
|
|
88
|
-
bool: {
|
|
89
|
-
filter: ({
|
|
90
|
-
term: {
|
|
91
|
-
operation_type: number;
|
|
92
|
-
'operation_history.op_object.account_id.keyword'?: undefined;
|
|
93
|
-
};
|
|
94
|
-
range?: undefined;
|
|
95
|
-
} | {
|
|
96
|
-
term: {
|
|
97
|
-
'operation_history.op_object.account_id.keyword': any;
|
|
98
|
-
operation_type?: undefined;
|
|
99
|
-
};
|
|
100
|
-
range?: undefined;
|
|
101
|
-
} | {
|
|
102
|
-
range: {
|
|
103
|
-
'block_data.block_time': {
|
|
104
|
-
gte: string;
|
|
105
|
-
lte: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
term?: undefined;
|
|
109
|
-
})[];
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
aggs: {
|
|
113
|
-
by_time: {
|
|
114
|
-
date_histogram: {
|
|
115
|
-
field: string;
|
|
116
|
-
fixed_interval: any;
|
|
117
|
-
min_doc_count: number;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
total: {
|
|
121
|
-
value_count: {
|
|
122
|
-
field: string;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
/**
|
|
128
|
-
* Time-bucketed count of limit_order_cancel ops for an account.
|
|
129
|
-
*/
|
|
130
|
-
declare function buildOrderCancelQuery(accountId: any, lookbackHours: any, intervalSeconds?: number): {
|
|
131
|
-
size: number;
|
|
132
|
-
query: {
|
|
133
|
-
bool: {
|
|
134
|
-
filter: ({
|
|
135
|
-
term: {
|
|
136
|
-
operation_type: number;
|
|
137
|
-
'operation_history.op_object.fee_paying_account.keyword'?: undefined;
|
|
138
|
-
};
|
|
139
|
-
range?: undefined;
|
|
140
|
-
} | {
|
|
141
|
-
term: {
|
|
142
|
-
'operation_history.op_object.fee_paying_account.keyword': any;
|
|
143
|
-
operation_type?: undefined;
|
|
144
|
-
};
|
|
145
|
-
range?: undefined;
|
|
146
|
-
} | {
|
|
147
|
-
range: {
|
|
148
|
-
'block_data.block_time': {
|
|
149
|
-
gte: string;
|
|
150
|
-
lte: string;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
term?: undefined;
|
|
154
|
-
})[];
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
aggs: {
|
|
158
|
-
by_time: {
|
|
159
|
-
date_histogram: {
|
|
160
|
-
field: string;
|
|
161
|
-
fixed_interval: any;
|
|
162
|
-
min_doc_count: number;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
total: {
|
|
166
|
-
value_count: {
|
|
167
|
-
field: string;
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* Daily activity breakdown by operation type for an account.
|
|
174
|
-
* Merges creates (by seller), fills (by account_id), cancels (by fee_paying_account)
|
|
175
|
-
* into one aggregation using a filter per op type.
|
|
176
|
-
*/
|
|
177
|
-
declare function buildDailyActivityQuery(accountId: any, lookbackHours: any): {
|
|
178
|
-
size: number;
|
|
179
|
-
query: {
|
|
180
|
-
bool: {
|
|
181
|
-
filter: {
|
|
182
|
-
range: {
|
|
183
|
-
'block_data.block_time': {
|
|
184
|
-
gte: string;
|
|
185
|
-
lte: string;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
}[];
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
aggs: {
|
|
192
|
-
creates: {
|
|
193
|
-
filter: {
|
|
194
|
-
bool: {
|
|
195
|
-
filter: ({
|
|
196
|
-
term: {
|
|
197
|
-
operation_type: number;
|
|
198
|
-
'operation_history.op_object.seller.keyword'?: undefined;
|
|
199
|
-
};
|
|
200
|
-
} | {
|
|
201
|
-
term: {
|
|
202
|
-
'operation_history.op_object.seller.keyword': any;
|
|
203
|
-
operation_type?: undefined;
|
|
204
|
-
};
|
|
205
|
-
})[];
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
aggs: {
|
|
209
|
-
by_day: {
|
|
210
|
-
date_histogram: {
|
|
211
|
-
field: string;
|
|
212
|
-
fixed_interval: string;
|
|
213
|
-
min_doc_count: number;
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
fills: {
|
|
219
|
-
filter: {
|
|
220
|
-
bool: {
|
|
221
|
-
filter: ({
|
|
222
|
-
term: {
|
|
223
|
-
operation_type: number;
|
|
224
|
-
'operation_history.op_object.account_id.keyword'?: undefined;
|
|
225
|
-
};
|
|
226
|
-
} | {
|
|
227
|
-
term: {
|
|
228
|
-
'operation_history.op_object.account_id.keyword': any;
|
|
229
|
-
operation_type?: undefined;
|
|
230
|
-
};
|
|
231
|
-
})[];
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
aggs: {
|
|
235
|
-
by_day: {
|
|
236
|
-
date_histogram: {
|
|
237
|
-
field: string;
|
|
238
|
-
fixed_interval: string;
|
|
239
|
-
min_doc_count: number;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
cancels: {
|
|
245
|
-
filter: {
|
|
246
|
-
bool: {
|
|
247
|
-
filter: ({
|
|
248
|
-
term: {
|
|
249
|
-
operation_type: number;
|
|
250
|
-
'operation_history.op_object.fee_paying_account.keyword'?: undefined;
|
|
251
|
-
};
|
|
252
|
-
} | {
|
|
253
|
-
term: {
|
|
254
|
-
'operation_history.op_object.fee_paying_account.keyword': any;
|
|
255
|
-
operation_type?: undefined;
|
|
256
|
-
};
|
|
257
|
-
})[];
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
aggs: {
|
|
261
|
-
by_day: {
|
|
262
|
-
date_histogram: {
|
|
263
|
-
field: string;
|
|
264
|
-
fixed_interval: string;
|
|
265
|
-
min_doc_count: number;
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
};
|
|
272
|
-
/**
|
|
273
|
-
* Fetch raw limit_order_create documents for grid spacing analysis.
|
|
274
|
-
* Returns the price-relevant fields plus timestamps.
|
|
275
|
-
*
|
|
276
|
-
* @param {string} accountId
|
|
277
|
-
* @param {number} lookbackHours
|
|
278
|
-
* @param {string} [sellAssetId] - optional: filter to one sell-side asset
|
|
279
|
-
* @param {number} [maxResults]
|
|
280
|
-
* @returns {Object} Elasticsearch query object
|
|
281
|
-
*/
|
|
282
|
-
declare function buildOrderPriceQuery(accountId: any, lookbackHours: any, sellAssetId?: any, maxResults?: number): {
|
|
283
|
-
size: number;
|
|
284
|
-
_source: string[];
|
|
285
|
-
query: {
|
|
286
|
-
bool: {
|
|
287
|
-
filter: ({
|
|
288
|
-
term: {
|
|
289
|
-
operation_type: number;
|
|
290
|
-
'operation_history.op_object.seller.keyword'?: undefined;
|
|
291
|
-
};
|
|
292
|
-
range?: undefined;
|
|
293
|
-
} | {
|
|
294
|
-
term: {
|
|
295
|
-
'operation_history.op_object.seller.keyword': any;
|
|
296
|
-
operation_type?: undefined;
|
|
297
|
-
};
|
|
298
|
-
range?: undefined;
|
|
299
|
-
} | {
|
|
300
|
-
range: {
|
|
301
|
-
'block_data.block_time': {
|
|
302
|
-
gte: string;
|
|
303
|
-
lte: string;
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
term?: undefined;
|
|
307
|
-
})[];
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
sort: {
|
|
311
|
-
'block_data.block_time': {
|
|
312
|
-
order: string;
|
|
313
|
-
};
|
|
314
|
-
}[];
|
|
315
|
-
};
|
|
316
|
-
/**
|
|
317
|
-
* Fetch raw fill_order documents for fill-price analysis.
|
|
318
|
-
*
|
|
319
|
-
* @param {string} accountId
|
|
320
|
-
* @param {number} lookbackHours
|
|
321
|
-
* @param {string} [paysAssetId]
|
|
322
|
-
* @param {number} [maxResults]
|
|
323
|
-
* @returns {Object} Elasticsearch query object
|
|
324
|
-
*/
|
|
325
|
-
declare function buildFillPriceQuery(accountId: any, lookbackHours: any, paysAssetId?: any, maxResults?: number): {
|
|
326
|
-
size: number;
|
|
327
|
-
_source: string[];
|
|
328
|
-
query: {
|
|
329
|
-
bool: {
|
|
330
|
-
filter: ({
|
|
331
|
-
term: {
|
|
332
|
-
operation_type: number;
|
|
333
|
-
'operation_history.op_object.account_id.keyword'?: undefined;
|
|
334
|
-
};
|
|
335
|
-
range?: undefined;
|
|
336
|
-
} | {
|
|
337
|
-
term: {
|
|
338
|
-
'operation_history.op_object.account_id.keyword': any;
|
|
339
|
-
operation_type?: undefined;
|
|
340
|
-
};
|
|
341
|
-
range?: undefined;
|
|
342
|
-
} | {
|
|
343
|
-
range: {
|
|
344
|
-
'block_data.block_time': {
|
|
345
|
-
gte: string;
|
|
346
|
-
lte: string;
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
term?: undefined;
|
|
350
|
-
})[];
|
|
351
|
-
};
|
|
352
|
-
};
|
|
353
|
-
sort: {
|
|
354
|
-
'block_data.block_time': {
|
|
355
|
-
order: string;
|
|
356
|
-
};
|
|
357
|
-
}[];
|
|
358
|
-
};
|
|
359
|
-
/**
|
|
360
|
-
* Discover which asset pairs an account trades by aggregating the sell asset IDs.
|
|
361
|
-
* Returns top asset IDs by order count.
|
|
362
|
-
*/
|
|
363
|
-
declare function buildAssetDiscoveryQuery(accountId: any, lookbackHours: any): {
|
|
364
|
-
size: number;
|
|
365
|
-
query: {
|
|
366
|
-
bool: {
|
|
367
|
-
filter: ({
|
|
368
|
-
term: {
|
|
369
|
-
operation_type: number;
|
|
370
|
-
'operation_history.op_object.seller.keyword'?: undefined;
|
|
371
|
-
};
|
|
372
|
-
range?: undefined;
|
|
373
|
-
} | {
|
|
374
|
-
term: {
|
|
375
|
-
'operation_history.op_object.seller.keyword': any;
|
|
376
|
-
operation_type?: undefined;
|
|
377
|
-
};
|
|
378
|
-
range?: undefined;
|
|
379
|
-
} | {
|
|
380
|
-
range: {
|
|
381
|
-
'block_data.block_time': {
|
|
382
|
-
gte: string;
|
|
383
|
-
lte: string;
|
|
384
|
-
};
|
|
385
|
-
};
|
|
386
|
-
term?: undefined;
|
|
387
|
-
})[];
|
|
388
|
-
};
|
|
389
|
-
};
|
|
390
|
-
aggs: {
|
|
391
|
-
sell_assets: {
|
|
392
|
-
terms: {
|
|
393
|
-
field: string;
|
|
394
|
-
size: number;
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
recv_assets: {
|
|
398
|
-
terms: {
|
|
399
|
-
field: string;
|
|
400
|
-
size: number;
|
|
401
|
-
};
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
declare function fetchOrderCreate(accountId: any, lookbackHours: any, config?: {}, sellAssetId?: any, intervalSeconds?: number): Promise<any>;
|
|
406
|
-
declare function fetchFillOrder(accountId: any, lookbackHours: any, config?: {}, paysAssetId?: any, intervalSeconds?: number): Promise<any>;
|
|
407
|
-
declare function fetchOrderCancel(accountId: any, lookbackHours: any, config?: {}, intervalSeconds?: number): Promise<any>;
|
|
408
|
-
declare function fetchOrderPrices(accountId: any, lookbackHours: any, config?: {}, sellAssetId?: any, maxResults?: number): Promise<any>;
|
|
409
|
-
declare function fetchFillPrices(accountId: any, lookbackHours: any, config?: {}, paysAssetId?: any, maxResults?: number): Promise<any>;
|
|
410
|
-
declare function fetchDailyActivity(accountId: any, lookbackHours: any, config?: {}): Promise<any>;
|
|
411
|
-
declare function fetchAssetDiscovery(accountId: any, lookbackHours: any, config?: {}): Promise<any>;
|
|
412
|
-
/**
|
|
413
|
-
* Top N accounts by limit_order_create count (seller field).
|
|
414
|
-
* Use this to discover the most active order-placing accounts.
|
|
415
|
-
*/
|
|
416
|
-
declare function buildTopSellerAccountsQuery(lookbackHours: any, topN?: number, minCreates?: number): {
|
|
417
|
-
size: number;
|
|
418
|
-
query: {
|
|
419
|
-
bool: {
|
|
420
|
-
filter: ({
|
|
421
|
-
term: {
|
|
422
|
-
operation_type: number;
|
|
423
|
-
};
|
|
424
|
-
range?: undefined;
|
|
425
|
-
} | {
|
|
426
|
-
range: {
|
|
427
|
-
'block_data.block_time': {
|
|
428
|
-
gte: string;
|
|
429
|
-
lte: string;
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
term?: undefined;
|
|
433
|
-
})[];
|
|
434
|
-
};
|
|
435
|
-
};
|
|
436
|
-
aggs: {
|
|
437
|
-
by_account: {
|
|
438
|
-
terms: {
|
|
439
|
-
field: string;
|
|
440
|
-
size: number;
|
|
441
|
-
min_doc_count: number;
|
|
442
|
-
order: {
|
|
443
|
-
_count: string;
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
};
|
|
448
|
-
};
|
|
449
|
-
/**
|
|
450
|
-
* Top N accounts by limit_order_cancel count (fee_paying_account field).
|
|
451
|
-
*/
|
|
452
|
-
declare function buildTopCancellerAccountsQuery(lookbackHours: any, topN?: number, minCancels?: number): {
|
|
453
|
-
size: number;
|
|
454
|
-
query: {
|
|
455
|
-
bool: {
|
|
456
|
-
filter: ({
|
|
457
|
-
term: {
|
|
458
|
-
operation_type: number;
|
|
459
|
-
};
|
|
460
|
-
range?: undefined;
|
|
461
|
-
} | {
|
|
462
|
-
range: {
|
|
463
|
-
'block_data.block_time': {
|
|
464
|
-
gte: string;
|
|
465
|
-
lte: string;
|
|
466
|
-
};
|
|
467
|
-
};
|
|
468
|
-
term?: undefined;
|
|
469
|
-
})[];
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
aggs: {
|
|
473
|
-
by_account: {
|
|
474
|
-
terms: {
|
|
475
|
-
field: string;
|
|
476
|
-
size: number;
|
|
477
|
-
min_doc_count: number;
|
|
478
|
-
order: {
|
|
479
|
-
_count: string;
|
|
480
|
-
};
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
|
-
};
|
|
484
|
-
};
|
|
485
|
-
/**
|
|
486
|
-
* Top N accounts by fill_order count (account_id field).
|
|
487
|
-
*/
|
|
488
|
-
declare function buildTopFilledAccountsQuery(lookbackHours: any, topN?: number, minFills?: number): {
|
|
489
|
-
size: number;
|
|
490
|
-
query: {
|
|
491
|
-
bool: {
|
|
492
|
-
filter: ({
|
|
493
|
-
term: {
|
|
494
|
-
operation_type: number;
|
|
495
|
-
};
|
|
496
|
-
range?: undefined;
|
|
497
|
-
} | {
|
|
498
|
-
range: {
|
|
499
|
-
'block_data.block_time': {
|
|
500
|
-
gte: string;
|
|
501
|
-
lte: string;
|
|
502
|
-
};
|
|
503
|
-
};
|
|
504
|
-
term?: undefined;
|
|
505
|
-
})[];
|
|
506
|
-
};
|
|
507
|
-
};
|
|
508
|
-
aggs: {
|
|
509
|
-
by_account: {
|
|
510
|
-
terms: {
|
|
511
|
-
field: string;
|
|
512
|
-
size: number;
|
|
513
|
-
min_doc_count: number;
|
|
514
|
-
order: {
|
|
515
|
-
_count: string;
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
};
|
|
519
|
-
};
|
|
520
|
-
};
|
|
521
|
-
declare const _default: {
|
|
522
|
-
OP_LIMIT_ORDER_CREATE: number;
|
|
523
|
-
OP_LIMIT_ORDER_CANCEL: number;
|
|
524
|
-
OP_FILL_ORDER: number;
|
|
525
|
-
DEFAULT_CONFIG: any;
|
|
526
|
-
kibanaSearch: any;
|
|
527
|
-
buildOrderCreateQuery: typeof buildOrderCreateQuery;
|
|
528
|
-
buildFillOrderQuery: typeof buildFillOrderQuery;
|
|
529
|
-
buildOrderCancelQuery: typeof buildOrderCancelQuery;
|
|
530
|
-
buildDailyActivityQuery: typeof buildDailyActivityQuery;
|
|
531
|
-
buildAssetDiscoveryQuery: typeof buildAssetDiscoveryQuery;
|
|
532
|
-
buildOrderPriceQuery: typeof buildOrderPriceQuery;
|
|
533
|
-
buildFillPriceQuery: typeof buildFillPriceQuery;
|
|
534
|
-
fetchOrderCreate: typeof fetchOrderCreate;
|
|
535
|
-
fetchFillOrder: typeof fetchFillOrder;
|
|
536
|
-
fetchOrderCancel: typeof fetchOrderCancel;
|
|
537
|
-
fetchOrderPrices: typeof fetchOrderPrices;
|
|
538
|
-
fetchFillPrices: typeof fetchFillPrices;
|
|
539
|
-
fetchDailyActivity: typeof fetchDailyActivity;
|
|
540
|
-
fetchAssetDiscovery: typeof fetchAssetDiscovery;
|
|
541
|
-
buildTopSellerAccountsQuery: typeof buildTopSellerAccountsQuery;
|
|
542
|
-
buildTopCancellerAccountsQuery: typeof buildTopCancellerAccountsQuery;
|
|
543
|
-
buildTopFilledAccountsQuery: typeof buildTopFilledAccountsQuery;
|
|
544
|
-
};
|
|
545
|
-
export = _default;
|
|
546
|
-
//# sourceMappingURL=kibana_bot_queries.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kibana_bot_queries.d.ts","sourceRoot":"","sources":["../../../analysis/bot_usage/kibana_bot_queries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAoBH;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,eAAe,SAAO,EAAE,WAAW,MAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBlG;AAED;;;GAGG;AACH,iBAAS,mBAAmB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,eAAe,SAAO,EAAE,WAAW,MAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBhG;AAED;;GAEG;AACH,iBAAS,qBAAqB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,eAAe,SAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuB9E;AAED;;;;GAIG;AACH,iBAAS,uBAAuB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DxD;AAID;;;;;;;;;GASG;AACH,iBAAS,oBAAoB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,WAAW,MAAO,EAAE,UAAU,SAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB5F;AAED;;;;;;;;GAQG;AACH,iBAAS,mBAAmB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,WAAW,MAAO,EAAE,UAAU,SAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB1F;AAED;;;GAGG;AACH,iBAAS,wBAAwB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BzD;AAID,iBAAe,gBAAgB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,MAAM,KAAK,EAAE,WAAW,MAAO,EAAE,eAAe,SAAO,gBAGhH;AAED,iBAAe,cAAc,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,MAAM,KAAK,EAAE,WAAW,MAAO,EAAE,eAAe,SAAO,gBAG9G;AAED,iBAAe,gBAAgB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,MAAM,KAAK,EAAE,eAAe,SAAO,gBAG5F;AAED,iBAAe,gBAAgB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,MAAM,KAAK,EAAE,WAAW,MAAO,EAAE,UAAU,SAAO,gBAG3G;AAED,iBAAe,eAAe,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,MAAM,KAAK,EAAE,WAAW,MAAO,EAAE,UAAU,SAAM,gBAGzG;AAED,iBAAe,kBAAkB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,MAAM,KAAK,gBAGtE;AAED,iBAAe,mBAAmB,CAAC,SAAS,KAAA,EAAE,aAAa,KAAA,EAAE,MAAM,KAAK,gBAGvE;AAID;;;GAGG;AACH,iBAAS,2BAA2B,CAAC,aAAa,KAAA,EAAE,IAAI,SAAM,EAAE,UAAU,SAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsB9E;AAED;;GAEG;AACH,iBAAS,8BAA8B,CAAC,aAAa,KAAA,EAAE,IAAI,SAAM,EAAE,UAAU,SAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBhF;AAED;;GAEG;AACH,iBAAS,2BAA2B,CAAC,aAAa,KAAA,EAAE,IAAI,SAAM,EAAE,QAAQ,SAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsB3E;;;;;;;;;;;;;;;;;;;;;;;;;AAID,kBAkCE"}
|