Edit Your Comment
Auto-trading with macOS (or linux?)
Členem od Jan 25, 2017
12 příspěvků
Jan 26, 2017 at 08:38
(Upravené Jan 25, 2017 at 17:01)
Členem od Jan 25, 2017
12 příspěvků
I primary use macOS at home and linux for work. I was looking at playing with Oanda's API and getting to that with python or swift, but the more I look into it, the less ideal this seems.
Are there any decent software solutions for developing and backtesting autotrading strategies with these environments?
Are there any decent software solutions for developing and backtesting autotrading strategies with these environments?
Členem od Nov 14, 2015
325 příspěvků
Jan 26, 2017 at 09:18
Členem od Nov 14, 2015
325 příspěvků
There are mac versions of both cTrader and Metatrader. You can atleast run cTrader through WINE in Linux.
forex_trader_395769
Členem od Jan 25, 2017
7 příspěvků
Jan 29, 2017 at 08:10
Členem od Jan 25, 2017
7 příspěvků
I run Ubuntu and use the fxtrade platform by using the oracle Java JRE , In my opinion i would try not to focus on 'auto-trading' and trade when you have the time. Develop a system that works for you and your personality in the time you have each day. I work 2nd shift so I typically trade in the morning at the coffee shop and then off to work , only about 3 or 4 hours.
Good Luck to everyone
Good Luck to everyone
Členem od Jan 25, 2017
12 příspěvků
Jan 30, 2017 at 08:06
Členem od Jan 25, 2017
12 příspěvků
Got it -- I downloaded MT4 through my broker and got that to launch with PlayOnMac (similar to POL for linux) through Wine. I downloaded VirtualBox and installed Vista, then used Tickstory to generate a settings file for my broker and downloaded the historical data to my Shared Folder back on the Mac-side. For now, I'm just experimenting with M15, M30, H1, and H4 data across a few pairs. I installed Mono on Wine and was able to get Tickstory on the mac-side to Launch MT4 through with the historical data from tickstory. I ran a few tests and I'm getting 99.9% modeling quality. Kind of tricky.
I'd like to experiment with MotiveWave, but I'm turned off by the price. The Strategy Tester feels slow in MT4, but it'll do for now.
I'd like to experiment with MotiveWave, but I'm turned off by the price. The Strategy Tester feels slow in MT4, but it'll do for now.
Členem od Sep 20, 2014
365 příspěvků
Jan 30, 2017 at 10:07
Členem od Sep 20, 2014
365 příspěvků
Oanda has several API's and at least some of them are system agnostic. Have you looked into the JAVA API ? It's the best developed one. O has the best trade sizes and it's the fastest.
All the other suggestions are a step or several backwards.
Why exactly isn't it working for you ?
All the other suggestions are a step or several backwards.
Why exactly isn't it working for you ?
forex_trader_395769
Členem od Jan 25, 2017
7 příspěvků
Jan 30, 2017 at 12:39
Členem od Jan 25, 2017
7 příspěvků
fxftw posted:
For now, I'm just experimenting with M15, M30, H1, and H4 data across a few pairs. I installed Mono on Wine and was able to get Tickstory on the mac-side to Launch MT4 through with the historical data from tickstory. I ran a few tests and I'm getting 99.9% modeling quality. Kind of tricky.
I'd like to experiment with MotiveWave, but I'm turned off by the price. The Strategy Tester feels slow in MT4, but it'll do for now.
Well I took a look at Oanda API again as it has been about 12 years since the last time I Looked and in their schedule A it looks that they have waived the Licensing fees... which is why I never tried because it cost money... for me MT4 was out because the unit size allowed did not allow small changes in my trade size, and with the FIFO and regulation changes and my small account balance I needed that perspective on the money management side.
Good luck with the 'autotrade route' if that's the direction you want to go... trading while I'm asleep scares the crap out of me , and I end up leaving the monitor on and not sleeping much if I see something that I want to trade but need to sleep before work...
but alas I do that often, greed, fear, or maybe its me just wanting more of the uncertainty and variety in my life
Členem od Jan 25, 2017
12 příspěvků
Jan 31, 2017 at 07:11
Členem od Jan 25, 2017
12 příspěvků
I've experimented with the Oanda live streaming API with Node.js (maybe a year ago) and their v20 python setup just a few days ago. This was where I started out before going down the MT4 rabbit hole. In a lot of ways, it feels like I'm reinventing the wheel when working directly through the Oanda API rather than something a bit more extendable and easy to backtest / experiment with like MT4. Perhaps once I have a strategy running live that I like I can port it over.
MT5 looks like where I'd like to be, maybe further down the road.
MT5 looks like where I'd like to be, maybe further down the road.
Členem od Sep 20, 2014
365 příspěvků
Jan 31, 2017 at 07:23
(Upravené Jan 31, 2017 at 07:35)
Členem od Sep 20, 2014
365 příspěvků
You're missing two very large issues.
1. Speed. With O you simply send an apposing order to close positions. Most systems will generate multiple trades for positions. So if you need to get out in a hurry on O it is one order, with MT you have to close every trade and wait for a response. The speed difference is massive. And for me, easy 500 trades in a TP. Takes you between 250 to 500 seconds on MT. On O's API it could be as little as 100 ms.
In MT5 this is not an issue.
2. Trade sizes. On MT you can only come up in increments of 1000. With the API it's 1, iow's I'm compounding 1000 times quicker than you are. And that is critical. Extremely important in your overall performance.
Those two factors alone makes the O API the place to be. Other brokers aren't really options.
The speed issue I can let slide, you can always stagger an exit, but the compounding you can't let slide. Over 10 or 20 years the difference is a few billion.
And by the way I use Mac, Linux, Windows...Java helps.
1. Speed. With O you simply send an apposing order to close positions. Most systems will generate multiple trades for positions. So if you need to get out in a hurry on O it is one order, with MT you have to close every trade and wait for a response. The speed difference is massive. And for me, easy 500 trades in a TP. Takes you between 250 to 500 seconds on MT. On O's API it could be as little as 100 ms.
In MT5 this is not an issue.
2. Trade sizes. On MT you can only come up in increments of 1000. With the API it's 1, iow's I'm compounding 1000 times quicker than you are. And that is critical. Extremely important in your overall performance.
Those two factors alone makes the O API the place to be. Other brokers aren't really options.
The speed issue I can let slide, you can always stagger an exit, but the compounding you can't let slide. Over 10 or 20 years the difference is a few billion.
And by the way I use Mac, Linux, Windows...Java helps.
Členem od Nov 14, 2015
325 příspěvků
Jan 31, 2017 at 10:55
(Upravené Jan 31, 2017 at 10:56)
Členem od Nov 14, 2015
325 příspěvků
With FIX you can get execution below 10ms to platforms like LMAX (average is 3.29ms). Oandas spread is terrible compare to ECN brokers. Etc Pepperstone charge you 7.53$ a lot (and there are cheaper brokers too), EURUSD spread at 0 now. Meanwhile Oanda is at 1.5 pip. Way more costly.
Členem od Jan 25, 2017
12 příspěvků
Jan 31, 2017 at 13:22
Členem od Jan 25, 2017
12 příspěvků
I suppose in the case of closing multiple orders, I could relay a message from MT4 with libcurl to hit the v20 server with a 'Close All' type message if i wanted to close a position, or hit it with the array to run through.
Right now, I rarely get more than 8 trades open at once across any given pair. *500?* This is a much different strategy than I've played with, and something I'll have to experiment with. Thanks for the tips!
Right now, I rarely get more than 8 trades open at once across any given pair. *500?* This is a much different strategy than I've played with, and something I'll have to experiment with. Thanks for the tips!
Členem od Jan 25, 2017
12 příspěvků
Feb 01, 2017 at 07:25
Členem od Jan 25, 2017
12 příspěvků
@stian Wow. A 0.0 spread? Man, a lot has changed since I was last in the forex game.
Členem od Sep 20, 2014
365 příspěvků
Feb 01, 2017 at 07:36
Členem od Sep 20, 2014
365 příspěvků
High volumes of trades happen in active portfolio management. I might have $9995 worth of USD, I want $10 000, to go add the extra $5 adds a trade, do that a few times a day you end up with volumes.
Then closing becomes a major issue.
Then closing becomes a major issue.
Členem od Feb 04, 2017
40 příspěvků
Feb 05, 2017 at 08:13
Členem od Feb 04, 2017
40 příspěvků
Running MT4 in Mac would be far better than using it into a Linux by Wine. My personal experience with 'Wine' is bad. I was unable to save profile with an EA! So, I had to do it over and over again.
Helping new traders
*Komerční použití a spam nebudou tolerovány a mohou vést ke zrušení účtu.
Tip: Zveřejněním adresy URL obrázku /služby YouTube se automaticky vloží do vašeho příspěvku!
Tip: Zadejte znak @, abyste automaticky vyplnili jméno uživatele, který se účastní této diskuse.