func (ts tradeStore) Exists(tradeID string) bool {
	ts.m.RLock()
	defer ts.m.RUnlock()
	if _, ok := ts.ts[tradeID]; ok {
		return true
	}
	return false
}
// Exists returns true if an event with the trade ID exists
Exists returns true if an event with the trade ID exists
// Exists returns true if an event with the trade ID exists
func (ts tradeStore) Exists(tradeID string) bool {
	ts.m.RLock()
	defer ts.m.RUnlock()
	if _, ok := ts.ts[tradeID]; ok {
		return true
	}
	return false
}
func ( ts tradeStore ) Exists ( tradeID string ) bool { ts . m . RLock ( ) defer ts . m . RUnlock ( ) if _ , ok := ts . ts [ tradeID ] ; ok { return true } return false }
Exists returns true if an event with the trade ID exists
Exists returns true if an event with the trade ID exists