I am trying to recreate this excel call in R:
#=@BDH("AAPL Equity","CLOSE","2021-02-17 09:00:00","","BarTp",&quo