News for hackers. Stuff that matters.
Re:Show HN: Trade stocks from the command line with no commi... by proverbialbunny on Saturday May 16, 2020 @11:12PM (#23209246)
A problem I've bumped into with Alpaca compared to other services is my bot needs 1 second bars, and I believe Alpaca goes down to 1min bars and nothing smaller.
Re:Show HN: Trade stocks from the command line with no commi... by anegri on Saturday May 16, 2020 @11:21PM (#23209292)
Yeah there are definitely a number of limitations if you are using just alpaca (which I limited myself to for this), which is why this project is intended for just a few basic use cases.
Re:Show HN: Trade stocks from the command line with no commi... by larrykubin on Saturday May 16, 2020 @11:25PM (#23209316)
Did you try the Alpaca Market Data (streaming) they just released? You should be able to get real-time data now that is aggregated from multiple exchanges.
Re:Show HN: Trade stocks from the command line with no commi... by proverbialbunny on Tuesday May 19, 2020 @01:51PM (#23237896)
That's the 1 min bars I was talking about.

https://alpaca.markets/docs/api-documentation/api-v2/market-...

>Trades, quotes and minute bars are supported.

Re:Show HN: Trade stocks from the command line with no commi... by Vindicis on Saturday May 16, 2020 @11:30PM (#23209350)
Couldn't you just make your own off the tick data you're streaming?
Re:Show HN: Trade stocks from the command line with no commi... by proverbialbunny on Tuesday May 19, 2020 @01:02PM (#23237188)
Alpaca streams bars not ticks.
Re:Show HN: Trade stocks from the command line with no commi... by nemothekid on Sunday May 17, 2020 @12:01PM (#23212843)
Polygon offers 1 second bars (https://polygon.io/sockets) for $200/mo.
Re:Show HN: Trade stocks from the command line with no commi... by proverbialbunny on Tuesday May 19, 2020 @01:20PM (#23237450)
Cool! Know of any cheap 1 sec bar or less historical data sources?

IBS does live tick data for around $10 a month, smaller than 1sec. I hate IBS, but I hate paying $200 a month more, especially when I'm backtesting most months.

Re:Show HN: Trade stocks from the command line with no commi... by nemothekid on Saturday May 23, 2020 @10:59PM (#23288730)
I came across https://tradier.com/products/brokerage-api which seems to provide historical data for free. I'm taking a look currently, so I'm unsure how good the data is.