def METHOD_NAME(alpaca_interface: AlpacaInterface) -> None:
    import dateparser
    assert isinstance(alpaca_interface.calls, alpaca_trade_api.REST)
    end = dateparser.parse("2021-02-04 9:35AM EST")
    return_df = alpaca_interface.history("AAPL", to=10, resolution='1h', end_date=end)
    assert (len(return_df) == 10)