Dear Statalist users,
I have been benefited a lot from this forum.
I have some data that look like this:
I need to organize it into:
Is there a easy way to do it?
Any advice is highly appreciated!
I have been benefited a lot from this forum.
I have some data that look like this:
| AAL.O | AAL.O | ACB.O | ACB.O | |
| Timestamp | Trade Close | Trade Volume | Trade Close | Trade Volume |
| Timestamp | AAL.O_close | AAL.O_volume | ACB.O_close | ACB.O_volume |
| 2/1/2020 | 29.09 | 6,275,633.00 | 24.24 | 2,666,621.75 |
| 3/1/2020 | 27.65 | 14,020,066.00 | 24.00 | 1,597,244.67 |
| stock_code | time_stampe | Trade Close | Trade Volume |
| AAL.O | 2/1/2020 | 29.09 | 6,275,633.00 |
| AAL.O | 3/1/2020 | 27.65 | 14,020,066.00 |
| ACB.O | 2/1/2020 | 24.24 | 2,666,621.75 |
| ACB.O | 3/1/2020 | 24.00 | 1,597,244.67 |
Any advice is highly appreciated!

Comment