Hi Patrick,
Have you considered using input to get the symbols? That way, no need to change any code with cut and paste. And, you can loop for as many symbols as you need, each day having a different set of symbols.
Maybe something like:
sym = ''
req_id = 0
while not sym=='0':
??? sym = input("Please enter symbol or 0 to end")
??? print(f'symbol is: {sym}')
??? req_id += 1
??? app.reqMktData(req_id, usTechStk(sym), "", False, False, [])
? ? ?