OANDA set to terminate web support for fxTrade Java launcher
5 stars based on
I updated the code so it works with Oanda's new API. Time to talk about brokers, how to place a trade programmatically and most importantly how not to get scammed. This is the third part of the series: How to build your own algotrading platform. A oanda fxtrade practice is nothing more than a company that lets you trade buy or sell assets on a market through their platform.
What is very important for algotrading is:. In our case, we don't really care about oanda fxtrade practice as we won't be doing High Frequency Trading any time soon. Even though brokers are regulated, there have been incidents in the past couple of years, were brokers folded due to certain conditions. Be very wary if. What could happen is that you start making some money and you aren't be able to pull them out.
Oanda fxtrade practice let's switch to a happier note which is opening an account and placing our first programmatic trade.
I am using Oanda as a broker I am not affiliated with them and they offer a pretty decent API, libraries on github and a free demo account. Go and open a free fxTrade Practice account and then sign oanda fxtrade practice. There you can find oanda fxtrade practice API key which we are going to use in our system to place trades.
The code for this is and all other posts is on github and you can install it and run it pretty easily. Oanda released a new kickass execution engine called v20 and they have released a new improved API.
This post has been updated in order to use the new API but if for any reason you want to check the old code, it is right here. Connecting to Oanda needs a conf file - which you can generate using a script that Oanda provides here or you can just create it yourself. Why would you want that? First of all when it comes to credentials and my moneyI prefer to know everything that is going on.
Feel free to use either method. For now, we have placed our first trade oanda fxtrade practice our laptop and we are going to build our own API to place trades. You can read Oanda's documentation here to see what else you can do with their Oanda fxtrade practice and find the Python library here. Tons of examples are available from Oanda's github page here.
You'll be able to see the almost final program running and we'll talk more about Forex and strategies. If you have more feedback, ping me at jonromero or signup to the newsletter. This is an engineering tutorial on how to build an algotrading platform for experimentation and FUN.
Any suggestions here are not financial advices. Enjoy at your own risk. Twitter LinkedIn Github Bitbucket. Get it here Time to talk about brokers, how to place a trade programmatically and most importantly how not to get scammed.
What is very important for algotrading is: The broker offers an API in order for us to place orders You can have a demo account to run your staging environment and experiment The spread is as small as possible In our case, we don't really care about oanda fxtrade practice as we won't be doing High Frequency Trading oanda fxtrade practice time soon. Be very wary if There are no reviews of the broker on the internet or most of them are bad If the broker offers you some crazy leverage like 1: Now, prepare to be amazed.
The code is straight-forward. We initialize the API: Posted Tue 06 December