I am a New Zealand citizen, and legal resident of Mexico (not the US - I have only B1/B2 visa for the US). I have funds in the US in an American bank account (in my name). Recently I have considered using some of these funds (say $500, so not much) to buy some shares or crypto or similar.
I am now wondering, if I actually make money from these (which is the hope), can I legally accept those profits into my US bank account? Do I need a SSN (Social Security Number) or file taxes as a result? I don't want to be breaking any laws.