Jump to content
Sign in to follow this  
Guest andreif

internal server error when trying to get trade history

Recommended Posts

Guest andreif

The following code duplicates the error on the JS test console

var userName = "DM904081";
doPost('/session',{ "UserName": userName, "Password": "xxxxxx"}, function (data, textCode) {
    setRequestHeader("UserName", userName);
    setRequestHeader("Session", data.Session);

    doGet('/UserAccount/ClientAndTradingAccount');

   //CFD
   doGet(“/order/tradehistory?TradingAccountId=400237559&MaxResults=76”); //works    
   doGet(“/order/tradehistory?TradingAccountId=400237559&MaxResults=77”); //fails
   doGet("/order/tradehistory?TradingAccountId=400237559&MaxResults=100"); //fails

   //Spread
   doGet("/order/tradehistory?TradingAccountId=400237560&MaxResults=100"); //works

});

Note that the route cause seems to be the 77th historic trade on the CFD account. What is different about that trade that is causing this error?

Similar errors have been found with DM484373 & XX531040

FURTHER DATA:

Server side logs show the following error message related to the 500 being reported above:

ERROR 2011-11-17 14:00:05,116 18024 OrderGateway.OrderGatewayHost System.Exception: Can't aggregate realised Pnl     accross multiple curriencies for trade history response.

This suggests that a this since position has two parts (an open & a close) that are in different currencies.

Is this possible?

Share this post


Link to post

The same issue for me. Please find java-script which reproduces it:

var userName = "dm484373";
doPost('/session',{ "UserName": userName, "Password": "password"}, function (data, textCode) {
setRequestHeader("UserName", userName);
setRequestHeader("Session", data.Session);
doGet('/useraccount/UserAccount/ClientAndTradingAccount', function(data, textCode) {
doGet('/order/tradehistory?MaxResults=200&TradingAccountId=' + data.TradingAccounts[0].TradingAccountId);
});
});

Please note that error disappears if you remove MaxResult parameter from the request.

Share this post


Link to post
Guest sky.sanders

I see no errors when running the following test using both the CFD and Spread accounts.

[Test]
        public void CanListTradeHistory()
        {
            var rpcClient = BuildRpcClient();

            AccountInformationResponseDTO accounts = rpcClient.AccountInformation.GetClientAndTradingAccount();
            int maxResults = 100;
            int tradingAccountId = accounts.CFDAccount.TradingAccountId;
            var response = rpcClient.TradesAndOrders.ListTradeHistory(tradingAccountId, maxResults);
            Assert.Greater(response.TradeHistory.Length, 0);

            tradingAccountId = accounts.SpreadBettingAccount.TradingAccountId;
            response = rpcClient.TradesAndOrders.ListTradeHistory(tradingAccountId, maxResults);
            Assert.Greater(response.TradeHistory.Length, 0);
        }

11/13/2011 1:54:02 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #1 : https://ciapi.cityindex.com/tradingapi/session 
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #1 : https://ciapi.cityindex.com/tradingapi/session 
11/13/2011 1:54:03 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/session
Method          : POST
Target          : session
UriTemplate     : /
Parameters      :
    apiLogOnRequest: {
  "UserName": "DM715257",
  "Password": "*****"
}
Request URI     : https://ciapi.cityindex.com/tradingapi/session
Request Headers :
    Host: ciapi.cityindex.com
    Content-Length: 45
    Expect: 100-continue
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : data
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"Session":"b7a7450c-4021-48c0-804a-fa356ed78fe0"}

11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.RequestCache - Removed https://ciapi.cityindex.com/tradingapi/session from cache
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #2 : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount 
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #2 : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount 
11/13/2011 1:54:03 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount
Method          : GET
Target          : useraccount
UriTemplate     : /UserAccount/ClientAndTradingAccount
Parameters      : 
Request URI     : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount
Request Headers :
    UserName: DM715257
    Session: b7a7450c-4021-48c0-804a-fa356ed78fe0
    Host: ciapi.cityindex.com
    Accept-Encoding: gzip, deflate
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : data
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"AccountOperatorId":3020,"ClientAccountCurrency":"GBP","ClientAccountId":400159560,"LogonUserName":"Mr Sky Sanders - Test","PersonalEmailAddress":"","TradingAccounts":[{"TradingAccountCode":"DM715257","TradingAccountId":400237563,"TradingAccountStatus":"Open","TradingAccountType":"CFD"},{"TradingAccountCode":"DM625742","TradingAccountId":400237564,"TradingAccountStatus":"Open","TradingAccountType":"Spread Betting"}]}

11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.RequestCache - Removed https://ciapi.cityindex.com/tradingapi/useraccount/useraccount/clientandtradingaccount from cache
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #1 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100 
11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #1 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100 
11/13/2011 1:54:04 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100
Method          : GET
Target          : order
UriTemplate     : /tradehistory?TradingAccountId={tradingAccountId}&MaxResults={maxResults}
Parameters      :
Request URI     : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100
Request Headers :
    UserName: DM715257
    Session: b7a7450c-4021-48c0-804a-fa356ed78fe0
    Host: ciapi.cityindex.com
    Accept-Encoding: gzip, deflate
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : default
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"TradeHistory":[{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634779300)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060774],"OrderId":466060774,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634784333)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060781],"OrderId":466060781,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634787387)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060787],"OrderId":466060787,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634790387)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060796],"OrderId":466060796,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634850567)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060865],"OrderId":466060865,"OriginalQuantity":1.0000,"Price":11835.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634853580)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060867],"OrderId":466060867,"OriginalQuantity":1.0000,"Price":11835.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634856537)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060872],"OrderId":466060872,"OriginalQuantity":1.0000,"Price":11835.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1320051885183)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060774,466060781,466060787,466060796,466060865,466060867,466060872],"OrderId":466396173,"OriginalQuantity":7.0000,"Price":12127.000000000,"Quantity":0.0000,"RealisedPnl":2052.000000,"RealisedPnlCurrency":"USD","TradingAccountId":400237563}]}

