Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diogomatoschaves/MyCryptoBot
/ functions
Functions
982 in github.com/diogomatoschaves/MyCryptoBot
⨍
Functions
982
◇
Types & classes
250
↳
Endpoints
49
Function
mock_strategy_factory
(strategy)
model/tests/setup/fixtures/internal_modules.py:49
Function
mock_sys_exit
(mocker)
shared/utils/tests/fixtures/external_modules.py:54
Function
mock_time_sleep
(mocker)
shared/utils/tests/fixtures/external_modules.py:59
Function
mock_trigger_order
(mocker)
model/tests/setup/fixtures/internal_modules.py:29
Function
mock_trigger_signal_fail
(mocker)
data/tests/setup/fixtures/internal_modules.py:37
Function
mock_trigger_signal_successfully
(mocker)
data/tests/setup/fixtures/internal_modules.py:28
Function
mock_verify_jwt_in_request
( optional: bool = False, fresh: bool = False, refresh: bool = False, locations = None, ve
shared/utils/tests/fixtures/external_modules.py:63
Function
mock_wait_for_job_conclusion
(mocker)
data/tests/setup/fixtures/internal_modules.py:234
Function
mocked_futures_create_order
(mocker)
execution/tests/setup/fixtures/external_modules.py:98
Function
mocked_rq_enqueue_call
(mocker)
model/tests/setup/fixtures/external_modules.py:41
Function
mocked_rq_job
(mocker)
model/tests/setup/fixtures/external_modules.py:25
Function
mocked_strategy
(mocker)
model/tests/setup/fixtures/internal_modules.py:51
Function
mocked_strategy_combiner
(mocker)
model/tests/setup/fixtures/internal_modules.py:58
Function
modalReducer
(state: any, action: any)
dashboard/src/reducers/modalReducer.ts:15
Function
module_mocks
(mocker)
data/tests/service/blueprints/test_run_data_collection.py:15
Function
module_mocks
(mocker)
data/tests/sources/binance/_binance/test_signal_failure_handling.py:22
Function
no_requests
Remove requests.sessions.Session.request for all tests.
data/conftest.py:18
Function
openModal
(event: React.MouseEvent)
dashboard/src/components/NewPipeline.tsx:164
Function
patch_datetime_future
(monkeypatch)
data/tests/setup/fixtures/external_modules.py:99
Function
patch_datetime_now
(monkeypatch)
data/tests/setup/fixtures/external_modules.py:84
Function
patch_time_sleep
(mocker)
data/tests/setup/fixtures/external_modules.py:109
Method
ping
(self)
execution/tests/setup/fixtures/external_modules.py:17
Function
pipeline_events
()
data/service/blueprints/events.py:70
Method
poll
(fn: () => void, ms: number)
dashboard/src/components/App.tsx:264
Function
populate_exchange_data
(db, create_symbol, create_exchange)
shared/utils/tests/fixtures/models.py:751
Function
populate_structured_data
(db, create_symbol, create_exchange)
shared/utils/tests/fixtures/models.py:759
Function
positionsReducer
(state: any, action: any)
dashboard/src/reducers/positionsReducer.ts:34
Function
raise_generic_error
(pipeline, header, **kwargs)
execution/tests/setup/fixtures/internal_modules.py:150
Function
raise_insufficient_balance
(pipeline, header, **kwargs)
execution/tests/setup/fixtures/internal_modules.py:137
Function
raise_pipeline_stop_fail
(pipeline_id, header, raise_exception)
data/tests/setup/fixtures/internal_modules.py:187
Function
reducer
(state: any, action: any)
dashboard/src/components/PipelinePanel.tsx:83
Function
reducer
(state: any, action: any)
dashboard/src/components/TradesTable.tsx:39
Function
reducer
(state: any, action: any)
dashboard/src/components/TradesPanel.tsx:35
Function
refresh_expiring_jwts
(response)
data/service/blueprints/user_management.py:34
Method
render
()
dashboard/src/higherOrderComponents/withMessage.tsx:46
Function
renderCustomizedLabel
({ cx, cy, midAngle, outerRadius, percent })
dashboard/src/components/CustomPieChart.tsx:65
Function
replace_nat_values
(data)
data/sources/binance/transform/_transform.py:52
Function
requests_get_spy
(mocker)
shared/utils/tests/fixtures/external_modules.py:44
Function
requests_post_spy
(mocker)
shared/utils/tests/fixtures/external_modules.py:34
Function
reset_events_state
()
shared/utils/tests/test_events.py:15
Method
reset_notifier
(self)
data/tests/service/blueprints/test_dashboard.py:737
Function
reset_notifier_state
()
shared/utils/tests/test_notifier.py:10
Function
retry_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
Function
save_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
Function
send_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
Method
set
(self, object_name, object_value)
model/tests/setup/fixtures/internal_modules.py:68
Method
set
(self, object_name, object_value)
execution/tests/setup/fixtures/internal_modules.py:91
Function
spy_binance_futures_client
(mocker)
execution/tests/setup/fixtures/external_modules.py:61
Function
spy_binance_handler_klines
(mocker)
data/tests/setup/fixtures/external_modules.py:33
Function
spy_db_connection
(mocker)
data/tests/setup/fixtures/external_modules.py:76
Function
spy_download_file
(mocker)
model/tests/setup/fixtures/internal_modules.py:96
Function
spy_start_pipeline_trade
(mocker)
execution/tests/setup/fixtures/internal_modules.py:164
Function
spy_start_stop_symbol_trading
(mocker)
data/tests/setup/fixtures/internal_modules.py:160
Function
spy_start_symbol_trading
(mocker)
data/tests/setup/fixtures/internal_modules.py:323
Function
spy_stop_instance
(mocker)
data/tests/setup/fixtures/internal_modules.py:210
Function
spy_stop_pipeline
(mocker)
data/tests/setup/fixtures/internal_modules.py:215
Function
spy_sys_exit
(mocker)
shared/utils/tests/fixtures/external_modules.py:49
Function
spy_upload_file
(mocker)
model/tests/setup/fixtures/internal_modules.py:91
Function
start_bot
()
data/service/blueprints/bots_api/_bots_api.py:40
Function
start_mocks
(mocker)
data/tests/service/blueprints/test_run_data_collection.py:72
Function
start_symbol_trading
()
execution/service/app.py:145
Method
start_symbol_trading
(self, pipeline_id, header='', **kwargs)
execution/tests/setup/fixtures/internal_modules.py:28
Function
stop_bot
()
data/service/blueprints/bots_api/_bots_api.py:76
Function
stop_symbol_trading
()
execution/service/app.py:168
Method
stop_symbol_trading
(self, pipeline, symbol, header='', **kwargs)
execution/tests/setup/fixtures/internal_modules.py:41
Function
structured_data
(db, exchange_data_factory)
shared/utils/tests/fixtures/models.py:740
Function
structured_data_factory
(db, create_exchange, create_assets, create_symbol)
shared/utils/tests/fixtures/models.py:730
Method
symbol
(self)
database/model/models.py:300
Method
test_active_pipeline_without_open_time_does_not_crash_run
(self, base_mocks)
data/tests/service/cron_jobs/test_data_cron_jobs.py:469
Method
test_active_true_only_for_started
(self, live_mode, mock_redis)
shared/utils/tests/test_events.py:55
Method
test_alerts_status_configured_masks_chat_id
(self, client, monkeypatch)
data/tests/service/blueprints/test_dashboard.py:751
Method
test_alerts_status_unconfigured
(self, client, monkeypatch)
data/tests/service/blueprints/test_dashboard.py:743
Method
test_all
( self, create_pipeline, create_orders, test_mock_setup, )
execution/tests/exchanges/binance/futures/test_binance_futures_trader.py:410
Method
test_binance_data_handler
( self, input_params, output, common_fixture, mock_trigger_signal_succ
data/tests/sources/binance/_binance/test_binance_handler.py:94
Method
test_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
Method
test_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
Method
test_binance_execute_order_responses
( self, params, expected_value, mock_binance_futures_trader_success, c
execution/tests/service/test_execution_app.py:363
Method
test_binance_trader_fail_start
( self, params, expected_value, client, mock_binance_futures_trader_fa
execution/tests/service/test_execution_app.py:96
Method
test_binance_trader_fail_stop
( self, params, expected_value, mock_binance_futures_trader_fail, clie
execution/tests/service/test_execution_app.py:163
Method
test_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
Method
test_bulk_load_mixed_new_and_duplicate
(self, exchange_data, create_pipeline)
data/tests/sources/binance/load/test_load.py:38
Method
test_bulk_load_skips_duplicates_when_not_updating
(self, exchange_data, create_pipeline)
data/tests/sources/binance/load/test_load.py:51
Method
test_business_failure_returns_false_without_retry
(self, mock_execute, mock_sleep)
model/tests/signal_generation/test_order_delivery.py:88
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_check_job_status
( self, return_value, expected_value, app_client, mocked_rq_job )
model/tests/service/test_model_app.py:118
Method
test_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
Method
test_check_job_status_no_such_job_error
(self, app_client, mocked_rq_job)
model/tests/service/test_model_app.py:128
Method
test_cleanup_failures_do_not_mask_deactivation
( self, module_mocks, create_pipeline )
data/tests/service/blueprints/test_run_data_collection.py:50
Method
test_clear_settings
(self, db, client, monkeypatch)
data/tests/service/blueprints/test_dashboard.py:799
Method
test_compile_strategies
(self, mock_boto3_client, spy_download_file)
model/tests/strategies/test_strategies.py:98
Method
test_compile_strategies_raise_client_error
( self, mock_boto3_client_raise_client_error, spy_download_file )
model/tests/strategies/test_strategies.py:105
Method
test_compile_strategies_raise_no_credentials_error
( self, mock_boto3_client_raise_no_credentials_error, spy_download_file )
model/tests/strategies/test_strategies.py:116
Method
test_connection_is_lazy_and_cached
(self, live_mode, mock_redis)
shared/utils/tests/test_events.py:71
Method
test_corrects_pipeline_when_exchange_has_more
( self, create_pipeline, mock_alert )
execution/tests/service/test_reconciliation.py:39
Method
test_current_equity_updated
( self, signal, side_effect, pipeline_id, initial_position, te
execution/tests/exchanges/binance/futures/test_binance_futures_trader.py:357
← previous
next →
701–800 of 982, ranked by callers