- Went through MD/HN.
- Read a bit of Vue's docs, for comparison to React.
- vue init webpack <myproj> is like create-react-app
- Still use components, and they update as the underlying data changes, but you do so with classic html/css/js rather than jsx (html in js). You CAN combine these all into a single .vue file with meta js/css/html.
- You get a few useful html classes like v-for v-if v-bind v-on which allow you to conditionally/customizably display data and/or events.
- Next.js is the framework for full node/react apps (as opposed to create-react-app for simple single-page apps).
- Daytrading is ... just transacting throughout the day on small fluctuations, rather than long-term.
- Shorting, You do this when you think something is overvalued or you expect it to drop.
- Selling shares that you do not own with the obligation to buy them back later.
- Say I short company A. I go to a broker and "sell" 10 shares for $100 each. I then have $1000 and the requirement to "buy" the shares back at some later date.
- This is like the opposite of a regular transaction, where you buy and hope it increases.
- If the price drops, as I expected, to something like $80 then when I "buy" all 10, I will have effectively bought at 80 and sold at 100, making a profit of $20 per share.
- If the price INCREASES, then you are losing money. If it goes to $150, you've lost $50 on each share.
- There is an important difference with this method. Shorting stocks can theoretically lose you an infinite amount of money. With a regular stock purchase, say for $30, you can only lose that $30. If you short a $30 stock, like an early google share, and it rises to $1000, you've lost $970, and will continue to lose more as the price increases.