11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.RequestCache - Removed https://ciapi.cityindex.com/tradingapi/order/tradehistory?tradingaccountid=400237563&maxresults=100 from cache
11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #2 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100 
11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #2 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100 
11/13/2011 1:54:04 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100
Method          : GET
Target          : order
UriTemplate     : /tradehistory?TradingAccountId={tradingAccountId}&MaxResults={maxResults}
Parameters      :
Request URI     : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100
Request Headers :
    UserName: DM715257
    Session: b7a7450c-4021-48c0-804a-fa356ed78fe0
    Host: ciapi.cityindex.com
    Accept-Encoding: gzip, deflate
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : default
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"TradeHistory":[{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319445326120)\/","LastChangedDateTimeUtc":"\/Date(1319446872877)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465832461],"OrderId":465832461,"OriginalQuantity":1.0000,"Price":5505.400000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319446872877)\/","LastChangedDateTimeUtc":"\/Date(1319446872877)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465832461],"OrderId":465834518,"OriginalQuantity":1.0000,"Price":5493.900000000,"Quantity":0.0000,"RealisedPnl":-11.500000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319456887213)\/","LastChangedDateTimeUtc":"\/Date(1319462114990)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465843183],"OrderId":465843183,"OriginalQuantity":1.0000,"Price":5500.900000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459435800)\/","LastChangedDateTimeUtc":"\/Date(1319461943887)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845345],"OrderId":465845345,"OriginalQuantity":1.0000,"Price":1.593460000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459453800)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845355],"OrderId":465845355,"OriginalQuantity":1.0000,"Price":1.593480000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459466833)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845364],"OrderId":465845364,"OriginalQuantity":1.0000,"Price":1.593500000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459485613)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845376],"OrderId":465845376,"OriginalQuantity":1.0000,"Price":1.593410000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459502133)\/","LastChangedDateTimeUtc":"\/Date(1319462057587)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845397],"OrderId":465845397,"OriginalQuantity":50.0000,"Price":1.593340000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319461943887)\/","LastChangedDateTimeUtc":"\/Date(1319461943887)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845345],"OrderId":465847779,"OriginalQuantity":1.0000,"Price":1.591850000,"Quantity":0.0000,"RealisedPnl":16.100000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319461956817)\/","LastChangedDateTimeUtc":"\/Date(1319462057587)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465847783],"OrderId":465847783,"OriginalQuantity":1.0000,"Price":1.591510000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319461985277)\/","LastChangedDateTimeUtc":"\/Date(1319461996333)\/","MarketId":38955,"MarketName":"Anglo American Rolling Spread","OpeningOrderIds":[465847791],"OrderId":465847791,"OriginalQuantity":1.0000,"Price":2286.290000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319461996333)\/","LastChangedDateTimeUtc":"\/Date(1319461996333)\/","MarketId":38955,"MarketName":"Anglo American Rolling Spread","OpeningOrderIds":[465847791],"OrderId":465847807,"OriginalQuantity":1.0000,"Price":2279.720000000,"Quantity":0.0000,"RealisedPnl":-6.570000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319462035733)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845355,465845364,465845376,465845397],"OrderId":465847823,"OriginalQuantity":50.0000,"Price":1.591960000,"Quantity":0.0000,"RealisedPnl":693.700000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319462057587)\/","LastChangedDateTimeUtc":"\/Date(1319462057587)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845397,465847783],"OrderId":465847834,"OriginalQuantity":4.0000,"Price":1.591710000,"Quantity":0.0000,"RealisedPnl":46.900000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319462096063)\/","LastChangedDateTimeUtc":"\/Date(1319462114990)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465847851],"OrderId":465847851,"OriginalQuantity":1.0000,"Price":5509.400000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319462114990)\/","LastChangedDateTimeUtc":"\/Date(1319462114990)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465843183,465847851],"OrderId":465847869,"OriginalQuantity":2.0000,"Price":5508.400000000,"Quantity":0.0000,"RealisedPnl":6.500000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702109740)\/","LastChangedDateTimeUtc":"\/Date(1319738581783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168198],"OrderId":466168198,"OriginalQuantity":1.0000,"Price":36.030000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702229743)\/","LastChangedDateTimeUtc":"\/Date(1319738562603)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168377],"OrderId":466168377,"OriginalQuantity":1.0000,"Price":36.040000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702257093)\/","LastChangedDateTimeUtc":"\/Date(1319738592620)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168415],"OrderId":466168415,"OriginalQuantity":1.0000,"Price":36.030000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702260093)\/","LastChangedDateTimeUtc":"\/Date(1319738641070)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168426],"OrderId":466168426,"OriginalQuantity":1.0000,"Price":36.030000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702266247)\/","LastChangedDateTimeUtc":"\/Date(1319738594230)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168434],"OrderId":466168434,"OriginalQuantity":1.0000,"Price":36.040000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702269247)\/","LastChangedDateTimeUtc":"\/Date(1319738645783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168437],"OrderId":466168437,"OriginalQuantity":1.0000,"Price":36.040000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702594380)\/","LastChangedDateTimeUtc":"\/Date(1319738569913)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168866],"OrderId":466168866,"OriginalQuantity":1.0000,"Price":36.140000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702597483)\/","LastChangedDateTimeUtc":"\/Date(1319738645600)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168872],"OrderId":466168872,"OriginalQuantity":1.0000,"Price":36.150000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702667400)\/","LastChangedDateTimeUtc":"\/Date(1319738576570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168955],"OrderId":466168955,"OriginalQuantity":1.0000,"Price":36.130000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702684063)\/","LastChangedDateTimeUtc":"\/Date(1319738645570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168974],"OrderId":466168974,"OriginalQuantity":1.0000,"Price":36.190000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702687063)\/","LastChangedDateTimeUtc":"\/Date(1319738562783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168976],"OrderId":466168976,"OriginalQuantity":1.0000,"Price":36.190000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738562603)\/","LastChangedDateTimeUtc":"\/Date(1319825602383)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218054,466168377],"OrderId":466218054,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738562603)\/","LastChangedDateTimeUtc":"\/Date(1319738562603)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168377],"OrderId":466218053,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.020000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738562783)\/","LastChangedDateTimeUtc":"\/Date(1319825602473)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218065,466168976],"OrderId":466218065,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738562783)\/","LastChangedDateTimeUtc":"\/Date(1319738562783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168976],"OrderId":466218064,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.870000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738569913)\/","LastChangedDateTimeUtc":"\/Date(1319825607853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218487,466168866],"OrderId":466218487,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738569913)\/","LastChangedDateTimeUtc":"\/Date(1319738569913)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168866],"OrderId":466218485,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738576570)\/","LastChangedDateTimeUtc":"\/Date(1319825615323)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219075,466168955],"OrderId":466219075,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738576570)\/","LastChangedDateTimeUtc":"\/Date(1319738576570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168955],"OrderId":466219074,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.930000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738581783)\/","LastChangedDateTimeUtc":"\/Date(1319825619753)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219440,466168198],"OrderId":466219440,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738581783)\/","LastChangedDateTimeUtc":"\/Date(1319738581783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168198],"OrderId":466219439,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.030000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738592620)\/","LastChangedDateTimeUtc":"\/Date(1319825628363)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219932,466168415],"OrderId":466219932,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738592620)\/","LastChangedDateTimeUtc":"\/Date(1319738592620)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168415],"OrderId":466219931,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.030000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738594230)\/","LastChangedDateTimeUtc":"\/Date(1319825629653)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219988,466168434],"OrderId":466219988,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738594230)\/","LastChangedDateTimeUtc":"\/Date(1319738594230)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168434],"OrderId":466219987,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.020000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738641070)\/","LastChangedDateTimeUtc":"\/Date(1319825592853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221692,466168426],"OrderId":466221692,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738641070)\/","LastChangedDateTimeUtc":"\/Date(1319738641070)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168426],"OrderId":466221691,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.030000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738645570)\/","LastChangedDateTimeUtc":"\/Date(1319825595607)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221898,466168974],"OrderId":466221898,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738645570)\/","LastChangedDateTimeUtc":"\/Date(1319738645570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168974],"OrderId":466221897,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.870000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738645600)\/","LastChangedDateTimeUtc":"\/Date(1319825596423)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221901,466168872],"OrderId":466221901,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738645600)\/","LastChangedDateTimeUtc":"\/Date(1319738645600)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168872],"OrderId":466221899,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.910000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738645783)\/","LastChangedDateTimeUtc":"\/Date(1319825596547)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221914,466168437],"OrderId":466221914,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738645783)\/","LastChangedDateTimeUtc":"\/Date(1319738645783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168437],"OrderId":466221913,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.020000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825592853)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466327905,466221692],"OrderId":466327905,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825592853)\/","LastChangedDateTimeUtc":"\/Date(1319825592853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221692],"OrderId":466327904,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825595607)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328016,466221898],"OrderId":466328016,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825595607)\/","LastChangedDateTimeUtc":"\/Date(1319825595607)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221898],"OrderId":466328015,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825596423)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328019,466221901],"OrderId":466328019,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825596423)\/","LastChangedDateTimeUtc":"\/Date(1319825596423)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221901],"OrderId":466328018,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825596547)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328025,466221914],"OrderId":466328025,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825596547)\/","LastChangedDateTimeUtc":"\/Date(1319825596547)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221914],"OrderId":466328024,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825602383)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328266,466218054],"OrderId":466328266,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825602383)\/","LastChangedDateTimeUtc":"\/Date(1319825602383)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218054],"OrderId":466328265,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825602473)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328272,466218065],"OrderId":466328272,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825602473)\/","LastChangedDateTimeUtc":"\/Date(1319825602473)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218065],"OrderId":466328271,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825607853)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328487,466218487],"OrderId":466328487,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825607853)\/","LastChangedDateTimeUtc":"\/Date(1319825607853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218487],"OrderId":466328486,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825615323)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328733,466219075],"OrderId":466328733,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825615323)\/","LastChangedDateTimeUtc":"\/Date(1319825615323)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219075],"OrderId":466328732,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825619753)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328909,466219440],"OrderId":466328909,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825619753)\/","LastChangedDateTimeUtc":"\/Date(1319825619753)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219440],"OrderId":466328908,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825628363)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466329274,466219932],"OrderId":466329274,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825628363)\/","LastChangedDateTimeUtc":"\/Date(1319825628363)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219932],"OrderId":466329273,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825629653)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466329330,466219988],"OrderId":466329330,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825629653)\/","LastChangedDateTimeUtc":"\/Date(1319825629653)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219988],"OrderId":466329329,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1320051879673)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466327905,466328016,466328019,466328025,466328266,466328272,466328487,466328733,466328909,466329274,466329330],"OrderId":466396165,"OriginalQuantity":11.0000,"Price":34.430000000,"Quantity":0.0000,"RealisedPnl":-7.810000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1321015715387)\/","LastChangedDateTimeUtc":"\/Date(1321015751687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488692],"OrderId":467488692,"OriginalQuantity":2.0000,"Price":1.020080000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1321015751687)\/","LastChangedDateTimeUtc":"\/Date(1321015751687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488692],"OrderId":467488711,"OriginalQuantity":2.0000,"Price":1.019760000,"Quantity":0.0000,"RealisedPnl":-6.400000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1321015778783)\/","LastChangedDateTimeUtc":"\/Date(1321015794687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488724],"OrderId":467488724,"OriginalQuantity":3.0000,"Price":1.019980000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1321015794687)\/","LastChangedDateTimeUtc":"\/Date(1321015794687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488724],"OrderId":467488733,"OriginalQuantity":3.0000,"Price":1.019580000,"Quantity":0.0000,"RealisedPnl":-12.000000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564}]}

