NexusFi: Find Your Edge


Home Menu

 





NinjaTrader 7 under Wine


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one kypa with 12 posts (8 thanks)
    2. looks_two Big Mike with 11 posts (5 thanks)
    3. looks_3 SilverFut with 7 posts (3 thanks)
    4. looks_4 sam028 with 5 posts (7 thanks)
      Best Posters
    1. looks_one rleplae with 3 thanks per post
    2. looks_two sam028 with 1.4 thanks per post
    3. looks_3 kypa with 0.7 thanks per post
    4. looks_4 Big Mike with 0.5 thanks per post
    1. trending_up 35,277 views
    2. thumb_up 35 thanks given
    3. group 17 followers
    1. forum 60 posts
    2. attach_file 4 attachments




 
Search this Thread

NinjaTrader 7 under Wine

  #31 (permalink)
kypa
Bulgaria
 
Posts: 16 since Oct 2013
Thanks Given: 17
Thanks Received: 8

Anybody got this beast running?
I'm trying with Kubuntu 14,10 and Wine 1,7,38 (it's a beta) with Winetricks
I installed .net 3,5 and .net 3,5 sp1 (in this particular order, the instalators get the previous .net packs they need), visual c++ libraries, VB 6 sp6 runtime, jet40, xml parsers 3, 4 and 6, rich edit controlls and wininet.
Ninja 7 installs and starts just fine, but when I try to connect to get quotes it gives errors 12017 and 12152 (MS http connected) and either a crash or just not connecting.
Platform license is free demo, quotes are free demo FXCM and free Kinetick end-of-day.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Futures True Range Report
The Elite Circle
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #32 (permalink)
kypa
Bulgaria
 
Posts: 16 since Oct 2013
Thanks Given: 17
Thanks Received: 8

I installed internet explorer 8 and till it was running ninja connected to the FXCM server and got the instrument list. It couldn't build a chart, but it is weekend now and I think ninja couldn't work in weekends (I remember seeing a similar message some time ago when I started ninja once in the weekend, but it was a long time ago and I don't watch charts on weekends so I'm probably wrong). It didn't show any message this time and couldn't repeat the connection also.
I think the problem is somewhere in the wine dll-s responsible for the secure connection, parsing and crypting the communication with the quote server, but I can't figure out exactly what to do to fix em.
The .exe setup downloads and starts the actual msi installer without any problem.
It is also possible I have installed the win stuff in wrong order and wine is using an older version of some library.

Reply With Quote
  #33 (permalink)
kypa
Bulgaria
 
Posts: 16 since Oct 2013
Thanks Given: 17
Thanks Received: 8


What is also probably important - it's a 64bit linux and a 32bit wine prefix configuration, there is mono 4.5.6 package included, but the .net installers put a .net package in its place.
Without installing wininet ninja just crashes immediatly on the first try to connect, with wininet it gives a message in the log that it is connecting to ninja servers and later (sometimes at least) returns error code and 'not connected' response without crashing.
The setup.exe connects both with and without wininet.

Reply With Quote
  #34 (permalink)
kypa
Bulgaria
 
Posts: 16 since Oct 2013
Thanks Given: 17
Thanks Received: 8

