Is there an API for buying and selling stocks?

xuanbao · · 753 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I&#39;m looking for an API that can not only give me the current price of a stock but the ability to purchase and sell shares on a given exchange. I&#39;ve only found API&#39;s for grabbing information and none for actual trading</p> <hr/>**评论:**<br/><br/>sakutz: <pre><p>I read that as socks and am now obsessed with that idea.</p></pre>Spoonofdarkness: <pre><p>If you have the backend support auctions for the socks, you should name it winsock API. </p></pre>jgillich: <pre><p>Wrong sub?</p></pre>ringMyPachelbel: <pre><p>I&#39;m building an interactive stock terminal in golang. I couldn&#39;t find an API for the job and this sub seemed like a good place to ask</p></pre>i47: <pre><p><a href="/r/algotrading" rel="nofollow">/r/algotrading</a></p></pre>sneakpeekbot: <pre><p><strong>Here&#39;s a sneak peek of <a href="https://np.reddit.com/r/algotrading" rel="nofollow">/r/algotrading</a> using the <a href="https://np.reddit.com/r/algotrading/top/?sort=top&amp;t=year" rel="nofollow">top posts</a> of the year!</strong></p> <p>#1: <a href="https://np.reddit.com/r/algotrading/comments/5selh0/python_for_algorithmic_trading_and_investing/" rel="nofollow">Python for Algorithmic Trading and Investing tutorial series</a><br/> #2: <a href="https://np.reddit.com/r/algotrading/comments/59syla/stop_calling_it_hft/" rel="nofollow">Stop calling it HFT</a><br/> #3: <a href="https://www.kevinsheppard.com/images/0/09/Python_introduction.pdf" rel="nofollow">Introduction to Python for Econometrics, Statistics and Data Analysis</a> | <a href="https://np.reddit.com/r/algotrading/comments/5kthsv/introduction_to_python_for_econometrics/" rel="nofollow">6 comments</a></p> <hr/> <p><sup><sup>I&#39;m</sup></sup> <sup><sup>a</sup></sup> <sup><sup>bot,</sup></sup> <sup><sup>beep</sup></sup> <sup><sup>boop</sup></sup> <sup><sup>|</sup></sup> <sup><sup>Downvote</sup></sup> <sup><sup>to</sup></sup> <sup><sup>remove</sup></sup> <sup><sup>|</sup></sup> <a href="https://www.reddit.com/message/compose/?to=sneakpeekbot" rel="nofollow"><sup><sup>Contact</sup></sup> <sup><sup>me</sup></sup></a> <sup><sup>|</sup></sup> <a href="https://np.reddit.com/r/sneakpeekbot/" rel="nofollow"><sup><sup>Info</sup></sup></a> <sup><sup>|</sup></sup> <a href="https://np.reddit.com/r/sneakpeekbot/comments/5lveo6/blacklist/" rel="nofollow"><sup><sup>Opt-out</sup></sup></a></p></pre>Vlir: <pre><p>He&#39;s looking to build something like the Bloomberg terminal, not trying to handle trade logic</p></pre>frankwiles: <pre><p>IB Direct has an API you can use. </p></pre>joeblew99: <pre><p>which one of the Interactive Broker golang libs are people using ? <a href="https://golanglibs.com/top?q=ib" rel="nofollow">https://golanglibs.com/top?q=ib</a></p> <p>I checked the top 3 and they have not had any updates for a long time. Are they stable and usable ?</p></pre>jiqiren: <pre><p>Interactive Brokers has an API.</p></pre>codemonkey14: <pre><p>I believe interactive brokers has an API, but otherwise if your financial institution doesn&#39;t have an API you can build a web scraper using net/http to automatically place trades</p></pre>snowzach: <pre><p>Most of the brokers have REST API&#39;s. There&#39;s a couple people that have posted their Go interfaces on github. You&#39;ll just have to search around. For Forex: <a href="https://github.com/santegoeds/oanda" rel="nofollow">https://github.com/santegoeds/oanda</a></p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

753 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传