Share this post


Link to post
Guest mrdavidlaing

The following code duplicates the error on the JS test console

var userName = "DM904081";
doPost('/session',{ "UserName": userName, "Password": "xxxxxx"}, function (data, textCode) {
    setRequestHeader("UserName", userName);
    setRequestHeader("Session", data.Session);

    doGet('/UserAccount/ClientAndTradingAccount');

   //CFD
   doGet(“/order/tradehistory?TradingAccountId=400237559&MaxResults=76”); //works    
   doGet(“/order/tradehistory?TradingAccountId=400237559&MaxResults=77”); //fails
   doGet("/order/tradehistory?TradingAccountId=400237559&MaxResults=100"); //fails

   //Spread
   doGet("/order/tradehistory?TradingAccountId=400237560&MaxResults=100"); //works

});

Note that the route cause seems to be the 77th historic trade on the CFD account. What is different about that trade that is causing this error?

Similar errors have been found with DM484373 & XX531040

FURTHER DATA:

Server side logs show the following error message related to the 500 being reported above:

ERROR 2011-11-17 14:00:05,116 18024 OrderGateway.OrderGatewayHost System.Exception: Can't aggregate realised Pnl     accross multiple curriencies for trade history response.

This suggests that a this since position has two parts (an open & a close) that are in different currencies.

Is this possible?