Apparently Kubuntu is still one of the not so lucky to not want to instal msi in wine1.6.
I tried some other stuff - first installed wine1.7, then put in dotnet, visual c++ and the other things (see post #31), then ninja, then installed wine1.6. It removed wine1.7 automatically.
Ninja gave an error upon starting that it can't connect to its server to verify the license.
After that it actually started, but some of the connection options were missing - fxcm included.
Kinetick connection was there and actually worked - all the instruments, some demo sum in the account, I could build a chart with indicators, tools etc. etc. - I couldn't see anything not working.

I still think it is something in the security protocols and comunication parsing, I installed winbind and I checked samba, but it's still not happening

Reply With Quote
  #35 (permalink)
 neilsomi 
Taylorsville
 
Experience: None
Platform: NinjaTrader
Trading: I'm a newbie I don't know yet but futures seem good
Posts: 3 since Mar 2012
Thanks Given: 17
Thanks Received: 6

Not sure if its appropriate to copy and past the instructions, but someone at gentoo forums claims to have it working. He's posted his instructions/tutorial and his results here :
https://forums.gentoo.org/viewtopic-t-1024638.html

It would be interesting to know what the performance is compared to a vm installation.

Only issues #8 and #13 from the bug list are still open. What do you guys think of his results? I haven't moved over to linux yet so if anyone tries this thank you.

~M

Reply With Quote
Thanked by:
  #36 (permalink)
kypa
Bulgaria
 
Posts: 16 since Oct 2013
Thanks Given: 17
Thanks Received: 8


neilsomi View Post
Not sure if its appropriate to copy and past the instructions, but someone at gentoo forums claims to have it working. He's posted his instructions/tutorial and his results here :
https://forums.gentoo.org/viewtopic-t-1024638.html

It would be interesting to know what the performance is compared to a vm installation.

Only issues #8 and #13 from the bug list are still open. What do you guys think of his results? I haven't moved over to linux yet so if anyone tries this thank you.

~M

All works like a charm now. 13 happens in Windows as well, not really Linux issue.
I can confirm FXCM demo connecting in Wine 1.7.49 without any issues.
Davidbrooke has a thread in ninjatrader forums also, same nick.

Summary of what's needed:
1. Wine - as new as possible;
2. Winetricks - as new as possible;
3. If 64bit system - 32bit Wine prefix and 32bit versions of libxslt and isdn4k-utils;
4. .Net environments up to 3.5 sp1 - command "sh winetricks -q dotnet35sp1" should install all necessary;
5. Some additional dlls - command "sh winetricks -q gdiplus mdac27 mdac28 msftedit msxml4 msxml6 riched20 riched30 vb6run vcrun2003 vcrun2005 vcrun2008 vcrun2010 vcrun2012" should install all necessary;

Notes:
1. cabextract must be installed;
2. msxml3, mdac27 and dotnet30 must be downloaded manually before running the winetricks commands

Reply With Quote
Thanked by:
  #37 (permalink)
kypa
Bulgaria
 
Posts: 16 since Oct 2013
Thanks Given: 17
Thanks Received: 8

Since Wine version 1.7.51 (probably 1.7.49 or even earlier) 32-bit libxslt and isdn4k-utils (for 64-bit Linux) are not needed anymore.
The issue "Failed to retrieve processor information to build machine ID: 'ProcessorNameString' not found" is also fixed in Wine 1.7.51.

Wine guys the best!!

Reply With Quote
Thanked by:
  #38 (permalink)
 swinger 
Raleigh NC/USA
 
Experience: Beginner
Platform: NinjaTrader
Trading: stocks
Posts: 33 since Oct 2014
Thanks Given: 212
Thanks Received: 16


kypa View Post
Since Wine version 1.7.51 (probably 1.7.49 or even earlier) 32-bit libxslt and isdn4k-utils (for 64-bit Linux) are not needed anymore.
The issue "Failed to retrieve processor information to build machine ID: 'ProcessorNameString' not found" is also fixed in Wine 1.7.51.

Wine guys the best!!

Ninja is still working fine on Wine?

I was thinking of running Ninja in a virtual machine, but if it works great on Wine, that's even better (i.e., faster and more responsive).

Reply With Quote
Thanked by:
  #39 (permalink)
 Azrael 
Jurong Singapore
 
Experience: Beginner
Platform: NinjaTrader
Broker: Optimus Futures/Rithmic
Trading: TF
Posts: 72 since Jul 2012
Thanks Given: 39
Thanks Received: 9


swinger View Post
Ninja is still working fine on Wine?

I was thinking of running Ninja in a virtual machine, but if it works great on Wine, that's even better (i.e., faster and more responsive).

I have never tried but I'm running it now on VirtualBox though. Less configuration to do.

Reply With Quote
Thanked by:
  #40 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863



Azrael View Post
I have never tried but I'm running it now on VirtualBox though. Less configuration to do.

Virutalbox works good, I had NinjaTrader running with live trades on my box and I had 3 instances running in virtual box for testing. It all runs smoothly together without a problem, very stable and fast.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on July 4, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts