You are a brilliant co-genius.
Cheers
Thomas
I love watching co-genius' at work.
Thanks for all of the great ideas!mcbusrider » Sun Dec 23, 2018 12:45 pm wrote:Great work!
For a trade copier using OandaPyV20, maybe consider running T-desk on an Oanda practice account, then use a Python script to make a list of all open trades on the practice account.
This way, you can run any EA on Empty4 and the 1000 unit minimum trade size doesn't matter - it's on demo.
The Oanda V20 Rest API lets you use the same library on practice and trade accounts, just change the "environment" variable to "live", add the live account info and you're good to go.
So once you have the list of open trades/orders on the practice account, change login details to the live account, get the list of live trades/orders, then compare what's open on the practice account with what's open on the trade account, closing the differences and setting new trades as necessary, resizing as appropriate.
Run the script either in a "While True:" loop, or as a cron job.
You can cycle through a list of accounts (for accountID in accountList:) if you need to get/set trades on multiple practice/live accounts.
Sorry if any of this content or these ideas are duplicate, just a few ideas for you to play with.
I have this about 60% complete. Still have to do some testing and make it presentable. Turned out to be relatively easy and would have went a lot quicker if I actually knew Pythontomele » Sun Dec 23, 2018 8:40 am wrote:Given all this,
wouldn't an universal trade copier Empty4 Demo --> Oanda V20 API be the ultimate tool for trading with order sizes that perfectly fit our postulate #1 of "Never risk money you can't afford to lose"?
![]()
![]()
![]()
Merry christmas
Thomas
Below is the current state of the copier.cozybooks » Fri Dec 28, 2018 4:26 pm wrote:Oh, Lonnie,
We have been waiting so very, very long. For something of this magnitude, we can all dream away while waiting as much longer as it takes.
Our best to you in your undertaking! You've had the vision to take on what the rest of us have only been dreaming about.
![]()
![]()