(Disclaimer that I'm working on an open source FIX engine in Lisp.) This is a really cool project! But alas I couldn't use it as I'm not in the US, and I don't trade with Alpaca. And I feel like this plays into a negative trend I'm seeing. The retail brokerage market right now is treading on similar 'mistakes' in institutional markets 15ish years ago. Proprietary APIs were prolific, and therefore increased switching…
I have implemented FIX for a living for a few years. It’s fragmented beyond belief. You can have different standards for different parts of the same brokerage. You have to do separate conformance tests for different asset classes at the same (big, well known, reputable) broker. The proprietary APIs like Bloomberg’s provide additional value rather than being alternatives to FIX. Make no mistake: you cannot interchange…
Show HN: Trade stocks from the command line with no commission
161–170 of 170 posts
Re: Show HN: Trade stocks from the command line with no commission
#162(Disclaimer that I'm working on an open source FIX engine in Lisp.) This is a really cool project! But alas I couldn't use it as I'm not in the US, and I don't trade with Alpaca. And I feel like this plays into a negative trend I'm seeing. The retail brokerage market right now is treading on similar 'mistakes' in institutional markets 15ish years ago. Proprietary APIs were prolific, and therefore increased switching…
Re: Show HN: Trade stocks from the command line with no commission
#163Re: Show HN: Trade stocks from the command line with no commission
#164A 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.
Polygon offers 1 second bars ( https://polygon.io/sockets ) for $200/mo.
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 commission
#165Beginner question on a related topic for those of you more knowledgeable than me: Is there a way to get access to the order books on Nasdaq or other exchanges? I'm working on a script that can run stock trading algorithms (and hopefully see some profit). My first trading experience was with crypto on GDAX (now Coinbase Pro). The order book on GDAX is basically available via their API. I've been looking at various sto…
Check out interactive brokers. You have to pay for the market feeds but it’s all available via API. It’s a completely horrible, painful API, but it’s the only way I found to get the data as a hobbyist. There’s a process where you certify that you are a non-professional trader and they give you access to the data feeds for a reasonable price. I’m working on a similar project, in case you’re interested in swapping note…
Re: Show HN: Trade stocks from the command line with no commission
#166A 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.
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.
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 commission
#167Shameless plug: I started a YouTube channel on this topic that covers a lot of commission free trading API's, including Alpaca (got featured in their docs), Robinhood Private API, TD Ameritrade, Tradier, and more. I'm seeing a huge growth in interest in developing automated trading bots and algos. With commissions dropping to zero, there is a huge wave of day/swing traders that want to learn Python, so am creating as…
Re: Show HN: Trade stocks from the command line with no commission
#168Earlier quoted context omitted.
Common Lisp on SBCL. I lived on the JVM for quite some time (and still do), and I wanted to explore other ecosystems out of sheer curiosity. Got to playing with Lisp/SBCL, some initial tests showed it was pretty quick, and was impressed that I could disassemble functions in the REPL and iterate rapidly. Then a while later... I noticed there wasn't a FIX library at around the same time I was exploring creating my own…
Do you recommend that book and/or any others? Interested in automated trading + functional languages
[0]: https://www.amazon.com/Professional-Automated-Trading-Theory...
Re: Show HN: Trade stocks from the command line with no commission
#169Re: Show HN: Trade stocks from the command line with no commission
#170Earlier quoted context omitted.
Polygon offers 1 second bars ( https://polygon.io/sockets ) for $200/mo.
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.