MCPcopy Create free account

hub / github.com/diogomatoschaves/MyCryptoBot / functions

Functions982 in github.com/diogomatoschaves/MyCryptoBot

Functionmock_strategy_factory
(strategy)
model/tests/setup/fixtures/internal_modules.py:49
Functionmock_sys_exit
(mocker)
shared/utils/tests/fixtures/external_modules.py:54
Functionmock_time_sleep
(mocker)
shared/utils/tests/fixtures/external_modules.py:59
Functionmock_trigger_order
(mocker)
model/tests/setup/fixtures/internal_modules.py:29
Functionmock_trigger_signal_fail
(mocker)
data/tests/setup/fixtures/internal_modules.py:37
Functionmock_trigger_signal_successfully
(mocker)
data/tests/setup/fixtures/internal_modules.py:28
Functionmock_verify_jwt_in_request
( optional: bool = False, fresh: bool = False, refresh: bool = False, locations = None, ve
shared/utils/tests/fixtures/external_modules.py:63
Functionmock_wait_for_job_conclusion
(mocker)
data/tests/setup/fixtures/internal_modules.py:234
Functionmocked_futures_create_order
(mocker)
execution/tests/setup/fixtures/external_modules.py:98
Functionmocked_rq_enqueue_call
(mocker)
model/tests/setup/fixtures/external_modules.py:41
Functionmocked_rq_job
(mocker)
model/tests/setup/fixtures/external_modules.py:25
Functionmocked_strategy
(mocker)
model/tests/setup/fixtures/internal_modules.py:51
Functionmocked_strategy_combiner
(mocker)
model/tests/setup/fixtures/internal_modules.py:58
FunctionmodalReducer
(state: any, action: any)
dashboard/src/reducers/modalReducer.ts:15
Functionmodule_mocks
(mocker)
data/tests/service/blueprints/test_run_data_collection.py:15
Functionmodule_mocks
(mocker)
data/tests/sources/binance/_binance/test_signal_failure_handling.py:22
Functionno_requests
Remove requests.sessions.Session.request for all tests.
data/conftest.py:18
FunctionopenModal
(event: React.MouseEvent)
dashboard/src/components/NewPipeline.tsx:164
Functionpatch_datetime_future
(monkeypatch)
data/tests/setup/fixtures/external_modules.py:99
Functionpatch_datetime_now
(monkeypatch)
data/tests/setup/fixtures/external_modules.py:84
Functionpatch_time_sleep
(mocker)
data/tests/setup/fixtures/external_modules.py:109
Methodping
(self)
execution/tests/setup/fixtures/external_modules.py:17
Functionpipeline_events
()
data/service/blueprints/events.py:70
Methodpoll
(fn: () => void, ms: number)
dashboard/src/components/App.tsx:264
Functionpopulate_exchange_data
(db, create_symbol, create_exchange)
shared/utils/tests/fixtures/models.py:751
Functionpopulate_structured_data
(db, create_symbol, create_exchange)
shared/utils/tests/fixtures/models.py:759
FunctionpositionsReducer
(state: any, action: any)
dashboard/src/reducers/positionsReducer.ts:34
Functionraise_generic_error
(pipeline, header, **kwargs)
execution/tests/setup/fixtures/internal_modules.py:150
Functionraise_insufficient_balance
(pipeline, header, **kwargs)
execution/tests/setup/fixtures/internal_modules.py:137
Functionraise_pipeline_stop_fail
(pipeline_id, header, raise_exception)
data/tests/setup/fixtures/internal_modules.py:187
Functionreducer
(state: any, action: any)
dashboard/src/components/PipelinePanel.tsx:83
Functionreducer
(state: any, action: any)
dashboard/src/components/TradesTable.tsx:39
Functionreducer
(state: any, action: any)
dashboard/src/components/TradesPanel.tsx:35
Functionrefresh_expiring_jwts
(response)
data/service/blueprints/user_management.py:34
Methodrender
()
dashboard/src/higherOrderComponents/withMessage.tsx:46
FunctionrenderCustomizedLabel
({ cx, cy, midAngle, outerRadius, percent })
dashboard/src/components/CustomPieChart.tsx:65
Functionreplace_nat_values
(data)
data/sources/binance/transform/_transform.py:52
Functionrequests_get_spy
(mocker)
shared/utils/tests/fixtures/external_modules.py:44
Functionrequests_post_spy
(mocker)
shared/utils/tests/fixtures/external_modules.py:34
Functionreset_events_state
()
shared/utils/tests/test_events.py:15
Methodreset_notifier
(self)
data/tests/service/blueprints/test_dashboard.py:737
Functionreset_notifier_state
()
shared/utils/tests/test_notifier.py:10
Functionretry_failed_connection
Retries the wrapped function on connection errors with exponential backoff. Re-raises the last exception once retries are exhausted — callers
shared/utils/decorators/failed_connection.py:11
Functionsave_alerts_settings
Saves the Telegram credentials from the dashboard. The token is write-only: it is stored server-side and never returned to the client. Sending
data/service/blueprints/dashboard.py:356
Functionsend_test_alert
Sends a test alert so the user can verify their Telegram setup end-to-end from the dashboard.
data/service/blueprints/dashboard.py:403
Methodset
(self, object_name, object_value)
model/tests/setup/fixtures/internal_modules.py:68
Methodset
(self, object_name, object_value)
execution/tests/setup/fixtures/internal_modules.py:91
Functionspy_binance_futures_client
(mocker)
execution/tests/setup/fixtures/external_modules.py:61
Functionspy_binance_handler_klines
(mocker)
data/tests/setup/fixtures/external_modules.py:33
Functionspy_db_connection
(mocker)
data/tests/setup/fixtures/external_modules.py:76
Functionspy_download_file
(mocker)
model/tests/setup/fixtures/internal_modules.py:96
Functionspy_start_pipeline_trade
(mocker)
execution/tests/setup/fixtures/internal_modules.py:164
Functionspy_start_stop_symbol_trading
(mocker)
data/tests/setup/fixtures/internal_modules.py:160
Functionspy_start_symbol_trading
(mocker)
data/tests/setup/fixtures/internal_modules.py:323
Functionspy_stop_instance
(mocker)
data/tests/setup/fixtures/internal_modules.py:210
Functionspy_stop_pipeline
(mocker)
data/tests/setup/fixtures/internal_modules.py:215
Functionspy_sys_exit
(mocker)
shared/utils/tests/fixtures/external_modules.py:49
Functionspy_upload_file
(mocker)
model/tests/setup/fixtures/internal_modules.py:91
Functionstart_bot
()
data/service/blueprints/bots_api/_bots_api.py:40
Functionstart_mocks
(mocker)
data/tests/service/blueprints/test_run_data_collection.py:72
Functionstart_symbol_trading
()
execution/service/app.py:145
Methodstart_symbol_trading
(self, pipeline_id, header='', **kwargs)
execution/tests/setup/fixtures/internal_modules.py:28
Functionstop_bot
()
data/service/blueprints/bots_api/_bots_api.py:76
Functionstop_symbol_trading
()
execution/service/app.py:168
Methodstop_symbol_trading
(self, pipeline, symbol, header='', **kwargs)
execution/tests/setup/fixtures/internal_modules.py:41
Functionstructured_data
(db, exchange_data_factory)
shared/utils/tests/fixtures/models.py:740
Functionstructured_data_factory
(db, create_exchange, create_assets, create_symbol)
shared/utils/tests/fixtures/models.py:730
Methodsymbol
(self)
database/model/models.py:300
Methodtest_active_pipeline_without_open_time_does_not_crash_run
(self, base_mocks)
data/tests/service/cron_jobs/test_data_cron_jobs.py:469
Methodtest_active_true_only_for_started
(self, live_mode, mock_redis)
shared/utils/tests/test_events.py:55
Methodtest_alerts_status_configured_masks_chat_id
(self, client, monkeypatch)
data/tests/service/blueprints/test_dashboard.py:751
Methodtest_alerts_status_unconfigured
(self, client, monkeypatch)
data/tests/service/blueprints/test_dashboard.py:743
Methodtest_all
( self, create_pipeline, create_orders, test_mock_setup, )
execution/tests/exchanges/binance/futures/test_binance_futures_trader.py:410
Methodtest_binance_data_handler
( self, input_params, output, common_fixture, mock_trigger_signal_succ
data/tests/sources/binance/_binance/test_binance_handler.py:94
Methodtest_binance_data_handler_failed_trigger_signal
( self, input_params, output, common_fixture, mock_trigger_signal_fail
data/tests/sources/binance/_binance/test_binance_handler.py:184
Methodtest_binance_data_handler_stop_pipeline_fail
( self, pipeline_id, exception, start_stop_symbol_return_value, expect
data/tests/sources/binance/_binance/test_binance_handler.py:285
Methodtest_binance_execute_order_responses
( self, params, expected_value, mock_binance_futures_trader_success, c
execution/tests/service/test_execution_app.py:363
Methodtest_binance_trader_fail_start
( self, params, expected_value, client, mock_binance_futures_trader_fa
execution/tests/service/test_execution_app.py:96
Methodtest_binance_trader_fail_stop
( self, params, expected_value, mock_binance_futures_trader_fail, clie
execution/tests/service/test_execution_app.py:163
Methodtest_binance_trader_fail_stop_pipeline_inactive
( self, params, expected_value, mock_binance_futures_trader_fail_pipeline_inac
execution/tests/service/test_execution_app.py:197
Methodtest_bulk_load_mixed_new_and_duplicate
(self, exchange_data, create_pipeline)
data/tests/sources/binance/load/test_load.py:38
Methodtest_bulk_load_skips_duplicates_when_not_updating
(self, exchange_data, create_pipeline)
data/tests/sources/binance/load/test_load.py:51
Methodtest_business_failure_returns_false_without_retry
(self, mock_execute, mock_sleep)
model/tests/signal_generation/test_order_delivery.py:88
Methodtest_check_app_health
( self, fake_executor_submit, mock_redis_connection_app_health, create_pipelin
data/tests/service/cron_jobs/test_data_cron_jobs.py:28
Methodtest_check_app_health_failed_stop
( self, fake_executor_submit, mock_redis_connection_app_health, create_pipelin
data/tests/service/cron_jobs/test_data_cron_jobs.py:59
Methodtest_check_app_health_get_positions_error
( self, spy_stop_pipeline, requests_post_spy, mock_get_open_positions_unsucces
data/tests/service/cron_jobs/test_data_cron_jobs.py:189
Methodtest_check_app_health_no_restart
( self, fake_executor_submit, mock_redis_connection_app_health, create_pipelin
data/tests/service/cron_jobs/test_data_cron_jobs.py:86
Methodtest_check_app_health_no_retries
( self, fake_executor_submit, mock_redis_connection_app_health, create_pipelin
data/tests/service/cron_jobs/test_data_cron_jobs.py:114
Methodtest_check_app_health_remote_positions
( self, fake_executor_submit, mock_redis_connection_app_health, create_pipelin
data/tests/service/cron_jobs/test_data_cron_jobs.py:142
Methodtest_check_job_status
( self, return_value, expected_value, app_client, mocked_rq_job )
model/tests/service/test_model_app.py:118
Methodtest_check_job_status
GIVEN some params WHEN the method start_stop_symbol_trading is called THEN the return value is equal to the expected response
data/tests/service/test_data_external_requests.py:93
Methodtest_check_job_status_no_such_job_error
(self, app_client, mocked_rq_job)
model/tests/service/test_model_app.py:128
Methodtest_cleanup_failures_do_not_mask_deactivation
( self, module_mocks, create_pipeline )
data/tests/service/blueprints/test_run_data_collection.py:50
Methodtest_clear_settings
(self, db, client, monkeypatch)
data/tests/service/blueprints/test_dashboard.py:799
Methodtest_compile_strategies
(self, mock_boto3_client, spy_download_file)
model/tests/strategies/test_strategies.py:98
Methodtest_compile_strategies_raise_client_error
( self, mock_boto3_client_raise_client_error, spy_download_file )
model/tests/strategies/test_strategies.py:105
Methodtest_compile_strategies_raise_no_credentials_error
( self, mock_boto3_client_raise_no_credentials_error, spy_download_file )
model/tests/strategies/test_strategies.py:116
Methodtest_connection_is_lazy_and_cached
(self, live_mode, mock_redis)
shared/utils/tests/test_events.py:71
Methodtest_corrects_pipeline_when_exchange_has_more
( self, create_pipeline, mock_alert )
execution/tests/service/test_reconciliation.py:39
Methodtest_current_equity_updated
( self, signal, side_effect, pipeline_id, initial_position, te
execution/tests/exchanges/binance/futures/test_binance_futures_trader.py:357
← previousnext →701–800 of 982, ranked by callers