Brokers APIs don't have order comments or magic numbers. But for anylyzing you can just use the .csv file that contains the algo names.