XML API error on get-open-trades

May 15, 2011 at 08:16
1,605 視聴
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からメンバー   1418 投稿
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からメンバー   1418 投稿
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.
サインイン / 登録 to comment
You must be connected to Myfxbook in order to leave a comment
*商用利用やスパムは容認されていないので、アカウントが停止される可能性があります。
ヒント:画像/YouTubeのURLを投稿すると自動的に埋め込まれます!
ヒント:この討論に参加しているユーザー名をオートコンプリートするには、@記号を入力します。