Posted By: GPEngine
TRADE* findTrade(string name) - 10/19/14 23:59
Code:
TRADE* findTrade(string name); // find the first trade with the given info
I want: efficient lookups of entered trades by unique identifier, regardless of trade status (open, pending, closed). So far I maintain a data structure containing all known TRADE* memory addresses, but this seems fragile.