XML API error on get-open-trades

May 15, 2011 at 08:16
1,435 व्यू
3 Replies
तबसे मेंबर है Apr 18, 2011   5 पोस्टों
May 15, 2011 at 08:16
Hello,

Has anyone had any issues with the XML get-open-trades call giving an error 'Required fields missing'?

I believe my call is well-formed. My account code and session ID are there so I don't know what could
be missing. Just before this, I make a get-my-accounts call with the same session ID and it is successful.

https://www.myfxbook.com/api/get-open-trades.xml?session=3ezZbQFNqwM7o2b9t9NQ34326=103022

Any ideas would be very helpful.

Thanks
JT
तबसे मेंबर है Jul 31, 2009   1444 पोस्टों
May 15, 2011 at 08:22
तबसे मेंबर है Apr 18, 2011   5 पोस्टों
May 15, 2011 at 14:51
Thanks Ethan for pointing out my oversight. I did correct the parameter as you showed me
and now I get an 'Invalid session.' error. Very odd. Any other suggestions?

Thanks
JT
तबसे मेंबर है Jul 31, 2009   1444 पोस्टों
May 16, 2011 at 07:12

jtanuki posted:
    Thanks Ethan for pointing out my oversight. I did correct the parameter as you showed me
and now I get an 'Invalid session.' error. Very odd. Any other suggestions?

Thanks
JT

The session you're using is invalid (This happens if you have logged out), so request a new session using the API.
You must be connected to Myfxbook in order to leave a comment
*व्यवसायिक इस्तेमाल और स्पैम को ब्रदाश नहीं किया जाएगा, और इसका परिणाम खाता को बन्द करना भी हो सकता है.
टिप: किसी चित्र या यूट्यूब या URL को पोस्ट करने से वे अपने आप आपके पोस्ट में आजाएगा!
टिप: @ चिन्ह को टाइप करें उपभोगता के नाम को अपने आप करने के लिए जो इस चर्चा में भाग ले रहा है.