Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Run Ninja Trader on all the platforms - Linux or Mac OS X
Collapse
X
-
Hi all!
Just figured I would chime in here and let you know I WAS able to get NT 7 running under Linux (Wine specifically, not under a virtualbox VM). I've attached a screen shot, and will try to post a writeup with instructions later tonight or tomorrow. There is a little bit of a tap dance that you need to do. Its still a little hackish, and I have not tested every aspect, but it does seem to be working.
- Nathan
Comment
-
Originally posted by NathanH View PostHi all!
Just figured I would chime in here and let you know I WAS able to get NT 7 running under Linux (Wine specifically, not under a virtualbox VM). I've attached a screen shot, and will try to post a writeup with instructions later tonight or tomorrow. There is a little bit of a tap dance that you need to do. Its still a little hackish, and I have not tested every aspect, but it does seem to be working.
- Nathan
waiting for your instruction.
Comment
-
While it would be nice to have a NinjaTrader running Nativity under Linux, with it being based on .Net, this is not likely to happen. .Net is probably never going to be officially ported over, and baring that it would require a complete rewrite. So, if we want to run under Linux we have to jump through a few hoops.
Here how I was able to set up NinjaTrader to run in Linux with Wine. I ran into two main challenges that took a few extra steps to configure. One is that NinjaTrader did not install with Mono, and needed the full .Net runtime installed. Installing the .Net runtime did not work correctly on my system because Wine does not fully support x86, and a few other wired things that a utility call winetricks help address. If you have an existing wine environment setup you may will need to replace it (or create an additional one) x86.
You can save a little time by downloading the two files ahead of time. If you don't part of the install will prompt you to download them and save them in a specific location, then restart the script. It will pick up where it left off.
Download netframework3.exe and put it in ~/.cache/winetricks/dotnet30/
http://download.cnet.com/Microsoft-XML-Parser-MSXML-3-0-Service-Pack-7-SP7/3000-7241_4-10731613.htmlDownload Microsoft XML Parser (MSXML) 3.0 Service Pack 7 (SP7) for Windows to . Microsoft XML Parser (MSXML) 3.0 Service Pack 7 (SP7) has had 6 updates.
Download msxml3.msi and put it in ~/.cache/winetricks/msxml3
For reference I'm running Fedora 18, but it should work on other distributions.
- Install Wine in your environment
- sudo yum wine -OR- sudo apt-get wine
- Any dependencies should be automatically installed
- sudo yum wine -OR- sudo apt-get wine
- Install cabextract
- sudo yum cabextract -OR- sudo apt-get cabextract
- Install winetricks (https://code.google.com/p/winetricks/wiki/Installing)
- wget http://winetricks.org/winetricks
- sudo cp wintricks /usr/bin
- wudo chmod +x /usr/bin/winetricks
- Initialize Wine
- WINEARCH=win32 wincfg
- Do not 'sudo' this command! It will create the .wine directory under the root directory (not wanted) and give anything running in wine full access to your system!
- Set 'Windows Version' to Windows 7 (this will change automatically a few times through the process, leave it as it ends up)
- WINEARCH=win32 wincfg
- Run winetricks
- Select 'Select the default wineprefix' and click 'Ok'
- Select 'Install a Windows DLL or component'
- Select 'dotnet45 – MS .NET 4.5 (Microsoft 2012) and click 'Ok'
- You may be able to select dotnet35, but I did not test that.
- There will be a LOT of prompts that come up and statements in the command window that look like errors. Despite these, the process still completed and NinjaTrader functioned.
- If you did not pre-download the files and need to restart the script, start at step 5.
- Once you have .Net installed, download the NinjaTrader installer
- run wine setup.exe and follow the setup process as normal.
- This will create shortcuts for you (.lnk), but for me these did not function. You can start NinjaTrader by using the following command.
- Wine ~/.wine/drive_c/Program Files/NinjaTrader 7/bin/NinjaTrader.exe
Let me know how things work for you!
Comment
- Install Wine in your environment
-
Hello,
Please contact me at Support AT NinjaTrader DOT com. In your message please include a link to this forum thread and a copy of today's trace file.
You will find the file in the Documents > NinjaTrader 7 > Trace folder. I will need a copy of the 'trace.20140429.txt' file.KyleNinjaTrader Customer Service
Comment
-
Kyle were you talking to me? I wasn't discussing a crash of NT, I'm still trying to install it on Linux, what a headache.
I think this is too complicated for me to install, I'll need to find another system to use, I can't even find ~/.cache/winetricks/ to place msxml3 - I can see winetricks but I can't find where to put that file.
Oh well, I really like NT, but I have no choice.... have to see if I can find another piece of software that works on Linux with IB.
Thanks anyway
Comment
-
Originally posted by canuck View PostKyle were you talking to me? I wasn't discussing a crash of NT, I'm still trying to install it on Linux, what a headache.
I think this is too complicated for me to install, I'll need to find another system to use, I can't even find ~/.cache/winetricks/ to place msxml3 - I can see winetricks but I can't find where to put that file.
Oh well, I really like NT, but I have no choice.... have to see if I can find another piece of software that works on Linux with IB.
Thanks anyway
You don't have to download those files necessarily as winetricks would do it automatically or prompt you for it. Sad thing is it still fails at Dotnet 3.5 SP1 assemblies.
If this company has any sense it would gauge its efforts towards a Java based platform.
Comment
-
Wine has gone a long way for the past year.
On Wine 1.7 with dotnet3.5 Ninja starts and runs very smootly, charts, indicators, instruments - all works just fine. On my PC (realtively old) it loads faster in Fedora 21 than in Windows 8.1.
Only thing not working is it doesn't want to connect to any server, even for news.
After installing isdn4k and xslt libs it connects to Kinetick free end-of-day. Other connections still don't work.
It would be nice if someone from Ninja says what protocols and versions different connections use so we can put them in our Linux.
I'm fairly confident that NinjaTrader on Linux is just a few libs and dlls away, the Wine guys have done the hard part already.
Comment
-
Originally posted by NathanH View PostWhile it would be nice to have a NinjaTrader running Nativity under Linux, with it being based on .Net, this is not likely to happen. .Net is probably never going to be officially ported over, and baring that it would require a complete rewrite. So, if we want to run under Linux we have to jump through a few hoops.
I created a new thread asking specifically for Linux support now that the circumstances have changed:
Comment
-
I too am a LINUX user with a MAC only to trade. The platform is so superior it is night and day. So include my vote for LINUXcompatible Ninja.
certschief
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by AdamDJ8, Today, 09:18 PM
|
0 responses
1 view
0 likes
|
Last Post
by AdamDJ8
Today, 09:18 PM
|
||
Started by knowmad, Today, 03:52 AM
|
2 responses
26 views
0 likes
|
Last Post
by knowmad
Today, 09:03 PM
|
||
Started by ETFVoyageur, Today, 07:05 PM
|
0 responses
7 views
0 likes
|
Last Post
by ETFVoyageur
Today, 07:05 PM
|
||
Started by Orion815, 05-02-2024, 08:39 AM
|
2 responses
18 views
0 likes
|
Last Post
by Orion815
Today, 06:24 PM
|
||
Started by suroot, 02-25-2017, 04:43 AM
|
11 responses
2,552 views
0 likes
|
Last Post
by Zilvercat
Today, 05:36 PM
|
Comment