MCPcopy
hub / github.com/CryptoSignal/Crypto-Signal / indicator_dispatcher

Method indicator_dispatcher

app/analysis.py:24–41  ·  view source on GitHub ↗

Returns a dictionary for dynamic anaylsis selector Returns: dictionary: A dictionary of functions to serve as a dynamic analysis selector.

(self)

Source from the content-addressed store, hash-verified

22
23
24 def indicator_dispatcher(self):
25 """Returns a dictionary for dynamic anaylsis selector
26
27 Returns:
28 dictionary: A dictionary of functions to serve as a dynamic analysis selector.
29 """
30
31 dispatcher = {
32 'ichimoku': ichimoku.Ichimoku().analyze,
33 'macd': macd.MACD().analyze,
34 'rsi': rsi.RSI().analyze,
35 'momentum': momentum.Momentum().analyze,
36 'mfi': mfi.MFI().analyze,
37 'stoch_rsi': stoch_rsi.StochasticRSI().analyze,
38 'obv': obv.OBV().analyze
39 }
40
41 return dispatcher
42
43
44 def informant_dispatcher(self):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected