Developing a new program. Have successfully got most read-only requests working. Final piece of code to debug is the PlaceOrders request. Currently get a 400 - Bad Request from the server for the following params:
{"marketId":"1.176181490","instructions":[{"orderType":0,"selectionId":1,"handicap":0.0,"sid e":1,"limitOrder":{"size":2.0,"price":1.01,"persis tenceType":1},"limitOnCloseOrder":null,"marketOnCl oseOrder":null}]}
Can't see any more information in the HTTP response (but should I anyway?). Have compared this params string with what the API visualizer generates and can't see any difference. Any ideas what could be wrong??
Thanks in advance
{"marketId":"1.176181490","instructions":[{"orderType":0,"selectionId":1,"handicap":0.0,"sid e":1,"limitOrder":{"size":2.0,"price":1.01,"persis tenceType":1},"limitOnCloseOrder":null,"marketOnCl oseOrder":null}]}
Can't see any more information in the HTTP response (but should I anyway?). Have compared this params string with what the API visualizer generates and can't see any difference. Any ideas what could be wrong??
Thanks in advance


Comment