Is there a way for AmiQuote to merge (keep unrelated values in aux1 and aux2) import data as opposed to replace (add open,high,low,close,volume as expected but also zero out aux1 and aux2) import it?
Here's a specific scenario:
- Last month, I did ASCII Import for aux1 and aux2 fields, for example storing "1" under aux1 on 11/4/2020 and 11/5/2020 (Fed meeting days) under ^RUT index symbol.
- When 11/4/2020 came, AmiQuote using aqh.format with:
$FORMAT Date_DMY,Open,High,Low,Close,Skip,Volume
$SKIPLINES 0
$BREAKONERR 0
$SEPARATOR ,
$DEBUG 1
$AUTOADD 1
$CONT 1
$GROUP 254
$VOLFACTOR 0.01
added open,high,low,close,volume data based on ^RUT.aqh
$NAME ^RUT
Date,Open,High,Low,Close,Adj Close,Volume
04-11-2020,1612.979980,1631.310059,1598.560059,1615.079956,1615.079956,47830400
for ^RUT, as expected. But it also replaced my aux1, it's no longer 1, it became a 0 even though ^RUT.aqh data did not contain new values for aux1+aux2, nor did aqh.format specify any changes to aux1 or aux2.
3) How do I get AmiQuote import to merge as opposed to replace data?
a) I already tried adding 2 extra "Skip" in my aqh.format file, but aux1 and aux2 still get zero'd out
$FORMAT Date_DMY,Open,High,Low,Close,Skip,Volume,Skip,Skip
b) I looked for a "preserve" or "merge" flags in the manual at https://www.amibroker.com/guide/d_ascii.html but could not find anything related.
c) Since aux1 data gets replaced, I tried to use OLE Import() to reimport it every day, after AmiQuote runs in my process, but it does not work for me, as per OLE import using ruby