Can you reproduce this error on the Javascript console (https://ciapi.cityindex.com/tradingapi) ?

Share this post


Link to post
Guest andreif

The following code duplicates the error on the JS test console

var userName = "DM904081";
doPost('/session',{ "UserName": userName, "Password": "xxxxxx"}, function (data, textCode) {
    setRequestHeader("UserName", userName);
    setRequestHeader("Session", data.Session);

    doGet('/UserAccount/ClientAndTradingAccount');

   //CFD
   doGet(“/order/tradehistory?TradingAccountId=400237559&MaxResults=76”); //works    
   doGet(“/order/tradehistory?TradingAccountId=400237559&MaxResults=77”); //fails
   doGet("/order/tradehistory?TradingAccountId=400237559&MaxResults=100"); //fails

   //Spread
   doGet("/order/tradehistory?TradingAccountId=400237560&MaxResults=100"); //works

});

Note that the route cause seems to be the 77th historic trade on the CFD account. What is different about that trade that is causing this error?

Similar errors have been found with DM484373 & XX531040

FURTHER DATA:

Server side logs show the following error message related to the 500 being reported above:

ERROR 2011-11-17 14:00:05,116 18024 OrderGateway.OrderGatewayHost System.Exception: Can't aggregate realised Pnl     accross multiple curriencies for trade history response.

This suggests that a this since position has two parts (an open & a close) that are in different currencies.

Is this possible?

@mrdavidlaing It doesn’t return anything for this call doGet(‘https://ciapi.cityindex.com/TradingAPI/order/tradehistory?TradingAccountId=400237559&MaxResults=100’);

Share this post


Link to post
Guest mrdavidlaing

The following code duplicates the error on the JS test console

var userName = "DM904081";
doPost('/session',{ "UserName": userName, "Password": "xxxxxx"}, function (data, textCode) {
    setRequestHeader("UserName", userName);
    setRequestHeader("Session", data.Session);

    doGet('/UserAccount/ClientAndTradingAccount');

   //CFD
   doGet(“/order/tradehistory?TradingAccountId=400237559&MaxResults=76”); //works    
   doGet(“/order/tradehistory?TradingAccountId=400237559&MaxResults=77”); //fails
   doGet("/order/tradehistory?TradingAccountId=400237559&MaxResults=100"); //fails

   //Spread
   doGet("/order/tradehistory?TradingAccountId=400237560&MaxResults=100"); //works

});

Note that the route cause seems to be the 77th historic trade on the CFD account. What is different about that trade that is causing this error?

Similar errors have been found with DM484373 & XX531040

FURTHER DATA:

Server side logs show the following error message related to the 500 being reported above:

ERROR 2011-11-17 14:00:05,116 18024 OrderGateway.OrderGatewayHost System.Exception: Can't aggregate realised Pnl     accross multiple curriencies for trade history response.

This suggests that a this since position has two parts (an open & a close) that are in different currencies.

Is this possible?

@andreif Added complete JS console sample to question

Share this post


Link to post
Guest mrdavidlaing

The same issue for me. Please find java-script which reproduces it:

var userName = "dm484373";
doPost('/session',{ "UserName": userName, "Password": "password"}, function (data, textCode) {
setRequestHeader("UserName", userName);
setRequestHeader("Session", data.Session);
doGet('/useraccount/UserAccount/ClientAndTradingAccount', function(data, textCode) {
doGet('/order/tradehistory?MaxResults=200&TradingAccountId=' + data.TradingAccounts[0].TradingAccountId);
});
});

Please note that error disappears if you remove MaxResult parameter from the request.

For me, doGet(“/order/tradehistory?TradingAccountId=400237559&MaxResults=76”); //works doGet(“/order/tradehistory?TradingAccountId=400237559&MaxResults=77”); //fails

So its something to do with the 77th trade…

Share this post


Link to post
Guest andreif

 

I see no errors when running the following test using both the CFD and Spread accounts.

[Test]
        public void CanListTradeHistory()
        {
            var rpcClient = BuildRpcClient();

            AccountInformationResponseDTO accounts = rpcClient.AccountInformation.GetClientAndTradingAccount();
            int maxResults = 100;
            int tradingAccountId = accounts.CFDAccount.TradingAccountId;
            var response = rpcClient.TradesAndOrders.ListTradeHistory(tradingAccountId, maxResults);
            Assert.Greater(response.TradeHistory.Length, 0);

            tradingAccountId = accounts.SpreadBettingAccount.TradingAccountId;
            response = rpcClient.TradesAndOrders.ListTradeHistory(tradingAccountId, maxResults);
            Assert.Greater(response.TradeHistory.Length, 0);
        }

11/13/2011 1:54:02 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #1 : https://ciapi.cityindex.com/tradingapi/session 
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #1 : https://ciapi.cityindex.com/tradingapi/session 
11/13/2011 1:54:03 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/session
Method          : POST
Target          : session
UriTemplate     : /
Parameters      :
    apiLogOnRequest: {
  "UserName": "DM715257",
  "Password": "*****"
}
Request URI     : https://ciapi.cityindex.com/tradingapi/session
Request Headers :
    Host: ciapi.cityindex.com
    Content-Length: 45
    Expect: 100-continue
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : data
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"Session":"b7a7450c-4021-48c0-804a-fa356ed78fe0"}

11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.RequestCache - Removed https://ciapi.cityindex.com/tradingapi/session from cache
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #2 : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount 
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #2 : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount 
11/13/2011 1:54:03 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount
Method          : GET
Target          : useraccount
UriTemplate     : /UserAccount/ClientAndTradingAccount
Parameters      : 
Request URI     : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount
Request Headers :
    UserName: DM715257
    Session: b7a7450c-4021-48c0-804a-fa356ed78fe0
    Host: ciapi.cityindex.com
    Accept-Encoding: gzip, deflate
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : data
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"AccountOperatorId":3020,"ClientAccountCurrency":"GBP","ClientAccountId":400159560,"LogonUserName":"Mr Sky Sanders - Test","PersonalEmailAddress":"","TradingAccounts":[{"TradingAccountCode":"DM715257","TradingAccountId":400237563,"TradingAccountStatus":"Open","TradingAccountType":"CFD"},{"TradingAccountCode":"DM625742","TradingAccountId":400237564,"TradingAccountStatus":"Open","TradingAccountType":"Spread Betting"}]}

11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.RequestCache - Removed https://ciapi.cityindex.com/tradingapi/useraccount/useraccount/clientandtradingaccount from cache
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #1 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100 
11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #1 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100 
11/13/2011 1:54:04 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100
Method          : GET
Target          : order
UriTemplate     : /tradehistory?TradingAccountId={tradingAccountId}&MaxResults={maxResults}
Parameters      :
Request URI     : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100
Request Headers :
    UserName: DM715257
    Session: b7a7450c-4021-48c0-804a-fa356ed78fe0
    Host: ciapi.cityindex.com
    Accept-Encoding: gzip, deflate
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : default
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"TradeHistory":[{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634779300)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060774],"OrderId":466060774,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634784333)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060781],"OrderId":466060781,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634787387)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060787],"OrderId":466060787,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634790387)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060796],"OrderId":466060796,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634850567)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060865],"OrderId":466060865,"OriginalQuantity":1.0000,"Price":11835.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634853580)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060867],"OrderId":466060867,"OriginalQuantity":1.0000,"Price":11835.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634856537)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060872],"OrderId":466060872,"OriginalQuantity":1.0000,"Price":11835.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1320051885183)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060774,466060781,466060787,466060796,466060865,466060867,466060872],"OrderId":466396173,"OriginalQuantity":7.0000,"Price":12127.000000000,"Quantity":0.0000,"RealisedPnl":2052.000000,"RealisedPnlCurrency":"USD","TradingAccountId":400237563}]}

