Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 06:13:53 +0000



Bug in Order Allocation

View Count: 368

[2023-05-09 14:08:46]
Nicolas Hervé - Posts: 14
Hi SierraChart Developers,

I'm trying to use the Order Allocation feature.
It works fine with one single allocated trade account, but SierraChart freeze whenever I try to add a second account to the list.
I'm using sierrachart version 2497.
I had it work in the past with an early version of the feature (though I had to close setting window between each new added account in the list), but now it doesn't work at all.

I know this might not be your priority because the feature has been developed in response to user requests, but I hope it is easy to fix.
[2023-05-09 16:16:21]
John - SC Support - Posts: 31131
We are not able to reproduce this. At what point, exactly, are you having the system freeze?

What kind of accounts are you adding (simulation Mode, Live accounts, or Simulated Futures Trading Accounts)?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-05-09 18:02:11]
Nicolas Hervé - Posts: 14
At this time, I'm using Trading Evaluator Accounts that I just set up.
I just tried with 3 simulation accounts (on top of "SC Data - All Services") and got the same issue, it even crashed.

The freeze or crash occures after performing the following sequence from blank new Chartbook.
I have before enabled extra sim accounts in Trade -> General Trade Settings -> Number of Simulation Accounts set to 3
And I have selected simulation mode in the Trade Menu

1. File -> Open Trading Dom (I choosed ESM23-CME)
2. I opened the associated Trade Window (Trade -> Open Trade Window for Chart) Sim 1 is selected
3. In the M menu, go to Settings -> Order Allocation to Trade Account
4. In the Available Accounts (List) : choose "Sim2", then click on "[Add]" text button (it shall appears in the Allocation Accouts (list)

Let check it works with a single account in the list:
set "Order Allocation to Trade Accounts Enable" to yes, then click "Apply All" and "OK"

5. In the DOM place a limit order (far away from current price).
As this is is brand new chartbook Confimation popup appears and it shows: Additional Accounts: Sim2 Qty: 1
Confirm and change account in Trade Window from Sim1 to Sim2: the order is here.
Also check in Trade -> Trade Orders Window.
Taking order at market also appears in Sim2 and in Trade -> Trade Orders Positions it does not appears with simulation account (this shall be expected), it appears when using Trading Evaluator.

6. Adding second Allocation to Trade Account, repeating step 3 and 4 choosing "Sim3" reveals the bug.
i.e.: form sim1 Account, in the M-menue, go to Settings -> Order Allocation to Trade Account, then in "Available Accounts (List) choose "Sim3", then click on "[Add]" text button.

Repeating the steps adding directly from 4 the second account, does not work either.

I get it work one time accidently :-) with 2 allocated sim account, by playing with the "A" text button before the "[Add]" text button, or doing things in a different sequence, but now I'm not able to repeat the workarround.
[2023-05-10 06:34:01]
Sierra_Chart Engineering - Posts: 14092
You are not using Windows but you are using Wine on Linux. The issue you have is a known problem when using Wine. We have looked at it extensively and we cannot identify any problem in Sierra Chart. We even implemented a workaround for what we think the problem is within Wine but that did not work.

There is nothing more we can do at this time.

This issue does not occur when using Windows.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-05-10 06:34:58
[2023-05-10 07:20:42]
Nicolas Hervé - Posts: 14
This is correct, and sierra chart works awesomely in wine so far. I understand you shall not provide support for OS related issue. I'll try on windows (in virtualbox) and might be able to reuse save chartbook in wine afterward.
Is there a list of known issues with wine accessible to users?


Regards
[2023-05-10 08:19:33]
Sierra_Chart Engineering - Posts: 14092
No we do not maintain a known list of issues for Wine.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-05-10 12:22:16]
ertrader - Posts: 644
I've had this issue on prior Wine versions, however, for the latest Wine development versions, it has been resolved for me. This is the only recent issue I am aware of.

Linux
Date Time Of Last Edit: 2023-05-10 12:22:52
[2023-05-10 13:22:50]
Sierra_Chart Engineering - Posts: 14092
Really it has been resolved? Are you certain. Maybe it is just not become apparent yet in a newer Wine release due to the nature of the problem.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-05-10 13:23:09
[2023-05-10 13:34:18]
Nicolas Hervé - Posts: 14
Is this another bug with wine : how do I delete sub account in trading evaluator after I delete main account.
I had 3 sub accounts in the list but only one appears and it is not possible to delete it.
Only workaround I see is delete (restore from older) related .config file.
[2023-05-10 13:37:52]
Nicolas Hervé - Posts: 14
@ertrader:
Which wine version do you use ?
I'm with wine HQ wine-stable (latest debian package).
Are you using wine-staging ?
[2023-05-10 14:04:13]
ertrader - Posts: 644
wine-8.7 Development

As best I can tell, it has been working for me. The allocation issue use to happen 100% of the time. I did submit a bug report to WineHQ, however, I did not get a response but it did start working after a few releases (approximately at wine 8.4 development)
Date Time Of Last Edit: 2023-05-10 14:11:38
[2023-05-10 14:05:44]
Sierra_Chart Engineering - Posts: 14092
You are not able to remove the Trade Account from the list, that the chart the Order Allocation to Trade Accounts settings are for, is set to:
I had 3 sub accounts in the list but only one appears and it is not possible to delete it.

Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-05-10 14:06:07
[2023-05-10 14:09:58]
ertrader - Posts: 644
Here is the bug report to Wine. I have tested 100+ times and again just now with no crashing.
https://bugs.winehq.org/show_bug.cgi?id=53907
Date Time Of Last Edit: 2023-05-10 14:16:28
[2023-05-10 17:43:20]
Sierra_Chart Engineering - Posts: 14092
That is very good! It only proves, that there was really nothing that we could have done from our side at least not anytime soon.

What is interesting though, based on all of our experience, the problem did look like it was on the Sierra Chart side, but we could just not identify any problem at all with that particular functionality. It is very simple and straightforward and the issue never occurred under Windows. At this point it is fairly certain that the issue was within Wine.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-05-10 17:44:18
[2023-05-22 19:24:46]
Nicolas Hervé - Posts: 14
I Confirm that it works fine on Debian with wine-8.4 from package winehq-staging.

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

Login

Login Page - Create Account