-2
$\begingroup$

I have my own strategy developed in Python. But I couldn't find a reliable method to send, close, and modify orders using Python. Are there any tools that help order management using Python?

I also would like to ask which brokers provide Python API? I cannot use Oanda as they don't support my country.

I mainly focused Forex, CFD and equities.

$\endgroup$
0
$\begingroup$

The Interactive Brokers API provides functionality for sending, modifying and closing orders for all of the asset classes you have mentioned.

It supports Python, as well as Java, C++ and C#. I cannot truly speak for the Python version as I have only used the C++ API which is barely usable with the way the current threading model "works"... however I can recommend github.com/erdewit/ib_insync as it seems to simplify many aspects of the TWS and socket connectivity.

Seeing as you're in Turkey, according to IB's Available Countries page, Turkey is supported!

$\endgroup$
0
$\begingroup$

I second the use of the Interactive Brokers API. It is what I currently use to manage my orders. Here is a good blog to get started --> https://qoppac.blogspot.com/2017/03/interactive-brokers-native-python-api.html

$\endgroup$
0
$\begingroup$

Great Python API is provided by FXCM. It is really intuitive and easy to use.

https://www.fxcm.com/uk/algorithmic-trading/forex-python/

$\endgroup$
-1
$\begingroup$

Quantopian uses Python. Or you need to convert to proprietary scripts like Think script

$\endgroup$
  • $\begingroup$ I believe they are only for Stocks market and they can reach to the source i think. $\endgroup$ – Don Coder Nov 17 '18 at 17:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.