11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.RequestCache - Removed https://ciapi.cityindex.com/tradingapi/order/tradehistory?tradingaccountid=400237563&maxresults=100 from cache
11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #2 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100 
11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #2 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100 
11/13/2011 1:54:04 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100
Method          : GET
Target          : order
UriTemplate     : /tradehistory?TradingAccountId={tradingAccountId}&MaxResults={maxResults}
Parameters      :
Request URI     : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100
Request Headers :
    UserName: DM715257
    Session: b7a7450c-4021-48c0-804a-fa356ed78fe0
    Host: ciapi.cityindex.com
    Accept-Encoding: gzip, deflate
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : default
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"TradeHistory":[{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319445326120)\/","LastChangedDateTimeUtc":"\/Date(1319446872877)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465832461],"OrderId":465832461,"OriginalQuantity":1.0000,"Price":5505.400000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319446872877)\/","LastChangedDateTimeUtc":"\/Date(1319446872877)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465832461],"OrderId":465834518,"OriginalQuantity":1.0000,"Price":5493.900000000,"Quantity":0.0000,"RealisedPnl":-11.500000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319456887213)\/","LastChangedDateTimeUtc":"\/Date(1319462114990)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465843183],"OrderId":465843183,"OriginalQuantity":1.0000,"Price":5500.900000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459435800)\/","LastChangedDateTimeUtc":"\/Date(1319461943887)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845345],"OrderId":465845345,"OriginalQuantity":1.0000,"Price":1.593460000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459453800)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845355],"OrderId":465845355,"OriginalQuantity":1.0000,"Price":1.593480000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459466833)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845364],"OrderId":465845364,"OriginalQuantity":1.0000,"Price":1.593500000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459485613)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845376],"OrderId":465845376,"OriginalQuantity":1.0000,"Price":1.593410000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459502133)\/","LastChangedDateTimeUtc":"\/Date(1319462057587)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845397],"OrderId":465845397,"OriginalQuantity":50.0000,"Price":1.593340000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319461943887)\/","LastChangedDateTimeUtc":"\/Date(1319461943887)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845345],"OrderId":465847779,"OriginalQuantity":1.0000,"Price":1.591850000,"Quantity":0.0000,"RealisedPnl":16.100000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319461956817)\/","LastChangedDateTimeUtc":"\/Date(1319462057587)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465847783],"OrderId":465847783,"OriginalQuantity":1.0000,"Price":1.591510000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319461985277)\/","LastChangedDateTimeUtc":"\/Date(1319461996333)\/","MarketId":38955,"MarketName":"Anglo American Rolling Spread","OpeningOrderIds":[465847791],"OrderId":465847791,"OriginalQuantity":1.0000,"Price":2286.290000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319461996333)\/","LastChangedDateTimeUtc":"\/Date(1319461996333)\/","MarketId":38955,"MarketName":"Anglo American Rolling Spread","OpeningOrderIds":[465847791],"OrderId":465847807,"OriginalQuantity":1.0000,"Price":2279.720000000,"Quantity":0.0000,"RealisedPnl":-6.570000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319462035733)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845355,465845364,465845376,465845397],"OrderId":465847823,"OriginalQuantity":50.0000,"Price":1.591960000,"Quantity":0.0000,"RealisedPnl":693.700000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319462057587)\/","LastChangedDateTimeUtc":"\/Date(1319462057587)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845397,465847783],"OrderId":465847834,"OriginalQuantity":4.0000,"Price":1.591710000,"Quantity":0.0000,"RealisedPnl":46.900000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319462096063)\/","LastChangedDateTimeUtc":"\/Date(1319462114990)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465847851],"OrderId":465847851,"OriginalQuantity":1.0000,"Price":5509.400000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319462114990)\/","LastChangedDateTimeUtc":"\/Date(1319462114990)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465843183,465847851],"OrderId":465847869,"OriginalQuantity":2.0000,"Price":5508.400000000,"Quantity":0.0000,"RealisedPnl":6.500000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702109740)\/","LastChangedDateTimeUtc":"\/Date(1319738581783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168198],"OrderId":466168198,"OriginalQuantity":1.0000,"Price":36.030000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702229743)\/","LastChangedDateTimeUtc":"\/Date(1319738562603)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168377],"OrderId":466168377,"OriginalQuantity":1.0000,"Price":36.040000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702257093)\/","LastChangedDateTimeUtc":"\/Date(1319738592620)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168415],"OrderId":466168415,"OriginalQuantity":1.0000,"Price":36.030000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702260093)\/","LastChangedDateTimeUtc":"\/Date(1319738641070)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168426],"OrderId":466168426,"OriginalQuantity":1.0000,"Price":36.030000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702266247)\/","LastChangedDateTimeUtc":"\/Date(1319738594230)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168434],"OrderId":466168434,"OriginalQuantity":1.0000,"Price":36.040000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702269247)\/","LastChangedDateTimeUtc":"\/Date(1319738645783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168437],"OrderId":466168437,"OriginalQuantity":1.0000,"Price":36.040000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702594380)\/","LastChangedDateTimeUtc":"\/Date(1319738569913)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168866],"OrderId":466168866,"OriginalQuantity":1.0000,"Price":36.140000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702597483)\/","LastChangedDateTimeUtc":"\/Date(1319738645600)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168872],"OrderId":466168872,"OriginalQuantity":1.0000,"Price":36.150000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702667400)\/","LastChangedDateTimeUtc":"\/Date(1319738576570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168955],"OrderId":466168955,"OriginalQuantity":1.0000,"Price":36.130000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702684063)\/","LastChangedDateTimeUtc":"\/Date(1319738645570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168974],"OrderId":466168974,"OriginalQuantity":1.0000,"Price":36.190000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702687063)\/","LastChangedDateTimeUtc":"\/Date(1319738562783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168976],"OrderId":466168976,"OriginalQuantity":1.0000,"Price":36.190000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738562603)\/","LastChangedDateTimeUtc":"\/Date(1319825602383)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218054,466168377],"OrderId":466218054,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738562603)\/","LastChangedDateTimeUtc":"\/Date(1319738562603)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168377],"OrderId":466218053,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.020000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738562783)\/","LastChangedDateTimeUtc":"\/Date(1319825602473)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218065,466168976],"OrderId":466218065,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738562783)\/","LastChangedDateTimeUtc":"\/Date(1319738562783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168976],"OrderId":466218064,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.870000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738569913)\/","LastChangedDateTimeUtc":"\/Date(1319825607853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218487,466168866],"OrderId":466218487,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738569913)\/","LastChangedDateTimeUtc":"\/Date(1319738569913)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168866],"OrderId":466218485,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738576570)\/","LastChangedDateTimeUtc":"\/Date(1319825615323)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219075,466168955],"OrderId":466219075,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738576570)\/","LastChangedDateTimeUtc":"\/Date(1319738576570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168955],"OrderId":466219074,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.930000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738581783)\/","LastChangedDateTimeUtc":"\/Date(1319825619753)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219440,466168198],"OrderId":466219440,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738581783)\/","LastChangedDateTimeUtc":"\/Date(1319738581783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168198],"OrderId":466219439,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.030000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738592620)\/","LastChangedDateTimeUtc":"\/Date(1319825628363)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219932,466168415],"OrderId":466219932,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738592620)\/","LastChangedDateTimeUtc":"\/Date(1319738592620)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168415],"OrderId":466219931,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.030000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738594230)\/","LastChangedDateTimeUtc":"\/Date(1319825629653)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219988,466168434],"OrderId":466219988,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738594230)\/","LastChangedDateTimeUtc":"\/Date(1319738594230)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168434],"OrderId":466219987,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.020000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738641070)\/","LastChangedDateTimeUtc":"\/Date(1319825592853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221692,466168426],"OrderId":466221692,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738641070)\/","LastChangedDateTimeUtc":"\/Date(1319738641070)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168426],"OrderId":466221691,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.030000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738645570)\/","LastChangedDateTimeUtc":"\/Date(1319825595607)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221898,466168974],"OrderId":466221898,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738645570)\/","LastChangedDateTimeUtc":"\/Date(1319738645570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168974],"OrderId":466221897,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.870000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738645600)\/","LastChangedDateTimeUtc":"\/Date(1319825596423)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221901,466168872],"OrderId":466221901,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738645600)\/","LastChangedDateTimeUtc":"\/Date(1319738645600)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168872],"OrderId":466221899,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.910000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738645783)\/","LastChangedDateTimeUtc":"\/Date(1319825596547)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221914,466168437],"OrderId":466221914,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738645783)\/","LastChangedDateTimeUtc":"\/Date(1319738645783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168437],"OrderId":466221913,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.020000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825592853)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466327905,466221692],"OrderId":466327905,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825592853)\/","LastChangedDateTimeUtc":"\/Date(1319825592853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221692],"OrderId":466327904,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825595607)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328016,466221898],"OrderId":466328016,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825595607)\/","LastChangedDateTimeUtc":"\/Date(1319825595607)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221898],"OrderId":466328015,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825596423)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328019,466221901],"OrderId":466328019,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825596423)\/","LastChangedDateTimeUtc":"\/Date(1319825596423)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221901],"OrderId":466328018,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825596547)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328025,466221914],"OrderId":466328025,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825596547)\/","LastChangedDateTimeUtc":"\/Date(1319825596547)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221914],"OrderId":466328024,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825602383)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328266,466218054],"OrderId":466328266,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825602383)\/","LastChangedDateTimeUtc":"\/Date(1319825602383)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218054],"OrderId":466328265,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825602473)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328272,466218065],"OrderId":466328272,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825602473)\/","LastChangedDateTimeUtc":"\/Date(1319825602473)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218065],"OrderId":466328271,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825607853)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328487,466218487],"OrderId":466328487,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825607853)\/","LastChangedDateTimeUtc":"\/Date(1319825607853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218487],"OrderId":466328486,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825615323)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328733,466219075],"OrderId":466328733,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825615323)\/","LastChangedDateTimeUtc":"\/Date(1319825615323)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219075],"OrderId":466328732,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825619753)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328909,466219440],"OrderId":466328909,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825619753)\/","LastChangedDateTimeUtc":"\/Date(1319825619753)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219440],"OrderId":466328908,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825628363)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466329274,466219932],"OrderId":466329274,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825628363)\/","LastChangedDateTimeUtc":"\/Date(1319825628363)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219932],"OrderId":466329273,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825629653)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466329330,466219988],"OrderId":466329330,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825629653)\/","LastChangedDateTimeUtc":"\/Date(1319825629653)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219988],"OrderId":466329329,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1320051879673)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466327905,466328016,466328019,466328025,466328266,466328272,466328487,466328733,466328909,466329274,466329330],"OrderId":466396165,"OriginalQuantity":11.0000,"Price":34.430000000,"Quantity":0.0000,"RealisedPnl":-7.810000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1321015715387)\/","LastChangedDateTimeUtc":"\/Date(1321015751687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488692],"OrderId":467488692,"OriginalQuantity":2.0000,"Price":1.020080000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1321015751687)\/","LastChangedDateTimeUtc":"\/Date(1321015751687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488692],"OrderId":467488711,"OriginalQuantity":2.0000,"Price":1.019760000,"Quantity":0.0000,"RealisedPnl":-6.400000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1321015778783)\/","LastChangedDateTimeUtc":"\/Date(1321015794687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488724],"OrderId":467488724,"OriginalQuantity":3.0000,"Price":1.019980000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1321015794687)\/","LastChangedDateTimeUtc":"\/Date(1321015794687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488724],"OrderId":467488733,"OriginalQuantity":3.0000,"Price":1.019580000,"Quantity":0.0000,"RealisedPnl":-12.000000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564}]}

