Returns a dictionary for dynamic anaylsis selector Returns: dictionary: A dictionary of functions to serve as a dynamic analysis selector.
(self)
| 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): |
no outgoing calls
no test coverage detected