Hello,
I have a c# application and try to post a bet using my account. Below are the samples of my posted request and getting response. I am little confused after see the response with ErrorCode and success status with BetId.
1) Can I check this placed bet ? How I can get my bet is really placed or not ?
2) Why this ErrorCode is add with response ? Is there any wrong parameter added with request ?
Request:
placeOrders(marketId, lstPlaceInstr, customerRef);
placeOrders ={
marketId = "1.112356717"
lstPlaceInstr[0] = {OrderType=LIMIT : SelectionId=938615:
Handicap=0 : Side=LAY : LimitOrder=Size=10.68 : Price=2.34 :
PersistenceType=MARKET_ON_CLOSE}
customerRef = "98268"}
Respond:
{PlaceExecutionReport : Status=SUCCESS : ErrorCode=ERROR_IN_MATCHER : MarketId=1.112356717 : CustomerRef=98268 : InstructionReport[0]={Status=SUCCESS : ErrorCode=INVALID_BET_SIZE : Instruction={OrderType=LIMIT : SelectionId=938615 : Handicap=0 : Side=LAY : LimitOrder=Size=10.68 : Price=2.34 : PersistenceType=MARKET_ON_CLOSE} : BetId=33019549225 : PlacedDate=04-01-2014 05:20:55 AM : AveragePriceMatched=0 : SizeMatched=0}}
Please share your knowledge with me.
I have a c# application and try to post a bet using my account. Below are the samples of my posted request and getting response. I am little confused after see the response with ErrorCode and success status with BetId.
1) Can I check this placed bet ? How I can get my bet is really placed or not ?
2) Why this ErrorCode is add with response ? Is there any wrong parameter added with request ?
Request:
placeOrders(marketId, lstPlaceInstr, customerRef);
placeOrders ={
marketId = "1.112356717"
lstPlaceInstr[0] = {OrderType=LIMIT : SelectionId=938615:
Handicap=0 : Side=LAY : LimitOrder=Size=10.68 : Price=2.34 :
PersistenceType=MARKET_ON_CLOSE}
customerRef = "98268"}
Respond:
{PlaceExecutionReport : Status=SUCCESS : ErrorCode=ERROR_IN_MATCHER : MarketId=1.112356717 : CustomerRef=98268 : InstructionReport[0]={Status=SUCCESS : ErrorCode=INVALID_BET_SIZE : Instruction={OrderType=LIMIT : SelectionId=938615 : Handicap=0 : Side=LAY : LimitOrder=Size=10.68 : Price=2.34 : PersistenceType=MARKET_ON_CLOSE} : BetId=33019549225 : PlacedDate=04-01-2014 05:20:55 AM : AveragePriceMatched=0 : SizeMatched=0}}
Please share your knowledge with me.
Comment