Login Page - Create Account

Support Board


Date/Time: Thu, 10 Oct 2024 01:17:06 +0000



[User Discussion] - Linux

View Count: 80033

[2022-11-29 21:13:29]
Tony - Posts: 511
I didn't even realize that could be possible! Thanks so much for your detailed explanation emmanuel!! I'll definitely check it out.
[2022-12-02 17:45:16]
User42554 - Posts: 16
Hi,

anyone who is running Pricesquawk under Linux? It doesn't works for me, tested on Crossover Linux.
[2022-12-03 09:43:50]
User921987 - Posts: 234
I can recommend Bottles (https://usebottles.com/ configured to "Gaming Environment"). In my case on Debian and default Wine setup the cpu usage was 25-30% but by the Bottles it's around 5-15%. I don't know is it just me but give it a try.
Date Time Of Last Edit: 2022-12-03 09:48:08
[2023-01-14 20:55:19]
ertrader - Posts: 670
A few updates: In the latest SC and Wine updates today, order allocation seems to be working when adding more than one account. I've not had a hard SC freeze in testing today yet. I will keep testing throughout the week and report back.

Latest configuration:
SierraChart Version 2466 64 bit (2 instances)
wine-8.0-rc4
Mint Linux 21.1/Cinnamon desktop
Kernel 5.15.0-58 generic
AMD Ryzen 7 3800X
GeForce GTX 1660 Nvidia/6 GB GDDR5/Driver 470.161.03/OpenGL
Dual Monitors 1920X1080 60 Hz for both monitors
Total System RAM: 16 Gig
Memory usage: <700 Meg each instance running 2 instances. I added some more memory intensive studies.
CPU Utilization: <5% per SC instance
102 Charts, 4 instruments (ES, YM, NQ, RTY) 51 charts per instance
Denali data-feed with MBO data
Teton Order Routing with Stage5/Advantage
Rithmic for trader evaluations and PA account
RealVNC for remote access
Updated 1/14/23

PS: FYI: While the order allocation issue has been happening, I've been using a workaround. I set up a samba share in Linux, connected a network drive to the samba share in Windows, pulled up the relevant charts from Windows network drive, updated the allocation accounts, saved. Then closed charts in Windows and pulled up the charts in Wine/Linux.
Date Time Of Last Edit: 2023-01-14 20:56:47
[2023-01-14 21:08:08]
Tony - Posts: 511
Thanks so much ertrader! So, it went from 48 charts to 102 charts?!! Was that just for testing purpose or you actually need those many? :D

Also, I have you noticed any significant change between Wine 8 and Wine 7? I am still using Wine 7, and not sure if I should upgrade, on the fence.
[2023-01-14 22:17:39]
ertrader - Posts: 670
I added an additional instance and 3 charts which effectively duplicated the chart setup. There is a way to reduce this and use 1 instance, however, I have to work out some of my trade automation menu buttons. It's not difficult, just need to take some time and do it.

wine-8.0-rc4 came out today for my platform and all of the release candidates have been solid. That has been the biggest difference for me, solid and now the allocation issue may be resolved. One of the Wine 7 development versions used more memory than usual but I'm not sure which it was. The last Wine 7 development version was good..now they focus on bug fixes only for Wine 8.

Wine 8 went into code freeze at rc1 (release candidate 1) a few weeks ago and have been addressing bugs only (no new features) with the ongoing release candidates. Also, I do not know if it was bug fixes in Wine 8 rc4 or the new SC release which possibly fixed the order allocation issue. SC had spent some time to resolve so it could be a combination of both.

There is minimal risk to updating to Wine 8-0-rc4 but if things are working for you, it may be more straightforward to wait till the final Wine 8 release in the next 2-4 weeks.

https://www.winehq.org/announce/8.0-rc4
Date Time Of Last Edit: 2023-01-15 16:21:44
[2023-01-20 14:29:50]
ertrader - Posts: 670
In testing this week, I am still seeing the order allocation freezing issue unfortunately.
[2023-01-22 15:12:37]
User921987 - Posts: 234
I am using Bottles for Wine applications. I am getting 50% faster SierraChart quote downloads with it (stock settings, Caffe). There is bunch of tweaking parameters available + 4 different wine versions to choose from:
- Caffe
- Lutris
- Proton-GE
- Vaniglia

Read more at
https://www.makeuseof.com/run-windows-apps-on-linux-with-bottles/
https://docs.usebottles.com/

--- My setup:

Dist: Debian GNU/Linux 11 (bullseye) x86_64
Kernel: 6.0.0-0.deb11.6-amd64
Packages: 1754 (dpkg), 13 (flatpak)
Shell: bash 5.1.4
DE: Xfce 4.16
WM: Xfwm4
Theme: Adwaita [GTK3]
Icons: Adwaita [GTK3]
Terminal: xfce4-terminal
Terminal Font: Monospace 12

CPU: AMD Ryzen 5 5600 (12) @ 3.500GHz
GPU: NVIDIA GeForce GTX 960
Displays: HP LA2306, HP LA2306, HP LA2306
Resolutions: 1920x1080, 1920x1080, 1920x1080
OpenGL renderer string: NVIDIA GeForce GTX 960/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 525.60.13

Memory: 32G RAM
ram bank: #1
product: KF3600C16D4/16GX
vendor: Kingston
size: 16GiB
clock: 3600MHz (0.3ns)
ram bank: #3
product: KF3600C16D4/16GX
vendor: Kingston
size: 16GiB
clock: 3600MHz (0.3ns)

Mobo Bios Vendor: American Megatrends Inc. (American Megatrends, www.ami.com)
Version: 2806
Mobo Name: ASUS TUF GAMING B550-PLUS
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

SSD: #0
Model: WD_BLACK SN770 500GB
HDD: #0
Model Number: WDC WD7500BPVT-60HXZT3 750GB
HDD: #1
Model Number: WDC WD5000AAKX-001CA0 500GB

Bottles 50.2
Wine soda-7.0-8 (Runner)
SierraChart 2466
Date Time Of Last Edit: 2023-01-22 18:27:24
[2023-03-21 00:55:52]
ertrader - Posts: 670
A few updates: In the latest SC V2484 and Wine 8.4, order allocation is working with than one account. For me, it's worked since Wine 8.3 was released a couple weeks ago. I will keep testing.

Latest configuration:
SierraChart Version 2484 64 bit (2 instances)
wine-8.4
Mint Linux 21.1/Cinnamon desktop
Kernel 5.15.0-67 generic
AMD Ryzen 7 3800X
GeForce GTX 1660 Nvidia/6 GB GDDR5/Driver 470.161.03/OpenGL
Dual Monitors 1920X1080 60 Hz for both monitors
Total System RAM: 16 Gig
Memory usage: <900 Meg each instance running 2 instances. I added more days of data to a couple studies
CPU Utilization: <5% per SC instance
102 Charts, 4 instruments (ES, YM, NQ, RTY) 51 charts per instance
Denali data-feed with MBO data
Teton Order Routing with Stage5/Advantage
Rithmic for trader evaluations and PA accounts
RealVNC for remote access
Updated 3/20/23
[2023-03-30 18:52:39]
ertrader - Posts: 670
I've tested at least 20-30 times with the latest version of Wine 8.4 and have not had one freezing issue regarding order allocation adding multiple accounts.
Date Time Of Last Edit: 2023-03-30 18:54:58
[2023-05-05 13:04:23]
ertrader - Posts: 670
A few updates: In the latest SC V2497 and Wine 8.7 Development, order allocation continues to work without issues after 100+ tests. I'm considering this a closed issue for now.

Latest configuration:
SierraChart Version 2497 64 bit (2 instances)
wine-8.7 Development
Mint Linux 21.1/Cinnamon desktop
Kernel 5.15.0-71 generic
AMD Ryzen 7 3800X
GeForce GTX 1660 Nvidia/6 GB GDDR5/Driver 470.161.03/OpenGL
Dual Monitors 1920X1080 60 Hz for both monitors
Total System RAM: 16 Gig
Memory usage: <1.1 gig each instance running 2 instances. I added more days of data to a couple studies and additional market depth
CPU Utilization: <4% per SC instance
102 Charts, 4 instruments (ES, YM, NQ, RTY) 51 charts per instance
Denali data-feed with MBO data
Teton Order Routing with Stage5/Advantage
Rithmic for trader evaluations and PA accounts
RealVNC for remote access
Updated 5/5/23

Interesting. I started this thread a few years ago with what the below link references.
Microsoft Windows Is Truly Garbage. An Abomination. Software That is Woke and Insane
Date Time Of Last Edit: 2023-05-05 18:51:14
[2023-05-05 13:26:07]
virtualcointrading - Posts: 39
Microsoft Windows Is Truly Garbage. An Abomination. Software That is Woke and Insane

Sierra Chart on Linux let's gooo!

@ertrader Nix has some sort of "recipes" that can be shared to replicate and OS installation and/or configuration with Sierra Chart?
[2023-05-05 18:23:26]
ertrader - Posts: 670
If Nix has some configurations that are working well.. that is good to hear!

For my installation, I have kept "stock" Mint Linux and Wine configurations. Over the last 6 years of using Linux, issues have come up but are resolved. I have worked with alternate Wine offerings (Crossover and Proton GE Eggroll..both good offerings) but ultimately everything worked in the "stock" versions of Mint Linux/Wine with SC.

A Linux version of SC is something that has been discussed for many years. Someday hopefully we will see an SC/Linux version!

In addition to X86 Linux, I can even imagine Linux ARM or Linux Risk-V versions too...wow! OK....dreaming now. :)
Date Time Of Last Edit: 2023-05-05 18:56:51
[2023-05-06 02:39:58]
Tony - Posts: 511
Does Wine work with ARM processors?
[2023-05-06 22:35:26]
ertrader - Posts: 670
Here is what I found on WineHQ. It looks like there might be a way, as long as the binaries are ARM compatible/compiled. It is more than I am able to get working but for those willing to experiment, it may be something to try.

