Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CryptoSignal/Crypto-Signal
/ functions
Functions
64 in github.com/CryptoSignal/Crypto-Signal
⨍
Functions
64
◇
Types & classes
28
↓ 12 callers
Method
convert_to_dataframe
Converts historical data matrix to a pandas dataframe. Args: historical_data (list): A matrix of historical OHCLV data.
app/analyzers/utils.py:18
↓ 7 callers
Method
_validate_required_config
Validate the required configuration items are present for a notifier. Args: notifier (str): The name of the notifier key in defau
app/notification.py:225
↓ 7 callers
Method
notify
Sends the message. Args: message (str): The message to send. Returns: dict: A dictionary containing the resu
app/notifiers/gmail_client.py:32
↓ 6 callers
Method
_indicator_message_templater
Creates a message from a user defined template Args: new_analysis (dict): A dictionary of data related to the analysis to send a
app/notification.py:243
↓ 3 callers
Method
chunk_message
Chunks message so that it meets max size of integration. Args: message (str): The message to chunk. max_message_size
app/notifiers/utils.py:14
↓ 2 callers
Method
_get_analysis_result
Get the results of performing technical analysis Args: dispatcher (dict): A dictionary of functions for performing TA.
app/behaviour.py:314
↓ 2 callers
Method
_get_historical_data
Gets a list of OHLCV data for the given pair and exchange. Args: market_pair (str): The market pair to get the OHLCV data for.
app/behaviour.py:269
↓ 1 callers
Method
_get_crossover_results
Execute crossover analysis on the results so far. Args: new_result (dict): A dictionary containing the results of the informant a
app/behaviour.py:226
↓ 1 callers
Method
_get_indicator_results
Execute the indicator analysis on a particular exchange and pair. Args: exchange (str): The exchange to get the indicator results
app/behaviour.py:115
↓ 1 callers
Method
_get_informant_results
Execute the informant analysis on a particular exchange and pair. Args: exchange (str): The exchange to get the indicator results
app/behaviour.py:172
↓ 1 callers
Method
_test_strategies
Test the strategies and perform notifications as required Args: market_data (dict): A dictionary containing the market data of th
app/behaviour.py:68
↓ 1 callers
Method
crossover_dispatcher
Returns a pandas.DataFrame for dynamic crossover selector Returns: dictionary: A dictionary of functions to serve as a dynamic cr
app/analysis.py:62
↓ 1 callers
Method
get_exchange_markets
Get market data for all symbol pairs listed on all configured exchanges. Args: markets (list, optional): A list of markets to get
app/exchange.py:116
↓ 1 callers
Method
get_historical_data
Get historical OHLCV for a symbol pair Decorators: retry Args: market_pair (str): Contains the symbol pair t
app/exchange.py:42
↓ 1 callers
Method
indicator_dispatcher
Returns a dictionary for dynamic anaylsis selector Returns: dictionary: A dictionary of functions to serve as a dynamic analysis
app/analysis.py:24
↓ 1 callers
Method
informant_dispatcher
Returns a dictionary for dynamic informant selector Returns: dictionary: A dictionary of functions to serve as a dynamic informan
app/analysis.py:44
↓ 1 callers
Function
main
Initializes the application
app/app.py:17
↓ 1 callers
Method
notify_all
Trigger a notification for all notification options. Args: new_analysis (dict): The new_analysis to send.
app/notification.py:94
↓ 1 callers
Method
notify_discord
Send a notification via the discord notifier Args: new_analysis (dict): The new_analysis to send.
app/notification.py:109
↓ 1 callers
Method
notify_gmail
Send a notification via the gmail notifier Args: new_analysis (dict): The new_analysis to send.
app/notification.py:157
↓ 1 callers
Method
notify_slack
Send a notification via the slack notifier Args: new_analysis (dict): The new_analysis to send.
app/notification.py:125
↓ 1 callers
Method
notify_stdout
Send a notification via the stdout notifier Args: new_analysis (dict): The new_analysis to send.
app/notification.py:210
↓ 1 callers
Method
notify_telegram
Send a notification via the telegram notifier Args: new_analysis (dict): The new_analysis to send.
app/notification.py:173
↓ 1 callers
Method
notify_twilio
Send a notification via the twilio notifier Args: new_analysis (dict): The new_analysis to send.
app/notification.py:141
↓ 1 callers
Method
notify_webhook
Send a notification via the webhook notifier Args: new_analysis (dict): The new_analysis to send.
app/notification.py:189
↓ 1 callers
Method
run
The analyzer entrypoint Args: market_pairs (list): List of symbol pairs to operate on, if empty get all pairs. output
app/behaviour.py:44
Method
__init__
Initializes StrategyAnalyzer class
app/analysis.py:19
Method
__init__
Initializes DefaultBehaviour class. Args: indicator_conf (dict): A dictionary of configuration for this analyzer. exc
app/behaviour.py:21
Method
__init__
Initializes Notifier class Args: notifier_config (dict): A dictionary containing configuration for the notifications.
app/notification.py:20
Method
__init__
Initializes the Configuration class
app/conf.py:13
Method
__init__
Initializes Output class.
app/outputs.py:13
Method
__init__
Initializes ExchangeInterface class Args: exchange_config (dict): A dictionary containing configuration for the exchanges.
app/exchange.py:17
Method
__init__
(self)
app/analyzers/utils.py:14
Method
__init__
(self, url, username, password)
app/notifiers/webhook_client.py:13
Method
__init__
Initialize TwilioNotifer class Args: twilio_key (str): They API key for authenticating to twilio. twilio_secret (str)
app/notifiers/twilio_client.py:13
Method
__init__
(self)
app/notifiers/utils.py:10
Method
__init__
Initialize StdoutNotifier class
app/notifiers/stdout_client.py:13
Method
__init__
Initialize TelegramNotifier class Args: token (str): The telegram API token. chat_id (str): The chat ID you want the
app/notifiers/telegram_client.py:17
Method
__init__
Initialize DiscordNotifier class Args: webhook (str): Discord web hook to allow message sending. username (str): Disp
app/notifiers/discord_client.py:12
Method
__init__
Initialize GmailNotifier class Args: username (str): Username of the gmail account to use for sending message. passwo
app/notifiers/gmail_client.py:15
Method
__init__
Initialize SlackNotifier class Args: slack_webhook (str): Slack web hook to allow message sending.
app/notifiers/slack_client.py:13
Method
analyze
Tests for key_indicator crossing over the crossed_indicator. Args: key_indicator (pandas.DataFrame): A dataframe containing the
app/analyzers/crossover.py:12
Method
analyze
Performs an EMA analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data. period_count (int, optional)
app/analyzers/informants/ema.py:13
Method
analyze
Performs a bollinger band analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data.
app/analyzers/informants/bollinger_bands.py:15
Method
analyze
Performs a SMA analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data. perio
app/analyzers/informants/sma.py:13
Method
analyze
Performs a VWAP analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data. peri
app/analyzers/informants/vwap.py:14
Method
analyze
Performs a SMA analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data. perio
app/analyzers/informants/ohlcv.py:7
Method
analyze
Performs MFI analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data. period_
app/analyzers/indicators/mfi.py:13
Method
analyze
Performs a Stochastic RSI analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data.
app/analyzers/indicators/stoch_rsi.py:14
Method
analyze
Performs OBV analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data. signal
app/analyzers/indicators/obv.py:13
Method
analyze
Performs a macd analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data. sign
app/analyzers/indicators/macd.py:13
Method
analyze
Performs momentum analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data. pe
app/analyzers/indicators/momentum.py:13
Method
analyze
Performs an RSI analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data. peri
app/analyzers/indicators/rsi.py:13
Method
analyze
Performs an ichimoku cloud analysis on the historical data Args: historical_data (list): A matrix of historical OHCLV data.
app/analyzers/indicators/ichimoku.py:14
Function
configure_logging
Configure the application logger Args: loglevel (str): The level of logging for the application. log_mode (str): What kind of log
app/logs.py:10
Method
notify
Sends the message. Args: message (str): The message to send.
app/notifiers/webhook_client.py:20
Method
notify
Sends the message. Args: message (str): The message to send.
app/notifiers/twilio_client.py:29
Method
notify
stdout send the message. Args: message (str): The message to print.
app/notifiers/stdout_client.py:18
Method
notify
Send the notification. Args: message (str): The message to send.
app/notifiers/telegram_client.py:36
Method
notify
Sends the message. Args: message (str): The message to send.
app/notifiers/discord_client.py:26
Method
notify
Sends the message. Args: message (str): The message to send.
app/notifiers/slack_client.py:25
Method
to_cli
Creates the message to output to the CLI Args: market_pair (str): Market pair that this message relates to. results (
app/outputs.py:25
Method
to_csv
Creates the csv to output to the CLI Args: market_pair (str): Market pair that this message relates to. results (dict
app/outputs.py:108
Method
to_json
Creates the JSON to output to the CLI Args: market_pair (str): Market pair that this message relates to. results (dic
app/outputs.py:178