If I have some new OHLC data that I would like to import manually by calling via the AFL script, how can I do it? I looked at
GetRTDataForeign but they work only with real-time streaming sources (already set up in AB). I’m trying to see if I can make my code work more flexibility with other data sources that sends information via CSV.
Alternatively, I tried using
fgets but I hit into a problem because I do not know how to concatenate a new element at the end of that array. Take for e.g., a ticker has 100 bars and I wish to import the 101st bar in AFL, is it possible to ‘expand’ the array by 1 bar?