https://wiki.winehq.org/ARM
Date Time Of Last Edit: 2023-05-06 22:45:25
[2023-06-04 22:57:37]
ivory - Posts: 94
Does Wine work with ARM processors?

I've seen some developers run Steam and various games with wine on Apple's M1 and other ARM platforms. This was done with either FEX or Box32/64

https://github.com/ptitSeb/box64
https://github.com/FEX-Emu/FEX
[2023-06-14 16:41:21]
User42554 - Posts: 16
Hi all,

any idea how to Exit and Save SC in Linux terminal? Do it on dozens of instances makes me crazy.
Thanks!
[2023-06-15 02:42:17]
Tony - Posts: 511
@User42554,

I don't think you can exit SC in terminal, what you could do
though is kill Wine in terminal, but I usually just close the
SC window, any particular reasons you want to do it in terminal?

Not sure what you meant by "Save SC"
[2023-06-15 15:48:07]
User42554 - Posts: 16
@Tony

Kill doesn't solve issue with Exit > Save all (Save SC), when you use kill, all unsaved changes are gone!

"SC window, any particular reasons you want to do it in terminal?"
Because of dozens of instances.

Started them from terminal is easy.
[2023-06-17 16:13:12]
ertrader - Posts: 670
One option you could try is to use one of the GUI automation tools like AutoIt, Winbatch, AutoHotkey etc. under Wine. I used AutoIt a few years ago and it worked well and you can execute from the command line, hot keys and other ways.

