Could you please include Tag in the data structure returned by GetOrder(string OrderID) function. This would be greatly useful as there is no need to download all orders when Tag of just one particular order is needed.
It is better to keep a local map of tags and order ids. A tag is set to an order by yourself and when you place the corresponding order you will get the order id. You can store this combination in a dictionary variable or in a CSV file.
It is better to keep a local map of tags and order ids. A tag is set to an order by yourself and when you place the corresponding order you will get the order id. You can store this combination in a dictionary variable or in a CSV file.