I will testting out pivots to see if this works as trading timing indicator. Do you think this will work with these red and green dots? Once a position is put, it will wait it out of for red dots after the entry. It will also be combined with the usual rate of change percentage moves and long vs short position on the particular pairs. This will be able to able confirm down moves with all 3 indicators. Do realize these pivots are not 100% accurate but may be useful combined with the other indicators. I may report back to see how this works. If it does, I will apply to the crypto currency bot as well.
Update: You need to ensure the up and down threshholds need to be accurate. One way to do this is use the min and max of rate of change of your time series. This is before calculating your pivots.
I still find thi s broker really tough to understand as explained below. As a result, my views of Oanda API has not changed. I am trying to help out those Americans who want to do algo trading. It seems Oanda is the last broker of it’s kind to support Python API for forex and CFD for US residents. Also, they are still a market maker so watch out in terms of trusting them. Based on my experience below, nothing huge has improved in terms of getting things working via their API. As you will read, the second link was helpful to make it work. The question is how long will these examples will still work until Oanda decide to change their API functionality yet again.
I think I finally got Oanda v20 running with Python. This broker is a complete nightmare with the various document (or lack of) to install/implement via GitHub. I tried many different ways but you may want to visit these links below:
You will need to ensure that you create your broker account and API tokens. These will be needed for the examples below. The link above provides a convenient Python script to create your V20.conf file. You may want to follow that process. There are also mentions of needing different virtual environments. I found this is not needed with the example code below.
The examples found in this link seems to work as long as your provide a valid V20 API token and account Id. One confusing part is use the AccountID which is the active_account found in the .conf file. I never used the username in any of the example above. As I am using Mac OS where the .v20.conf is created and stored in /Users/currentuser
The next though part is to filter through the response data.
As for the backtrader Python package, I did not find a Quickstart Tutorial for how to implement Oanda. Either that or it was too involved. I found another forum posting so I just decided to go native Oanda instead of using another Python package for access.
Source code sample and files can be found by purchasing here
PREREQUISITES AND REQUIREMENTS
Depending on your language of choice, these demos with source code are useful for those who want take advantage of the Interactive Bokers TWS software.
WHAT WILL YOU LEARN?
This course will give you an overview of the critical components needed for your own algo trading system. This will give thought on pieces that will make you successful as indie automated trader to control your own destiny.
MODULE 1: WHY REDIS
Here is an introduction to the world’s in memory NOSQL database. This demo introduce why it should be used with source code.
MODULE 2: WHY PYTHON FOR MY ALGOS AND AUTOMATED TRADING
Simple demo of Interactive Brokers Python integration with iBPy package. Sample code incuded.
MODULE 3: DEMO OF JAVA AND PYTHON WITH REDIS PUB SUB
MODULE 4: IB JAVA TEST CLIENT DEMO
IB Java Test Client demo
Netbeans IDE Java project ibredis2-tar
LRANGE Python demo found in this directory redis-chat
MODULE 5: JAVA PUSH LPUSH PYTHON LRANGE
Java Push LPUSH Python LRANGE
MODULE 6: PYTHON PUB TO JAVA SUB IB TWS ORDER
Python pub to Java sub IB TWS Order
Python code under
Netbeans Java Project
MODULE 7: TWS API C++ LIBRARY AND IB C++ ON POSIX MAC
C++ source is made available from IB API sample package as hinted in video
It seems that the zero technology will be part of the future. We live in a society where Facebook and Google track our online existence. I always thought that the premise of Bitcoin was to allow anonymity but here we are where we need to register to be on an exchange. What has the world gone to? As this article below mentions, maybe the future is in this new zero coin.
As promised, I have scheduled our upcoming crypto currency discussion happened on Tuesday night at 7 PM. This is for those that have something to say about the future of the automated trading around crypto currency. This also includes what I’ve learned is well over the last few weeks thanks to everybody on my Facebook and Telegram chat group.