Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ninjatrader 7 works with wine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
davidbrooke
n00b
n00b


Joined: 03 Jan 2015
Posts: 66

PostPosted: Sun Jul 26, 2015 11:49 pm    Post subject: Ninjatrader 7 works with wine Reply with quote

I have just gotten Ninjatrader 7 working in linux using wine and winetricks. This is an important step since I want to be free of windows. The following will be a tutorial / documentation.

Programs used:
Gentoo amd64
Wine version 1.7.47
Winetricks version 20150706
Ninjatrader 7.0.1000.29 32 bit

Url's for reference
https://help.ubuntu.com/community/Wine
https://appdb.winehq.org/objectManager.php?sClass=version&iId=10166
http://ninjatrader.com/InstallationGuide
http://ninjatrader.com/ConnectionGuides/NinjaTrader-Continuum-Connection-Guide


1. Setup before Wine installation.
Add to /etc/portage/package.accept_keywords: (Gentoo amd64)
Code:
app-emulation/wine ~amd64
app-emulation/winetricks ~amd64


Add to /etc/portage/package.use:
Code:
app-emulation/wine staging abi_x86_32 -abi_x86_64
media-libs/harfbuzz icu


2. Install Wine and Winetricks:
Code:
sudo emerge -av wine winetricks


3. Wine config: There wasn't any setup other than the need to run Wine config before proceeding.
Code:
winecfg

or

Applications>Wine>Configure Wine

4. Install .Net 3.5sp1: This is where Winetricks get involved.
Execute the install script file for .Net series 2 - 3.5 (Don't restart during installation when asked....select restart later)
A. Manual way (will need to keep executing dotnet35 until completed):
Code:
winetricks dotnet35

or

B. Automated way (will fail if msxml3 file isn't downloaded first):
Code:
winetricks dotnet35sp1


5. Install Ninjatrader program:
Code:
cd ~/Download
wine setup.exe


6. Start Ninjatrader:
Code:
wine "c:/Program Files/NinjaTrader 7/bin/NinjaTrader.exe"


I will be testing the installation for the next two weeks for general trading use but not testing for strategies or backtesting. The current status:
Most everything seems to be working, charts, datafeeds (Ninjatrader continuum and Kinetic end of day), etc...
There are a few items that should be addressed:
1. Ninjatrader continuum does connect about 20% of the time. For now I just close the program and restart which has taken care of the issue.
2. Ninjatrader closes during the use the the session manager. I created about 10 entries for instrument session time and 2 - 3 times Ninjatrader closed.
3. Graphics could be better. I'm using a CI7-4790 with 4600HD and the colors aren't as good as they could be. The text isn't as sharp either. I'm not sure how to address this.
4. I restored a backup from a current windows setup and starting getting some random errors. I ended up re-installing wine, .Net 3.5sp1 and Ninjatrader which resolved the random errors.

Final thoughts:
With everything considered, I'm pleased but will try to see the improvements through. I will continue to use the Gentoo / Ninjatrader setup as long as it is viable.


Last edited by davidbrooke on Mon Jul 27, 2015 4:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
davidbrooke
n00b
n00b


Joined: 03 Jan 2015
Posts: 66

PostPosted: Mon Jul 27, 2015 4:31 pm    Post subject: Reply with quote

I have posted a few photos over on the Ninjatrader website:

http://ninjatrader.com/support/forum/showpost.php?p=420587&postcount=2
Back to top
View user's profile Send private message
davidbrooke
n00b
n00b


Joined: 03 Jan 2015
Posts: 66

PostPosted: Mon Jul 27, 2015 6:57 pm    Post subject: Reply with quote

Update
I wanted to list some more issues:
1. Icons at the top of the charts window are buggy. When I select an icon:
A. The pulldown window may or may not pulldown.
B. If there is a pulldown window, you can't select any item. The pulldown window vanishes randomly.
There are two other ways to get around this issue: use the keyboard ie ctrl-Q or right click on the chart and access the functions via that menu.

2. Freezing. I was changing the properties of a horizontal line and when I tried to change the width, I couldn't. The width field was inaccessible. I clicked on another window (control center) and clicked the horizontal line properties window again and then was able to change the width.

3. NT closing. I ran into 3 different scenarios where NT closed after 20 hours of straight usage:
A. I had just closed an order via the DOM and selected the control center from the task bar....NT closed.
B. During the startup process...control center opened, the charts opened and during the process of the datafeed opening (Continuum) ....NT closed. This was the only time in which the startup process occurred in this order. The usual startup process order was control center, datafeed then charts, without any NT closing issues.
C. While scrolling through the control center>log via the mouse scroll wheel....NT closed.
All three of the "NT closings" happened within minutes of each other.

I decided to start over with a clean install of Gentoo stable, wine, winetricks, .Net 3.5sp1 and NT7. The previous Gentoo install was for desktop / media usage which may have had some conflicting software. Going through the Gentoo installation process will help rule out any hardware issues, it is a good stress test.
Back to top
View user's profile Send private message
davidbrooke
n00b
n00b


Joined: 03 Jan 2015
Posts: 66

PostPosted: Wed Jul 29, 2015 2:27 pm    Post subject: Reply with quote

Update
I finished the new installs:
Gentoo
Wine
NT7

I wanted to try the same conditions that previously caused a failure (NT closing). Only one of the three caused a failure, which was the viewing of the log from the control center. This time NT didn't just close, the mouse lost functionality except for basic windows management ie moving a window. I couldn't select a field, any indicator... nothing. Then after a short period of time maybe 3 - 5 minutes a window with an error message popped up that NT had to close due to some error.

At this point I'm stopping any further testing with NT7 and Wine. The random and consistent issues make the the usability not existent.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum