To use chat, please login.
Back to contacts

Doing something wiith fxbook API - anybody know how?

Elkart
Elkart
Nov 07 2010 at 12:35
941 posts
The idea was to get the xml feed for my statement, so I can plonk it in a box.

I have a rss feeder in https://www.rssinclude.com now they would want this from the API:

https://www.myfxbook.com/api/get-open-trades.xml?sessiDSL07vu14QxHWErTIAFrH40&id=12345

But it won't work as I have login first like so:

https://www.myfxbook.com/api/login.xml?email=elvis@yahoo.com&password=letsboogie

Now this is all html stuff really, by the looks of it.

So I'm looking at all of this thinking, right can't be that difficult, but be nice if we can get an example of how to put something like this together.

Elkart
Elkart
Nov 07 2010 at 14:01
941 posts
Let me rephrase that slightly,

I presume I can do this in a html editor? If I can't I'm out of my league...

aj901512 (aj901512)
Nov 07 2010 at 16:04
60 posts
Elkart - you'll need some kind of ajax script (you can use some framework like jquery or protoytpe) invoke the API url and then parse the JSON.

Take a look here :

https://viralpatel.net/blogs/2009/04/jquery-ajax-tutorial-example-ajax-jquery-development.html

Good luck :)

aj901512 (aj901512)
Nov 07 2010 at 16:05
60 posts
p.s - yes it can be done in html editor

Elkart
Elkart
Nov 07 2010 at 17:49
941 posts
K - thanks man.

I don't think I'll delve into it. Thought I'd amuse myself for a while by trying to do something constructive, but it looks like a whole 'thing'.

dodgesparks (dodgesparks)
Jan 08 2011 at 17:46
217 posts
i would probably complicate things unnecessarily, as usual.

first, it looks like they want for you to request a sessionid.

so, call up this page in your browser:

https://www.myfxbook.com/api/login.xml?email=dodgesparks@yahoo.com&password=MYPASSWORD

upon calling up that webpage, you will receive back the following:

<?xml versi'1.0' encoding='UTF-8' ?>
- <response error='false' message=''>
  <session>zB3cupCbawTJVlSPA11024680</session>
  </response>

extract the sessionid from that mess and then call up your history, and then using that sessionid,
callup this page:

https://www.myfxbook.com/api/get-history.xml?sessizB3cupCbawTJVlSPA11024680&id=123456

note that the id parameter of the above request must be the myfxbook account number and not your actual account number.

you will receive back something like this:

  <?xml versi'1.0' encoding='UTF-8' ?>
- <response error='false' message=''>
- <history>
- <transaction>
  <openDate>01/03/2011 08:46</openDate>
  <closeDate>01/04/2011 08:27</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.05</value>
  </sizing>
  <openPrice>0.85830</openPrice>
  <closePrice>0.85980</closePrice>
  <tp>0.85980</tp>
  <sl>0.00000</sl>
  <pips>-15.0</pips>
  <profit>-11.66</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>01/03/2011 09:18</openDate>
  <closeDate>01/04/2011 08:27</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.04</value>
  </sizing>
  <openPrice>0.85880</openPrice>
  <closePrice>0.85980</closePrice>
  <tp>0.85980</tp>
  <sl>0.00000</sl>
  <pips>-10.0</pips>
  <profit>-6.21</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>01/03/2011 16:07</openDate>
  <closeDate>01/04/2011 08:27</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.22</value>
  </sizing>
  <openPrice>0.86400</openPrice>
  <closePrice>0.85980</closePrice>
  <tp>0.85980</tp>
  <sl>0.00000</sl>
  <pips>42.0</pips>
  <profit>143.58</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>01/03/2011 01:26</openDate>
  <closeDate>01/03/2011 08:44</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.03</value>
  </sizing>
  <openPrice>0.85520</openPrice>
  <closePrice>0.85790</closePrice>
  <tp>0.85510</tp>
  <sl>0.00000</sl>
  <pips>-27.0</pips>
  <profit>-12.55</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>01/02/2011 22:30</openDate>
  <closeDate>01/03/2011 01:17</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.07</value>
  </sizing>
  <openPrice>0.85740</openPrice>
  <closePrice>0.85570</closePrice>
  <tp>0.85570</tp>
  <sl>0.00000</sl>
  <pips>17.0</pips>
  <profit>18.51</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/29/2010 17:54</openDate>
  <closeDate>12/31/2010 19:56</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.04</value>
  </sizing>
  <openPrice>0.85240</openPrice>
  <closePrice>0.85600</closePrice>
  <tp>0.85600</tp>
  <sl>0.00000</sl>
  <pips>-36.0</pips>
  <profit>-22.47</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/29/2010 18:30</openDate>
  <closeDate>12/31/2010 19:56</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.06</value>
  </sizing>
  <openPrice>0.85360</openPrice>
  <closePrice>0.85600</closePrice>
  <tp>0.85600</tp>
  <sl>0.00000</sl>
  <pips>-24.0</pips>
  <profit>-22.47</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/30/2010 17:24</openDate>
  <closeDate>12/31/2010 19:56</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.42</value>
  </sizing>
  <openPrice>0.86290</openPrice>
  <closePrice>0.85600</closePrice>
  <tp>0.85600</tp>
  <sl>0.00000</sl>
  <pips>69.0</pips>
  <profit>452.26</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/31/2010 06:35</openDate>
  <closeDate>12/31/2010 19:56</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.03</value>
  </sizing>
  <openPrice>0.86340</openPrice>
  <closePrice>0.85600</closePrice>
  <tp>0.85600</tp>
  <sl>0.00000</sl>
  <pips>74.0</pips>
  <profit>34.65</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/26/2010 23:36</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.02</value>
  </sizing>
  <openPrice>0.84900</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>-14.0</pips>
  <profit>-4.33</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/26/2010 23:39</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84880</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>-16.0</pips>
  <profit>-2.47</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/27/2010 00:10</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84910</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>-13.0</pips>
  <profit>-2.01</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/27/2010 00:19</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.02</value>
  </sizing>
  <openPrice>0.84970</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>-7.0</pips>
  <profit>-2.17</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/27/2010 00:28</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.02</value>
  </sizing>
  <openPrice>0.85000</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>-4.0</pips>
  <profit>-1.24</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/27/2010 01:01</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.02</value>
  </sizing>
  <openPrice>0.85050</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>1.0</pips>
  <profit>0.30</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/27/2010 03:12</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.85110</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>7.0</pips>
  <profit>1.08</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/27/2010 06:23</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.85090</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>5.0</pips>
  <profit>0.77</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/27/2010 06:43</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.03</value>
  </sizing>
  <openPrice>0.85160</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>12.0</pips>
  <profit>5.56</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/27/2010 07:35</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.02</value>
  </sizing>
  <openPrice>0.85200</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>16.0</pips>
  <profit>4.94</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/27/2010 07:54</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.85230</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>19.0</pips>
  <profit>2.93</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/27/2010 17:40</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.08</value>
  </sizing>
  <openPrice>0.85380</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>34.0</pips>
  <profit>42.01</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/28/2010 01:05</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.05</value>
  </sizing>
  <openPrice>0.85500</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>46.0</pips>
  <profit>35.52</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/28/2010 04:00</openDate>
  <closeDate>12/29/2010 15:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.85520</openPrice>
  <closePrice>0.85040</closePrice>
  <tp>0.85040</tp>
  <sl>0.00000</sl>
  <pips>48.0</pips>
  <profit>7.41</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/26/2010 23:07</openDate>
  <closeDate>12/26/2010 23:17</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.03</value>
  </sizing>
  <openPrice>0.85000</openPrice>
  <closePrice>0.84910</closePrice>
  <tp>0.84910</tp>
  <sl>0.00000</sl>
  <pips>9.0</pips>
  <profit>4.16</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/23/2010 17:49</openDate>
  <closeDate>12/24/2010 06:23</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.06</value>
  </sizing>
  <openPrice>0.85070</openPrice>
  <closePrice>0.84920</closePrice>
  <tp>0.84920</tp>
  <sl>0.00000</sl>
  <pips>15.0</pips>
  <profit>13.91</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/22/2010 00:53</openDate>
  <closeDate>12/23/2010 12:39</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.03</value>
  </sizing>
  <openPrice>0.84790</openPrice>
  <closePrice>0.84950</closePrice>
  <tp>0.84950</tp>
  <sl>0.00000</sl>
  <pips>-16.0</pips>
  <profit>-7.39</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/22/2010 01:16</openDate>
  <closeDate>12/23/2010 12:39</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84820</openPrice>
  <closePrice>0.84950</closePrice>
  <tp>0.84950</tp>
  <sl>0.00000</sl>
  <pips>-13.0</pips>
  <profit>-2.00</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/22/2010 04:00</openDate>
  <closeDate>12/23/2010 12:39</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84840</openPrice>
  <closePrice>0.84950</closePrice>
  <tp>0.84950</tp>
  <sl>0.00000</sl>
  <pips>-11.0</pips>
  <profit>-1.69</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/22/2010 08:13</openDate>
  <closeDate>12/23/2010 12:39</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.03</value>
  </sizing>
  <openPrice>0.84930</openPrice>
  <closePrice>0.84950</closePrice>
  <tp>0.84950</tp>
  <sl>0.00000</sl>
  <pips>-2.0</pips>
  <profit>-0.92</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/22/2010 16:52</openDate>
  <closeDate>12/23/2010 12:39</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.06</value>
  </sizing>
  <openPrice>0.85030</openPrice>
  <closePrice>0.84950</closePrice>
  <tp>0.84950</tp>
  <sl>0.00000</sl>
  <pips>8.0</pips>
  <profit>7.39</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/22/2010 16:57</openDate>
  <closeDate>12/23/2010 12:39</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.85040</openPrice>
  <closePrice>0.84950</closePrice>
  <tp>0.84950</tp>
  <sl>0.00000</sl>
  <pips>9.0</pips>
  <profit>1.39</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/22/2010 17:30</openDate>
  <closeDate>12/23/2010 12:39</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.02</value>
  </sizing>
  <openPrice>0.85110</openPrice>
  <closePrice>0.84950</closePrice>
  <tp>0.84950</tp>
  <sl>0.00000</sl>
  <pips>16.0</pips>
  <profit>4.93</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/22/2010 17:53</openDate>
  <closeDate>12/23/2010 12:39</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.04</value>
  </sizing>
  <openPrice>0.85170</openPrice>
  <closePrice>0.84950</closePrice>
  <tp>0.84950</tp>
  <sl>0.00000</sl>
  <pips>22.0</pips>
  <profit>13.56</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/23/2010 08:20</openDate>
  <closeDate>12/23/2010 12:39</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.04</value>
  </sizing>
  <openPrice>0.85230</openPrice>
  <closePrice>0.84950</closePrice>
  <tp>0.84950</tp>
  <sl>0.00000</sl>
  <pips>28.0</pips>
  <profit>17.26</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/21/2010 10:00</openDate>
  <closeDate>12/21/2010 14:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.06</value>
  </sizing>
  <openPrice>0.84880</openPrice>
  <closePrice>0.84870</closePrice>
  <tp>0.84870</tp>
  <sl>0.00000</sl>
  <pips>1.0</pips>
  <profit>0.93</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/21/2010 12:11</openDate>
  <closeDate>12/21/2010 14:15</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.12</value>
  </sizing>
  <openPrice>0.85120</openPrice>
  <closePrice>0.84870</closePrice>
  <tp>0.84870</tp>
  <sl>0.00000</sl>
  <pips>25.0</pips>
  <profit>46.52</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/21/2010 01:12</openDate>
  <closeDate>12/21/2010 08:04</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84670</openPrice>
  <closePrice>0.84650</closePrice>
  <tp>0.84660</tp>
  <sl>0.00000</sl>
  <pips>2.0</pips>
  <profit>0.31</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/21/2010 01:22</openDate>
  <closeDate>12/21/2010 08:04</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84760</openPrice>
  <closePrice>0.84650</closePrice>
  <tp>0.84660</tp>
  <sl>0.00000</sl>
  <pips>11.0</pips>
  <profit>1.71</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/21/2010 01:22</openDate>
  <closeDate>12/21/2010 08:04</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84760</openPrice>
  <closePrice>0.84650</closePrice>
  <tp>0.84660</tp>
  <sl>0.00000</sl>
  <pips>11.0</pips>
  <profit>1.71</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/21/2010 01:26</openDate>
  <closeDate>12/21/2010 08:04</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84800</openPrice>
  <closePrice>0.84650</closePrice>
  <tp>0.84660</tp>
  <sl>0.00000</sl>
  <pips>15.0</pips>
  <profit>2.33</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/21/2010 02:21</openDate>
  <closeDate>12/21/2010 08:04</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84800</openPrice>
  <closePrice>0.84650</closePrice>
  <tp>0.84660</tp>
  <sl>0.00000</sl>
  <pips>15.0</pips>
  <profit>2.33</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/20/2010 05:17</openDate>
  <closeDate>12/20/2010 08:20</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.02</value>
  </sizing>
  <openPrice>0.84780</openPrice>
  <closePrice>0.84670</closePrice>
  <tp>0.84670</tp>
  <sl>0.00000</sl>
  <pips>11.0</pips>
  <profit>3.42</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/20/2010 05:19</openDate>
  <closeDate>12/20/2010 08:20</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84790</openPrice>
  <closePrice>0.84670</closePrice>
  <tp>0.84670</tp>
  <sl>0.00000</sl>
  <pips>12.0</pips>
  <profit>1.87</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/20/2010 05:24</openDate>
  <closeDate>12/20/2010 08:20</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84800</openPrice>
  <closePrice>0.84670</closePrice>
  <tp>0.84670</tp>
  <sl>0.00000</sl>
  <pips>13.0</pips>
  <profit>2.02</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/20/2010 06:04</openDate>
  <closeDate>12/20/2010 08:20</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84810</openPrice>
  <closePrice>0.84670</closePrice>
  <tp>0.84670</tp>
  <sl>0.00000</sl>
  <pips>14.0</pips>
  <profit>2.18</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/20/2010 06:19</openDate>
  <closeDate>12/20/2010 08:20</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84840</openPrice>
  <closePrice>0.84670</closePrice>
  <tp>0.84670</tp>
  <sl>0.00000</sl>
  <pips>17.0</pips>
  <profit>2.64</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/20/2010 06:34</openDate>
  <closeDate>12/20/2010 08:20</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84860</openPrice>
  <closePrice>0.84670</closePrice>
  <tp>0.84670</tp>
  <sl>0.00000</sl>
  <pips>19.0</pips>
  <profit>2.95</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/17/2010 19:15</openDate>
  <closeDate>12/20/2010 00:49</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.03</value>
  </sizing>
  <openPrice>0.84920</openPrice>
  <closePrice>0.84820</closePrice>
  <tp>0.84820</tp>
  <sl>0.00000</sl>
  <pips>10.0</pips>
  <profit>4.64</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/17/2010 19:20</openDate>
  <closeDate>12/20/2010 00:49</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84930</openPrice>
  <closePrice>0.84820</closePrice>
  <tp>0.84820</tp>
  <sl>0.00000</sl>
  <pips>11.0</pips>
  <profit>1.70</profit>
  <comment />
  </transaction>
- <transaction>
  <openDate>12/16/2010 23:23</openDate>
  <closeDate>12/17/2010 15:42</closeDate>
  <symbol>EURGBP</symbol>
  <action>Sell</action>
- <sizing>
  <type>lots</type>
  <value>0.01</value>
  </sizing>
  <openPrice>0.84690</openPrice>
  <closePrice>0.84950</closePrice>
  <tp>0.84950</tp>
  <sl>0.00000</sl>
  <pips>-26.0</pips>
  <profit>-4.03</profit>
  <comment />
  </transaction>
  </history>
  </response>

now, this information must be parsed, how you do this is up to you..

personally, i would use php and do it low level and custom.

zero/.


Please login to comment .