Live data from Hacker News

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

gitlab.com

21–30 of 170 posts

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

#21
post #20
post #16

Earlier quoted context omitted.

Oh didn't realize that! Thanks for pointing that out

Maybe just remove it from the commit history? People are still going to pay the cost even if you removed it in the most recent commit.

Took it out now, seems there is a bit of a lag for the filesize to update unfortunately

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

#22

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.

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

#23

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.

Excellent explainer that's worth a read [1] and it's HN thread [2]

tl;dr: Interest, payment for order flow, and securities lending (but mostly interest)

[1] https://www.kalzumeus.com/2019/6/26/how-brokerages-make-mone...

[2] https://news.ycombinator.com/item?id=20276551

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

#24
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 stock trading APIs (Alpaca looks interesting as well) and it seems like the only thing that's available are broker APIs that don't share the order book.

Is the order book on Nasdaq and other exchanges unavailable to regular folks like me? Is it hidden, available to institutions only, or to some sort of registered brokers?

Having first dealt with GDAX and now looking at stocks, it all seems so ambiguous and hidden behind 3rd parties, unclear order execution, etc. (not that gdax was perfect - it has its issues), so I'm just generally confused as to how things work.

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

#25

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…

You have to buy the feed, the market data isn’t free. Depending on your usage the fees can get fairly steep [0]. And that’s just the market data, you need to pay for colocation, cross connects, and order entry sessions. Of course Nasdaq is only one US equity market - there are 14+ with more coming online in recent years.

[0] - http://www.nasdaqtrader.com/Trader.aspx?id=DPUSdata

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

#26

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.

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

#27
post #25

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…

You have to buy the feed, the market data isn’t free. Depending on your usage the fees can get fairly steep [0]. And that’s just the market data, you need to pay for colocation, cross connects, and order entry sessions. Of course Nasdaq is only one US equity market - there are 14+ with more coming online in recent years. [0] - http://www.nasdaqtrader.com/Trader.aspx?id=DPUSdata

This is great. Thanks for the info - it does look expensive. I might have to investigate other exchanges.

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

#28
go install doesn't work @anegri # github.com/keybase/go-keychain cgo-gcc-prolog:203:11: warning: 'SecTrustedApplicationCreateFromPath' is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h:59:10: note: 'SecTrustedApplicationCreateFromPath' has been explicitly marked deprecated here

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

#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

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

#30
post #28

go install doesn't work @anegri # github.com/keybase/go-keychain cgo-gcc-prolog:203:11: warning: 'SecTrustedApplicationCreateFromPath' is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h:59:10: note: 'SecTrustedApplicationCreateFromPath' has been…

What os and version are you running? I have been having trouble with Mac because of one of my dependencies
Post reply on HN