i bought them at $3,10

No panic, the value of the Onion will go up. What you have bought is not an investment at a loss. It made sense that its value diminishes, because the Onion has grown too fast in a short time. Let it go up gradually so that it stabilizes, and you'll see that it will be well over $ 3.10