# Get APIs to trade stocks?

**URL:** <https://community.wolfram.com/t/get-apis-to-trade-stocks/12022>\
**Category:** Questions\
**Tags:** business-analytics, economics, finance, curated-data, interface-construction\
**Created:** [February 26, 2018, 11:51pm UTC](https://community.wolfram.com/t/get-apis-to-trade-stocks/12022 "2018-02-26T23:51:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![larrydubov](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@larrydubov](https://community.wolfram.com/u/larrydubov)\
**Post date:** [February 26, 2018, 11:51pm UTC](https://community.wolfram.com/t/get-apis-to-trade-stocks/12022/1 "2018-02-26T23:51:46Z")

</div>

Does Mathematica offer any APIs that can be used to submit and execute trades on stock market? If the core Mathematica product can’t do it, are there any packages enabling an execution of trading transactions from Mathematica? Thanks - Larry

---

<div class="post-metadata">

**Author:** ![massimosalese](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@massimosalese](https://community.wolfram.com/u/massimosalese)\
**Post date:** [May 4, 2018, 7:45am UTC](https://community.wolfram.com/t/get-apis-to-trade-stocks/12022/2 "2018-05-04T07:45:13Z")

</div>

Hello,

I think it must be the broker to provide you with the API for the submission of market orders.

If the broker use Java or .NET API you can look at [J/Link](http://reference.wolfram.com/language/JLink/tutorial/Overview.html) or [.Net/Link](http://reference.wolfram.com/language/NETLink/tutorial/Overview.html)

If instead the broker only provide the DDE / Excel then you can use [Excel-Link](https://www.wolfram.com/products/applications/excel_link/) but be careful because I have not yet figured out if the product is fully compatible with Excel 64bit.

---

<div class="post-metadata">

**Author:** ![mkelly](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mkelly/32/21221_2.png) [@mkelly](https://community.wolfram.com/u/mkelly)\
**Post date:** [January 31, 2020, 12:49am UTC](https://community.wolfram.com/t/get-apis-to-trade-stocks/12022/3 "2020-01-31T00:49:45Z")

</div>

There is the MATH-TWS package by Jonathan Kinlay which connects Mathematica and IB’s TWS trading system and which was described in the Wolfram Community site at [https://community.wolfram.com/groups/-/m/t/1527021](https://community.wolfram.com/groups/-/m/t/1527021)

Michael Kelly  
WRI

---

<div class="post-metadata">

**Author:** ![larrydubov](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@larrydubov](https://community.wolfram.com/u/larrydubov)\
**Post date:** [January 31, 2020, 1:25am UTC](https://community.wolfram.com/t/get-apis-to-trade-stocks/12022/4 "2020-01-31T01:25:18Z")

</div>

Thanks! I will explore.  
Larry

---

<div class="post-metadata">

**Author:** ![el](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/el/32/25568_2.png) [@el](https://community.wolfram.com/u/el)\
**Post date:** [March 7, 2021, 1:46pm UTC](https://community.wolfram.com/t/get-apis-to-trade-stocks/12022/5 "2021-03-07T13:46:03Z")

</div>

Thanks, Massimo