For native Linux GUI automation tools, below is a link:
https://www.makeuseof.com/tag/linux-automation-apps/
Date Time Of Last Edit: 2023-06-17 16:23:31
[2023-06-18 06:10:40]
User726340 - Posts: 30
you can automate exit by enabling UDP api:
UDP Interface: Exit Program

sample python snippet


import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

msg = "EXIT"
sock.sendto(msg.encode(), ("localhost", 22904))
sock.close()

[2023-06-19 15:16:35]
User42554 - Posts: 16
@User726340

Thank you it is working great, but confirmation of EXIT still remaining.

@ertrader

Let me try, thanks!
[2023-06-30 17:49:58]
ertrader - Posts: 670
A few updates, no issues to report. Everything working well.

Latest configuration:
SierraChart Version 2517 64 bit (2 instances)
wine-8.11 Development
Mint Linux 21.1/Cinnamon desktop
Kernel 5.15.0-76 generic
AMD Ryzen 7 3800X
GeForce GTX 1660 Nvidia/6 GB GDDR5/Driver 470.182.03/OpenGL
Dual Monitors 1920X1080 60 Hz for both monitors
Total System RAM: 16 Gig
Memory usage: <1.1 gig each instance running 2 instances. I added more days of data to a couple studies and additional market depth
CPU Utilization: <4% per SC instance
102 Charts, 4 instruments (ES, YM, NQ, RTY) 51 charts per instance
Denali data-feed with MBO data
Teton Order Routing with Stage5/Advantage
Rithmic for trader evaluations and PA accounts
RealVNC for remote access
Updated 6/30/23

The order allocation issue has been addressed both within Wine and SC v2516.
https://www.sierrachart.com/index.php?page=doc/Whats_New.php
Date Time Of Last Edit: 2023-06-30 17:51:06
[2023-06-30 18:07:58]
Tony - Posts: 511
Thanks ertrader!

Do we have any privacy concerns using RealVNC since all the data went a round trip via their servers? I subscribed it for a year and just canceled it.
[2023-06-30 21:05:43]
ertrader - Posts: 670
There have been a few security issues over the last couple years mostly on Windows, however, they did get resolved.

https://help.realvnc.com/hc/en-us/articles/360002478311-Are-there-any-known-security-vulnerabilities-#internally-identified-no-remote-threat-local-access-required--0-2

Also, they have been audited by third parties to be quite good.
https://www.businesswire.com/news/home/20220609005211/en/RealVNC-Becomes-First-and-Only-Remote-Access-Solution-to-Complete-White-Box-Audit-to-Validate-Security
Date Time Of Last Edit: 2023-06-30 21:06:30
[2023-07-09 12:02:07]
VLiviu - Posts: 223
Mint here :)
imageSC_mint.png / V - Attached On 2023-07-09 12:02:02 UTC - Size: 512.72 KB - 210 views

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account