catching the curl

Meaning 1
to catch an ocean wave at the narrow window of time when it is possible.
Sentence 1
Part of what make Mary such a great surfer is she knows exactly how to catch the curl every time.
Meaning 2
to do something at just the right moment
Sentence 2
Great job, you caught the curl: if you invested any earlier or later, then you would not have been able to make so much return on those stocks.