This test https://github.com/fandrei/SimpleCiapiTest fails for me (using my account and latest CIAPI.CS available in NuGet).

Share this post


Link to post
Guest sky.sanders

 

I see no errors when running the following test using both the CFD and Spread accounts.

[Test]
        public void CanListTradeHistory()
        {
            var rpcClient = BuildRpcClient();

            AccountInformationResponseDTO accounts = rpcClient.AccountInformation.GetClientAndTradingAccount();
            int maxResults = 100;
            int tradingAccountId = accounts.CFDAccount.TradingAccountId;
            var response = rpcClient.TradesAndOrders.ListTradeHistory(tradingAccountId, maxResults);
            Assert.Greater(response.TradeHistory.Length, 0);

            tradingAccountId = accounts.SpreadBettingAccount.TradingAccountId;
            response = rpcClient.TradesAndOrders.ListTradeHistory(tradingAccountId, maxResults);
            Assert.Greater(response.TradeHistory.Length, 0);
        }

11/13/2011 1:54:02 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #1 : https://ciapi.cityindex.com/tradingapi/session 
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #1 : https://ciapi.cityindex.com/tradingapi/session 
11/13/2011 1:54:03 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/session
Method          : POST
Target          : session
UriTemplate     : /
Parameters      :
    apiLogOnRequest: {
  "UserName": "DM715257",
  "Password": "*****"
}
Request URI     : https://ciapi.cityindex.com/tradingapi/session
Request Headers :
    Host: ciapi.cityindex.com
    Content-Length: 45
    Expect: 100-continue
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : data
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"Session":"b7a7450c-4021-48c0-804a-fa356ed78fe0"}

11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.RequestCache - Removed https://ciapi.cityindex.com/tradingapi/session from cache
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #2 : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount 
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #2 : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount 
11/13/2011 1:54:03 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount
Method          : GET
Target          : useraccount
UriTemplate     : /UserAccount/ClientAndTradingAccount
Parameters      : 
Request URI     : https://ciapi.cityindex.com/tradingapi/useraccount/UserAccount/ClientAndTradingAccount
Request Headers :
    UserName: DM715257
    Session: b7a7450c-4021-48c0-804a-fa356ed78fe0
    Host: ciapi.cityindex.com
    Accept-Encoding: gzip, deflate
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : data
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"AccountOperatorId":3020,"ClientAccountCurrency":"GBP","ClientAccountId":400159560,"LogonUserName":"Mr Sky Sanders - Test","PersonalEmailAddress":"","TradingAccounts":[{"TradingAccountCode":"DM715257","TradingAccountId":400237563,"TradingAccountStatus":"Open","TradingAccountType":"CFD"},{"TradingAccountCode":"DM625742","TradingAccountId":400237564,"TradingAccountStatus":"Open","TradingAccountType":"Spread Betting"}]}

11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.RequestCache - Removed https://ciapi.cityindex.com/tradingapi/useraccount/useraccount/clientandtradingaccount from cache
11/13/2011 1:54:03 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #1 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100 
11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #1 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100 
11/13/2011 1:54:04 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100
Method          : GET
Target          : order
UriTemplate     : /tradehistory?TradingAccountId={tradingAccountId}&MaxResults={maxResults}
Parameters      :
Request URI     : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237563&MaxResults=100
Request Headers :
    UserName: DM715257
    Session: b7a7450c-4021-48c0-804a-fa356ed78fe0
    Host: ciapi.cityindex.com
    Accept-Encoding: gzip, deflate
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : default
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"TradeHistory":[{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634779300)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060774],"OrderId":466060774,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634784333)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060781],"OrderId":466060781,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634787387)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060787],"OrderId":466060787,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634790387)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060796],"OrderId":466060796,"OriginalQuantity":1.0000,"Price":11833.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634850567)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060865],"OrderId":466060865,"OriginalQuantity":1.0000,"Price":11835.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634853580)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060867],"OrderId":466060867,"OriginalQuantity":1.0000,"Price":11835.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319634856537)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060872],"OrderId":466060872,"OriginalQuantity":1.0000,"Price":11835.000000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237563},{"Currency":"USD","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1320051885183)\/","LastChangedDateTimeUtc":"\/Date(1320051885183)\/","MarketId":99498,"MarketName":"Wall Street CFD","OpeningOrderIds":[466060774,466060781,466060787,466060796,466060865,466060867,466060872],"OrderId":466396173,"OriginalQuantity":7.0000,"Price":12127.000000000,"Quantity":0.0000,"RealisedPnl":2052.000000,"RealisedPnlCurrency":"USD","TradingAccountId":400237563}]}

