def call_ba(self, _): instrument = fx_view.format_instrument(self.instrument, " ") try: df = fx_view.get_candles_dataframe(account, self.instrument, None) s_start = pd.to_datetime(df.index.values[0]) ba_controller.menu(instrument, s_start) except AttributeError: print("No data found, do you have your oanda API keys set?")
def call_reddit(self, other_args: List[str]): instrument = fx_view.format_instrument(self.instrument, " ") reddit_view.due_diligence(other_args, instrument)
def call_ba(self, other_args: List[str]): instrument = fx_view.format_instrument(self.instrument, " ") df = fx_view.get_candles_dataframe(account, self.instrument, None) s_start = pd.to_datetime(df.index.values[0]) ba_controller.menu(instrument, s_start)