MCPcopy Create free account

hub / github.com/diogomatoschaves/MyCryptoBot / functions

Functions982 in github.com/diogomatoschaves/MyCryptoBot

↓ 2 callersMethod_reset_symbol
(self, symbol)
execution/exchanges/binance/futures/_trading.py:145
↓ 2 callersMethod_run_bookkeeping
Runs a post-exchange bookkeeping operation, retrying once on a transient database error. If the database still cannot be written,
execution/exchanges/binance/_trading.py:129
↓ 2 callersFunctionadd_strategies
(strategies)
data/service/helpers/_helpers.py:149
↓ 2 callersFunctionbinance_client_mock_factory
(method, type_='mock')
execution/tests/setup/fixtures/external_modules.py:52
↓ 2 callersFunctionbinance_handler_market_data_factory
(method)
execution/tests/setup/fixtures/external_modules.py:73
↓ 2 callersFunctioncapitalize
(s: string)
dashboard/src/utils/helpers/index.ts:283
↓ 2 callersFunctioncheck_aws_config
Validates the AWS S3 configuration by attempting to list objects in the specified bucket. Returns ------- bool Returns True
model/service/cloud_storage/_cloud_storage.py:32
↓ 2 callersFunctioncheck_input
(strategies, edit_pipeline=False, **kwargs)
data/service/helpers/_helpers.py:38
↓ 2 callersFunctioncheck_job_status
(job_id)
data/service/external_requests.py:23
↓ 2 callersFunctioncloud_storage_startup
()
model/service/cloud_storage/_cloud_storage.py:21
↓ 2 callersFunctionconvertParam
(func: string, value: any)
dashboard/src/utils/helpers/index.ts:142
↓ 2 callersFunctionconvert_client_request
(data)
data/service/helpers/_helpers.py:198
↓ 2 callersFunctionconvert_queryset_to_dict
(queryset)
data/service/helpers/_helpers.py:180
↓ 2 callersFunctionconvert_trades_to_dict
(trades_metrics)
data/service/helpers/_helpers.py:184
↓ 2 callersFunctiondeactivate_pipeline
(pipeline_id)
execution/service/helpers/decorators/handle_order_execution_errors.py:25
↓ 2 callersFunctiondouble_callback
(callback, mock_row)
data/tests/setup/fixtures/internal_modules.py:50
↓ 2 callersFunctionexecute_order
(pipeline_id, signal, bearer_token, header='')
model/service/external_requests.py:13
↓ 2 callersFunctionextract_request_params
(request)
data/service/helpers/_helpers.py:212
↓ 2 callersFunctionfetchTradesData
()
dashboard/src/components/Dashboard.tsx:108
↓ 2 callersFunctiongenerate_signal
(pipeline_id, header='')
data/service/external_requests.py:37
↓ 2 callersFunctiongetEquityTimeSeries
({ pipelineId, maxItems }: { pipelineId?: number | string | null, maxItems?: number })
dashboard/src/apiCalls/index.ts:94
↓ 2 callersFunctiongetMe
()
dashboard/src/apiCalls/index.ts:89
↓ 2 callersFunctiongetTradesMetrics
(pipelineId?: string)
dashboard/src/apiCalls/index.ts:79
↓ 2 callersFunctionget_balance
()
data/service/external_requests.py:114
↓ 2 callersFunctionget_existing_pipeline
(fields)
data/service/helpers/_helpers.py:133
↓ 2 callersFunctionget_header
Retrieves the header information for a given pipeline from the Redis cache. Parameters ---------- pipeline_id : str or int T
execution/service/helpers/_helpers.py:64
↓ 2 callersFunctionget_minimum_lookback_date
Calculates the minimum lookback date required based on the maximum window size and the candle size. Parameters ---------- max_window
shared/utils/helpers/_helpers.py:218
↓ 2 callersFunctionget_number_of_batches
Calculates the number of batches needed to fetch historical data based on the start date, candle size, and batch size. Parameters --
data/sources/binance/extract/_helpers.py:115
↓ 2 callersFunctionget_open_positions
()
data/service/external_requests.py:131
↓ 2 callersFunctionget_pipeline_equity_timeseries
(pipeline_id=None, account_type=None, max_items=500)
data/service/helpers/_helpers.py:262
↓ 2 callersFunctionget_pipeline_max_window
Determines the maximum window size for a given pipeline by inspecting its strategies and parameters. Parameters ---------- pipeline_
shared/utils/helpers/_helpers.py:244
↓ 2 callersFunctionget_price
(symbol)
data/service/external_requests.py:97
↓ 2 callersMethodget_profit_loss
(self)
database/model/models.py:303
↓ 2 callersFunctionget_root_dir
()
shared/utils/helpers/_helpers.py:44
↓ 2 callersMethodget_signal
(self)
model/tests/setup/fixtures/internal_modules.py:43
↓ 2 callersFunctionget_telegram_credentials
Resolves the bot token and chat id: environment variables win, the database settings (editable from the dashboard) are the fallback.
shared/utils/notifier.py:51
↓ 2 callersMethodincr
(self, object_name)
data/tests/setup/fixtures/internal_modules.py:256
↓ 2 callersFunctioninitialize_data_collection
(pipeline, header)
data/service/blueprints/bots_api/_helpers.py:36
↓ 2 callersFunctionis_pipeline_loading
(cache, pipeline_id)
shared/utils/helpers/_helpers.py:115
↓ 2 callersFunctionlist_files
Lists all the files in an AWS S3 bucket. Parameters ---------- client : boto3.client The boto3 S3 client instance used to in
model/service/cloud_storage/_download.py:5
↓ 2 callersMethodlist_objects
(self, Bucket)
model/tests/setup/fixtures/external_modules.py:50
↓ 2 callersFunctionlogout
()
dashboard/src/apiCalls/index.ts:91
↓ 2 callersMethodmake_job
(self, exc)
model/tests/signal_generation/test_order_delivery.py:134
↓ 2 callersFunctionoptionByValue
(val: number | string)
dashboard/src/ui/Select.tsx:241
↓ 2 callersFunctionpositionsReducerCallback
(currentPrices: Object)
dashboard/src/reducers/positionsReducer.ts:6
↓ 2 callersFunctionprocess_positions
(positions, open_positions)
execution/service/blueprints/market_data.py:72
↓ 2 callersFunctionquery_trades_metrics
(pipeline=None)
data/service/helpers/_helpers.py:281
↓ 2 callersFunctionremoveToken
()
dashboard/src/higherOrderComponents/withToken.tsx:23
↓ 2 callersFunctionrenderParamControl
(param: string, paramsDefinition: any)
dashboard/src/components/StrategySelectionModal.tsx:81
↓ 2 callersFunctionresample_data
(data, candle_size, aggregation_method)
data/sources/binance/transform/_transform.py:25
↓ 2 callersFunctionselectOption
(option: SelectOption)
dashboard/src/ui/Select.tsx:203
↓ 2 callersFunctionset_service_token
(app)
data/service/app.py:51
↓ 2 callersMethodsetupPolling
(pathname: string)
dashboard/src/components/App.tsx:257
↓ 2 callersFunctionsignal_failure_handler
RQ failure callback: makes failed signal jobs loud. Runs on the worker when a job raises; the job itself stays inspectable in the FailedJ
model/signal_generation/_signal_generation.py:265
↓ 2 callersFunctionsignal_generator
Generates a trading signal based on a composite strategy and attempts to execute a trade based on this signal. Parameters ----------
model/signal_generation/_signal_generation.py:107
↓ 2 callersFunctionstartBot
(requestData: object)
dashboard/src/apiCalls/index.ts:67
↓ 2 callersFunctionstart_pipeline_trade
(pipeline, header)
execution/service/app.py:102
↓ 2 callersFunctionstop_symbol_trading
(trader_instance, pipeline_id, symbol, header)
execution/service/helpers/decorators/handle_order_execution_errors.py:18
↓ 2 callersFunctiontransform_data
( data, candle_size, exchange, symbol, reference_candle_size='5m', aggregation_method=
data/sources/binance/transform/_transform.py:67
↓ 2 callersFunctionwait_for_job_conclusion
(job_id, pipeline_id, retry, header='')
data/sources/_signal_triggerer.py:53
↓ 2 callersFunctionwarn_if_no_workers
A queued job with no worker will silently expire after its ttl - make the outage loud. The job is still enqueued: a worker may come back in time.
model/service/app.py:52
↓ 1 callersFunction_account_name
(paper_trading)
execution/service/reconciliation.py:39
↓ 1 callersFunction_bulk_load
Insert candle rows in bulk, splitting new rows from duplicates in a single existence query. Returns the number of rows counted as written (new
data/sources/binance/load/_load.py:53
↓ 1 callersMethod_check_enough_balance
Checks if there is enough balance available for a given symbol based on the pipeline's current equity and leverage. Paramete
execution/exchanges/binance/futures/_trading.py:179
↓ 1 callersMethod_check_negative_equity
Checks for negative equity for a given symbol and raises an exception if found. Parameters ---------- symbol : str
execution/exchanges/binance/futures/_trading.py:622
↓ 1 callersFunction_correct_pipeline
Rewrites a single pipeline's units, Position row and dangling Trade to match the exchange. All writes happen in one transaction.
execution/service/reconciliation.py:126
↓ 1 callersFunction_entry_key
(record)
data/sources/binance/load/_load.py:49
↓ 1 callersMethod_format_order
(self, order, pipeline_id)
execution/exchanges/binance/_trading.py:159
↓ 1 callersMethod_get_api_keys
(self, paper_trading)
shared/exchanges/binance/_binance.py:44
↓ 1 callersFunction_get_connection
()
shared/utils/events.py:42
↓ 1 callersMethod_get_position
(self, symbol)
execution/exchanges/binance/_trading.py:177
↓ 1 callersMethod_handle_trades
(self, pipeline_id, symbol, previous_position, position)
execution/exchanges/binance/_trading.py:180
↓ 1 callersFunction_mask
(value)
data/service/blueprints/dashboard.py:331
↓ 1 callersMethod_process_new_data
( self, model_class, data, data_length, candle_size, remove_ze
data/sources/binance/_binance.py:415
↓ 1 callersMethod_process_order
(self, order, pipeline_id)
execution/exchanges/binance/_trading.py:165
↓ 1 callersMethod_process_trading_bot_results
(trades)
execution/exchanges/binance/_trading.py:223
↓ 1 callersFunction_prune_cache
(now)
shared/utils/notifier.py:78
↓ 1 callersFunction_quantity_tolerance
(trader, symbol)
execution/service/reconciliation.py:43
↓ 1 callersFunction_read_db_credentials
Reads the Telegram credentials saved from the dashboard. Imported lazily and guarded so the notifier stays usable (as a no-op) in any context
shared/utils/notifier.py:33
↓ 1 callersMethod_set_initial_balance
Sets the initial balance, units, and equity for a specified trading symbol based on the pipeline configuration. Parameters
execution/exchanges/binance/futures/_trading.py:501
↓ 1 callersMethod_set_initial_position
(self, symbol, initial_position, header='', **kwargs)
execution/exchanges/binance/_trading.py:71
↓ 1 callersMethod_set_leverage
Sets the leverage for a given symbol based on the pipeline configuration. Parameters ---------- pipeline : Pipeline
execution/exchanges/binance/futures/_trading.py:149
↓ 1 callersMethod_start_kline_websockets
(self, symbol, callback, header='')
data/sources/binance/_binance.py:269
↓ 1 callersMethod_stop_websocket
(self)
data/sources/binance/_binance.py:282
↓ 1 callersFunction_strtobool
(value)
shared/utils/settings.py:11
↓ 1 callersMethod_update_net_value
Computes, persists and applies a net value update in one step. Used outside the order path (e.g. when initializing a symbol's balance
execution/exchanges/binance/futures/_trading.py:580
↓ 1 callersMethod_validate_input
Checks if requested symbol exists. Parameters ---------- symbol : str initialized symbol to check v
data/sources/binance/_binance.py:98
↓ 1 callersFunctionadd_extra_columns
(data, exchange, symbol, candle_size)
data/sources/binance/transform/_transform.py:9
↓ 1 callersFunctionadd_pipeline_loading
(cache, pipeline_id)
shared/utils/helpers/_helpers.py:88
↓ 1 callersFunctionbinance_handler_execution_app_factory
(method)
execution/tests/setup/fixtures/external_modules.py:85
↓ 1 callersMethodbuy_instrument
(self, symbol, date=None, row=None, units=None, amount=None, header='', **kwargs)
execution/exchanges/binance/_trading.py:47
↓ 1 callersFunctioncheck_active_pipelines
Iterates through all active pipelines, checking each for being stuck and for matching remote positions. Parameters ---------- positi
data/service/cron_jobs/app_health/_app_health.py:288
↓ 1 callersFunctioncheck_inconsistencies
Checks for inconsistencies between local active pipeline positions and remote open positions. Closes any unmatched remote positions. Par
data/service/cron_jobs/app_health/_app_health.py:341
↓ 1 callersFunctioncheck_matching_remote_position
Verifies if there is a matching position on the remote trading platform for the given pipeline's symbol. If not, the pipeline is stopped (unl
data/service/cron_jobs/app_health/_app_health.py:208
↓ 1 callersFunctioncheck_pipeline_stuck
Checks if a trading pipeline is stuck based on the time elapsed since its last entry. If it is determined to be stuck, a stop request is sent
data/service/cron_jobs/app_health/_app_health.py:139
↓ 1 callersFunctioncheck_typing
(props)
model/strategies/properties.py:49
↓ 1 callersFunctioncloseModal
()
dashboard/src/components/NewPipeline.tsx:179
↓ 1 callersMethodclose_pos
Closes the position for a given symbol, optionally at a specific date and based on additional conditions. Parameters -------
execution/exchanges/binance/futures/_trading.py:230
↓ 1 callersFunctionconvert_signal_to_text
(signal)
model/signal_generation/_helpers.py:4
↓ 1 callersFunctionconvert_trade
Converts a database Trade object into a standardized Trade object with structured attributes. Parameters ---------- trade : Trade ob
shared/utils/helpers/_helpers.py:189
← previousnext →101–200 of 982, ranked by callers