Live data from Hacker News

Show HN: Trade stocks from the command line with no commission

gitlab.com

31–40 of 170 posts

Re: Show HN: Trade stocks from the command line with no commission

#31

Beginner 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…

Sure, you can see market depth as long as you pay for the data. Check out Interactive Brokers.

Thanks, will check them out!

Re: Show HN: Trade stocks from the command line with no commission

#32

Shameless 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…

What's the revenue model if commissions have dropped to zero? In other words, how can this be free? Are they making money via worse bid-ask spreads? I feel like a clueless person who lives in the year 2004, wondering why internet services are offered for free.

I'd imagine if you specify a limit or market price they just get a better price, and pocket the difference.

Re: Show HN: Trade stocks from the command line with no commission

#33

Shameless 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…

I have subscribed to your channel. Do you know of any services that allow non US residents to join? I am in New Zealand.

Re: Show HN: Trade stocks from the command line with no commission

#34
Alpaca is great! As far as brokerage APIs go, theirs is top notch and a breeze to code for. The founders are also really responsive and helpful.

I know this because I wrote an app that connects to Alpaca accounts (as well as other brokerages) to help people build their own custom index funds [0]. It only took a few weeks to build our Alpaca integration, whereas other brokerages often take months/years just to get access to their APIs.

[0] https://getpassiv.com/

Re: Show HN: Trade stocks from the command line with no commission

#35
post #29

Beginner 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…

as everyone has said in the child comments the best way to do it is by buying feed access. on the other hand i am working through IEX data on a historical basis to backtest strategies

Thanks, I looked briefly at IEX. Seems like a good source of historical data (maybe real-time as well). One thing that caught my attention was their use of SSE - I typically see WebSockets-based APIs. I also noticed the free account gets 50K messages, which sounded like a lot, but it turned out it was just enough to set up one alert on the account - somewhat underwhelming, but I understand they'd like to convert the free accounts to paid users as fast as possible.

Re: Show HN: Trade stocks from the command line with no commission

#36

Shameless 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…

I have subscribed to your channel. Do you know of any services that allow non US residents to join? I am in New Zealand.

NZ doesnt have much going for it in terms of access to international equities. If you have over $10k USD, you can get an interactive brokers account, their API is a bit rubbish and commissions are normally around $6.00 USD flat. Otherwise Direct Broking via Jardens, commissions are c. $30 NZD per trade. Sharesies are apparently launching international equities later in the year, but they dont offer API access.

Re: Show HN: Trade stocks from the command line with no commission

#40
post #34

Alpaca is great! As far as brokerage APIs go, theirs is top notch and a breeze to code for. The founders are also really responsive and helpful. I know this because I wrote an app that connects to Alpaca accounts (as well as other brokerages) to help people build their own custom index funds [0]. It only took a few weeks to build our Alpaca integration, whereas other brokerages often take months/years just to get acc…

Nice to see you on here, big fan of Passiv!
Post reply on HN