11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.RequestCache - Removed https://ciapi.cityindex.com/tradingapi/order/tradehistory?tradingaccountid=400237563&maxresults=100 from cache
11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Dispatched #2 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100 
11/13/2011 1:54:04 PM [INFO]  CityIndex.JsonClient.ThrottedRequestQueue - Received #2 : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100 
11/13/2011 1:54:04 PM [DEBUG] CityIndex.JsonClient.RequestController - request completed:
ITEM
ItemState       : Pending
Url             : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100
Method          : GET
Target          : order
UriTemplate     : /tradehistory?TradingAccountId={tradingAccountId}&MaxResults={maxResults}
Parameters      :
Request URI     : https://ciapi.cityindex.com/tradingapi/order/tradehistory?TradingAccountId=400237564&MaxResults=100
Request Headers :
    UserName: DM715257
    Session: b7a7450c-4021-48c0-804a-fa356ed78fe0
    Host: ciapi.cityindex.com
    Accept-Encoding: gzip, deflate
CacheDuration   : 00:00:00
RetryCount      : 0
ThrottleScope   : default
Expiration      : 0001-01-01 00:00:00Z
ResponseText    : {"TradeHistory":[{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319445326120)\/","LastChangedDateTimeUtc":"\/Date(1319446872877)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465832461],"OrderId":465832461,"OriginalQuantity":1.0000,"Price":5505.400000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319446872877)\/","LastChangedDateTimeUtc":"\/Date(1319446872877)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465832461],"OrderId":465834518,"OriginalQuantity":1.0000,"Price":5493.900000000,"Quantity":0.0000,"RealisedPnl":-11.500000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319456887213)\/","LastChangedDateTimeUtc":"\/Date(1319462114990)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465843183],"OrderId":465843183,"OriginalQuantity":1.0000,"Price":5500.900000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459435800)\/","LastChangedDateTimeUtc":"\/Date(1319461943887)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845345],"OrderId":465845345,"OriginalQuantity":1.0000,"Price":1.593460000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459453800)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845355],"OrderId":465845355,"OriginalQuantity":1.0000,"Price":1.593480000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459466833)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845364],"OrderId":465845364,"OriginalQuantity":1.0000,"Price":1.593500000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459485613)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845376],"OrderId":465845376,"OriginalQuantity":1.0000,"Price":1.593410000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319459502133)\/","LastChangedDateTimeUtc":"\/Date(1319462057587)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845397],"OrderId":465845397,"OriginalQuantity":50.0000,"Price":1.593340000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319461943887)\/","LastChangedDateTimeUtc":"\/Date(1319461943887)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845345],"OrderId":465847779,"OriginalQuantity":1.0000,"Price":1.591850000,"Quantity":0.0000,"RealisedPnl":16.100000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319461956817)\/","LastChangedDateTimeUtc":"\/Date(1319462057587)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465847783],"OrderId":465847783,"OriginalQuantity":1.0000,"Price":1.591510000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319461985277)\/","LastChangedDateTimeUtc":"\/Date(1319461996333)\/","MarketId":38955,"MarketName":"Anglo American Rolling Spread","OpeningOrderIds":[465847791],"OrderId":465847791,"OriginalQuantity":1.0000,"Price":2286.290000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319461996333)\/","LastChangedDateTimeUtc":"\/Date(1319461996333)\/","MarketId":38955,"MarketName":"Anglo American Rolling Spread","OpeningOrderIds":[465847791],"OrderId":465847807,"OriginalQuantity":1.0000,"Price":2279.720000000,"Quantity":0.0000,"RealisedPnl":-6.570000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319462035733)\/","LastChangedDateTimeUtc":"\/Date(1319462035733)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845355,465845364,465845376,465845397],"OrderId":465847823,"OriginalQuantity":50.0000,"Price":1.591960000,"Quantity":0.0000,"RealisedPnl":693.700000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319462057587)\/","LastChangedDateTimeUtc":"\/Date(1319462057587)\/","MarketId":80905,"MarketName":"GBP\/USD (per 0.0001) Rolling Spread","OpeningOrderIds":[465845397,465847783],"OrderId":465847834,"OriginalQuantity":4.0000,"Price":1.591710000,"Quantity":0.0000,"RealisedPnl":46.900000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319462096063)\/","LastChangedDateTimeUtc":"\/Date(1319462114990)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465847851],"OrderId":465847851,"OriginalQuantity":1.0000,"Price":5509.400000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319462114990)\/","LastChangedDateTimeUtc":"\/Date(1319462114990)\/","MarketId":71442,"MarketName":"UK 100 Rolling Spread","OpeningOrderIds":[465843183,465847851],"OrderId":465847869,"OriginalQuantity":2.0000,"Price":5508.400000000,"Quantity":0.0000,"RealisedPnl":6.500000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702109740)\/","LastChangedDateTimeUtc":"\/Date(1319738581783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168198],"OrderId":466168198,"OriginalQuantity":1.0000,"Price":36.030000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702229743)\/","LastChangedDateTimeUtc":"\/Date(1319738562603)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168377],"OrderId":466168377,"OriginalQuantity":1.0000,"Price":36.040000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702257093)\/","LastChangedDateTimeUtc":"\/Date(1319738592620)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168415],"OrderId":466168415,"OriginalQuantity":1.0000,"Price":36.030000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702260093)\/","LastChangedDateTimeUtc":"\/Date(1319738641070)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168426],"OrderId":466168426,"OriginalQuantity":1.0000,"Price":36.030000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702266247)\/","LastChangedDateTimeUtc":"\/Date(1319738594230)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168434],"OrderId":466168434,"OriginalQuantity":1.0000,"Price":36.040000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702269247)\/","LastChangedDateTimeUtc":"\/Date(1319738645783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168437],"OrderId":466168437,"OriginalQuantity":1.0000,"Price":36.040000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702594380)\/","LastChangedDateTimeUtc":"\/Date(1319738569913)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168866],"OrderId":466168866,"OriginalQuantity":1.0000,"Price":36.140000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702597483)\/","LastChangedDateTimeUtc":"\/Date(1319738645600)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168872],"OrderId":466168872,"OriginalQuantity":1.0000,"Price":36.150000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702667400)\/","LastChangedDateTimeUtc":"\/Date(1319738576570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168955],"OrderId":466168955,"OriginalQuantity":1.0000,"Price":36.130000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702684063)\/","LastChangedDateTimeUtc":"\/Date(1319738645570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168974],"OrderId":466168974,"OriginalQuantity":1.0000,"Price":36.190000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319702687063)\/","LastChangedDateTimeUtc":"\/Date(1319738562783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168976],"OrderId":466168976,"OriginalQuantity":1.0000,"Price":36.190000000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738562603)\/","LastChangedDateTimeUtc":"\/Date(1319825602383)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218054,466168377],"OrderId":466218054,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738562603)\/","LastChangedDateTimeUtc":"\/Date(1319738562603)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168377],"OrderId":466218053,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.020000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738562783)\/","LastChangedDateTimeUtc":"\/Date(1319825602473)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218065,466168976],"OrderId":466218065,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738562783)\/","LastChangedDateTimeUtc":"\/Date(1319738562783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168976],"OrderId":466218064,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.870000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738569913)\/","LastChangedDateTimeUtc":"\/Date(1319825607853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218487,466168866],"OrderId":466218487,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738569913)\/","LastChangedDateTimeUtc":"\/Date(1319738569913)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168866],"OrderId":466218485,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738576570)\/","LastChangedDateTimeUtc":"\/Date(1319825615323)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219075,466168955],"OrderId":466219075,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738576570)\/","LastChangedDateTimeUtc":"\/Date(1319738576570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168955],"OrderId":466219074,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.930000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738581783)\/","LastChangedDateTimeUtc":"\/Date(1319825619753)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219440,466168198],"OrderId":466219440,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738581783)\/","LastChangedDateTimeUtc":"\/Date(1319738581783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168198],"OrderId":466219439,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.030000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738592620)\/","LastChangedDateTimeUtc":"\/Date(1319825628363)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219932,466168415],"OrderId":466219932,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738592620)\/","LastChangedDateTimeUtc":"\/Date(1319738592620)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168415],"OrderId":466219931,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.030000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738594230)\/","LastChangedDateTimeUtc":"\/Date(1319825629653)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219988,466168434],"OrderId":466219988,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738594230)\/","LastChangedDateTimeUtc":"\/Date(1319738594230)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168434],"OrderId":466219987,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.020000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738641070)\/","LastChangedDateTimeUtc":"\/Date(1319825592853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221692,466168426],"OrderId":466221692,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738641070)\/","LastChangedDateTimeUtc":"\/Date(1319738641070)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168426],"OrderId":466221691,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.030000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738645570)\/","LastChangedDateTimeUtc":"\/Date(1319825595607)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221898,466168974],"OrderId":466221898,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738645570)\/","LastChangedDateTimeUtc":"\/Date(1319738645570)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168974],"OrderId":466221897,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.870000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738645600)\/","LastChangedDateTimeUtc":"\/Date(1319825596423)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221901,466168872],"OrderId":466221901,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738645600)\/","LastChangedDateTimeUtc":"\/Date(1319738645600)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168872],"OrderId":466221899,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0.910000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319738645783)\/","LastChangedDateTimeUtc":"\/Date(1319825596547)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221914,466168437],"OrderId":466221914,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319738645783)\/","LastChangedDateTimeUtc":"\/Date(1319738645783)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466168437],"OrderId":466221913,"OriginalQuantity":1.0000,"Price":37.060000000,"Quantity":0.0000,"RealisedPnl":1.020000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825592853)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466327905,466221692],"OrderId":466327905,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825592853)\/","LastChangedDateTimeUtc":"\/Date(1319825592853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221692],"OrderId":466327904,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825595607)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328016,466221898],"OrderId":466328016,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825595607)\/","LastChangedDateTimeUtc":"\/Date(1319825595607)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221898],"OrderId":466328015,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825596423)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328019,466221901],"OrderId":466328019,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825596423)\/","LastChangedDateTimeUtc":"\/Date(1319825596423)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221901],"OrderId":466328018,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825596547)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328025,466221914],"OrderId":466328025,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825596547)\/","LastChangedDateTimeUtc":"\/Date(1319825596547)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466221914],"OrderId":466328024,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825602383)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328266,466218054],"OrderId":466328266,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825602383)\/","LastChangedDateTimeUtc":"\/Date(1319825602383)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218054],"OrderId":466328265,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825602473)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328272,466218065],"OrderId":466328272,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825602473)\/","LastChangedDateTimeUtc":"\/Date(1319825602473)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218065],"OrderId":466328271,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825607853)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328487,466218487],"OrderId":466328487,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825607853)\/","LastChangedDateTimeUtc":"\/Date(1319825607853)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466218487],"OrderId":466328486,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825615323)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328733,466219075],"OrderId":466328733,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825615323)\/","LastChangedDateTimeUtc":"\/Date(1319825615323)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219075],"OrderId":466328732,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825619753)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466328909,466219440],"OrderId":466328909,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825619753)\/","LastChangedDateTimeUtc":"\/Date(1319825619753)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219440],"OrderId":466328908,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825628363)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466329274,466219932],"OrderId":466329274,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825628363)\/","LastChangedDateTimeUtc":"\/Date(1319825628363)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219932],"OrderId":466329273,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1319825629653)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466329330,466219988],"OrderId":466329330,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":0,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1319825629653)\/","LastChangedDateTimeUtc":"\/Date(1319825629653)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466219988],"OrderId":466329329,"OriginalQuantity":1.0000,"Price":35.140000000,"Quantity":0.0000,"RealisedPnl":-1.920000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1320051879673)\/","LastChangedDateTimeUtc":"\/Date(1320051879673)\/","MarketId":39009,"MarketName":"Lloyds Banking Group Rolling Spread","OpeningOrderIds":[466327905,466328016,466328019,466328025,466328266,466328272,466328487,466328733,466328909,466329274,466329330],"OrderId":466396165,"OriginalQuantity":11.0000,"Price":34.430000000,"Quantity":0.0000,"RealisedPnl":-7.810000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1321015715387)\/","LastChangedDateTimeUtc":"\/Date(1321015751687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488692],"OrderId":467488692,"OriginalQuantity":2.0000,"Price":1.020080000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1321015751687)\/","LastChangedDateTimeUtc":"\/Date(1321015751687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488692],"OrderId":467488711,"OriginalQuantity":2.0000,"Price":1.019760000,"Quantity":0.0000,"RealisedPnl":-6.400000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564},{"Currency":"GBP","Direction":"buy","ExecutedDateTimeUtc":"\/Date(1321015778783)\/","LastChangedDateTimeUtc":"\/Date(1321015794687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488724],"OrderId":467488724,"OriginalQuantity":3.0000,"Price":1.019980000,"Quantity":0.0000,"RealisedPnl":null,"RealisedPnlCurrency":"","TradingAccountId":400237564},{"Currency":"GBP","Direction":"sell","ExecutedDateTimeUtc":"\/Date(1321015794687)\/","LastChangedDateTimeUtc":"\/Date(1321015794687)\/","MarketId":81136,"MarketName":"USD\/CAD (per 0.0001) Rolling Spread","OpeningOrderIds":[467488724],"OrderId":467488733,"OriginalQuantity":3.0000,"Price":1.019580000,"Quantity":0.0000,"RealisedPnl":-12.000000,"RealisedPnlCurrency":"GBP","TradingAccountId":400237564}]}

can you check the test again with your account. you can also tell me if you are trying production or preprod and what account.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×