Live data from Hacker News

Show HN: Stock Trading with Insomnia REST Client and Alpaca API

news.ycombinator.com

31–40 of 40 posts

Re: Show HN: Stock Trading with Insomnia REST Client and Alpaca API

#31
post #18

Open question: If, for one stock, you could predict tomorrow's closing price today (with 80% accuracy within 2% of the actual price), how would you trade that stock?

It's easy to predict tomorrow's closing price with that accuracy: it will be the same as today's closing price. For a large majority of S&P 500 stocks this prediction will be within 2% of the actual price very often (more than 80% of the days). In aggregate, the hit rate is over 80% as well.

Great, so how do you use that for a trading strategy?

Re: Show HN: Stock Trading with Insomnia REST Client and Alpaca API

#32

Open question: If, for one stock, you could predict tomorrow's closing price today (with 80% accuracy within 2% of the actual price), how would you trade that stock?

The bigger question is - what happens if you get the price 20% wrong? This might look like a winning strategy in a normal and calm market. But, it'll take only one day to wipe out all the gains.

That's an excellent question. It all depends on the strategy. How would you address that scenario?

Re: Show HN: Stock Trading with Insomnia REST Client and Alpaca API

#33
post #18

Earlier quoted context omitted.

It's easy to predict tomorrow's closing price with that accuracy: it will be the same as today's closing price. For a large majority of S&P 500 stocks this prediction will be within 2% of the actual price very often (more than 80% of the days). In aggregate, the hit rate is over 80% as well.

Great, so how do you use that for a trading strategy?

You can't. What parent tries to explain is your predictions is no different than regular fluctuations, so you can't use it to get an edge.

Re: Show HN: Stock Trading with Insomnia REST Client and Alpaca API

#35
post #6

Earlier quoted context omitted.

What is order flow?

User data on what stocks they buy and sell Except between the time the user clicks buy and when it the buy actually happens. Basically hedge funds are able to receive and parse this data, and change their orders to an advantage before the users order hits the actual exchange Its analogous to a MITM attack Despite my wording its not necessarily bad, but I think users should have a better understanding of it.

(any insight on why this is downvoted -4 at time of writing?)

Re: Show HN: Stock Trading with Insomnia REST Client and Alpaca API

#36

Earlier quoted context omitted.

And by selling info about customer orders to front runners. IIUC, these are high frequency traders who may place similar orders milliseconds in advance of yours then profit from the fact that you have to pay a bit more to fill your order. Full disclosure, I continue to use Robinhood despite this.

This is highly illegal and taken very seriously. Is this speculation on your part or do you know this for a fact (in which case, you should report it).

It's been widely reported [0]. And as I said I feel like it's still a fair deal. Some HFT's get my orders and they know I purchased 2 AMZN yesterday a few seconds before it executed. In return I get to trade for free on their platform.

[0] https://www.bloomberg.com/news/articles/2018-10-15/robinhood...

Re: Show HN: Stock Trading with Insomnia REST Client and Alpaca API

#37
post #5

Alpaca looks awesome, but doesn't support after hours trading. Does anyone know of a good API that does?

Yes. Narwhal. Narwhal provides commission free flat rate brokerage trading via tradier and you can trade both in pre and post market hours.

Re: Show HN: Stock Trading with Insomnia REST Client and Alpaca API

#38
post #5

Alpaca looks awesome, but doesn't support after hours trading. Does anyone know of a good API that does?

Yes. Narwhal. Narwhal provides commission free flat rate brokerage trading via tradier and you can trade both in pre and post market hours.

[deleted]

Re: Show HN: Stock Trading with Insomnia REST Client and Alpaca API

#39
post #18

Earlier quoted context omitted.

It's easy to predict tomorrow's closing price with that accuracy: it will be the same as today's closing price. For a large majority of S&P 500 stocks this prediction will be within 2% of the actual price very often (more than 80% of the days). In aggregate, the hit rate is over 80% as well.

Great, so how do you use that for a trading strategy?

Weekly out of the money options trades with short expires. It’s more gambling than anything else fwiw.
Post reply on HN