Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 03:15:43 +0000



price1 rounding

View Count: 2170

[2013-04-26 16:04:22]
User35525 - Posts: 181
I'm setting price1 in ACSIL for the USOil FXCM symbol(ticksize set to 0.01) but the stop gets truncated to the dollar instead of rounded to the nearest tick. For instance, if I say the stop should be 93.235 or 93.23, it always gets set to 93.00. What could be causing that?

Thanks,
Ted
[2013-04-26 17:22:33]
Sierra Chart Engineering - Posts: 104368
This does not make much sense. What happens when you manually enter an order from the chart at 93.23.

Please provide the source code you are using to set the stop price.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2013-04-26 17:23:08
[2013-04-29 15:48:14]
User35525 - Posts: 181
Manual trades with attached stops worked ok. The problem was my fault. I used a reference to a persistent integer instead of double to hold the stop price.

Now I have to figure out why my new m1.small Amazon instance isn't taking some real-time trades. Maybe m1.small is too slow? My study runs on every tick but only considers trades on bar close. The same study is running on a non-Amazon host and is taking all the trades correctly.

--Ted
[2013-04-29 17:00:49]
User35525 - Posts: 181
What could cause a trade to show up under Orders and Positions but not in the trade activity log?

Thanks,
Ted
[2013-04-29 17:16:27]
Sierra Chart Engineering - Posts: 104368
What could cause a trade to show up under Orders and Positions but not in the trade activity log?

There is no case where this will not occur. This just means that you must have some incorrect settings at the top of the Trade Activity Log preventing the order from displaying. Make sure you select All Activity.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-04-29 18:13:01]
User35525 - Posts: 181
It is very bizarre. "All Activity" is selected, but the order isn't there anywhere in the Trade Activity Log tabs. Yet, it shows as filled in Orders and Positions, and the break-even stoploss was even adjusted automatically a few hours later. I can't explain it, but I hope it doesn't keep happening.

--Ted

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

Login

Login Page - Create Account