Error message Z12 - help!

Posted By: O990l6mh

Error message Z12 - help! - 10/27/16 15:06

Hi, I'm new to Zorro, using ZorroS since just Monday and it has worked perfectly until this came up:

[Thu 27.10.16 08:06] 6455 +30 -4 \\\ 2136/2143\2133/2143
{XAU/USD:LP:s9106} Cover 1@1269.48: -3.69 at 08:06:03
{XAU/USD:LP:l9308} Long 1@1269.48 Risk 19$ ts
!Order: {
"code" : 18,
"message" : "Invalid Precision",
"moreInfo" : "http:\/\/developer.oanda.com\/docs\/v1\/troubleshooting\/#errors"
}
(XAU/USD:NET:L) 08:06 Can't open 1@1269

Not sure why the trade couldn't open? Any help or advice?

My first post here btw, but not the last. Thank you very much to the developers of Zorro, I've been trading since 2009 but manually until I realized last year I need to automate. And there's nothing else like Zorro out there, great product. Now I just need to learn Lite-C...

/Magnus from Sweden
Posted By: boatman

Re: Error message Z12 - help! - 10/27/16 23:01

Welcome to Zorro, Magnus!

Looks like this is an error associated with the Oanda API. My first guess would be that the Oanda API requires two digits after the decimal place for prices associated with XAU/USD.

If you got to the web page that the error directs you to, then search for error code 18, I think you will find your answer.
Posted By: MIGI

Re: Error message Z12 - help! - 10/28/16 03:42

As far as I know, Oanda uses 3 digits for XAU/USD. If Z12 has really sent 2 or 0 digits, it is not enough. Send the info to the support.

Attached picture XAUUSD.PNG
Posted By: O990l6mh

Re: Error message Z12 - help! - 10/28/16 17:38

Thanks! I'll forward it to support.
Posted By: jcl

Re: Error message Z12 - help! - 10/31/16 11:06

The stop limit was sent with too high precision. This will be fixed in the next update.
© 2024 lite-C Forums