Hi,
I'm getting the following error attempting to call placeOrders using the delayed API key:
{ code: -32099,
message: 'ANGX-0015',
data:
{ APINGException:
{ requestUUID: 'prdang043-04180848-006043bdfa',
errorCode: 'ACCESS_DENIED',
errorDetails: '' },
exceptionname: 'APINGException' } }
I'm seeing conflicting information in previous similar posts, some saying that place orders only works with live key, others having delayed keys with betting disabled and then subsequently having betting enabled on delayed key.
For further info, here is the request:
{ request:
{ jsonrpc: '2.0',
id: 18,
method: 'SportsAPING/v1.0/placeOrders',
params: { marketId: '1.131379950', instructions: [Object] } }
Of which the instructions object is made up of:
[ { orderType: 'LIMIT',
selectionId: 424762,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12942908,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12787742,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12925606,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12973175,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12973176,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12899177,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12899179,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } } ]
Any help appreciated.
Regards
Andy
I'm getting the following error attempting to call placeOrders using the delayed API key:
{ code: -32099,
message: 'ANGX-0015',
data:
{ APINGException:
{ requestUUID: 'prdang043-04180848-006043bdfa',
errorCode: 'ACCESS_DENIED',
errorDetails: '' },
exceptionname: 'APINGException' } }
I'm seeing conflicting information in previous similar posts, some saying that place orders only works with live key, others having delayed keys with betting disabled and then subsequently having betting enabled on delayed key.
For further info, here is the request:
{ request:
{ jsonrpc: '2.0',
id: 18,
method: 'SportsAPING/v1.0/placeOrders',
params: { marketId: '1.131379950', instructions: [Object] } }
Of which the instructions object is made up of:
[ { orderType: 'LIMIT',
selectionId: 424762,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12942908,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12787742,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12925606,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12973175,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12973176,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12899177,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } },
{ orderType: 'LIMIT',
selectionId: 12899179,
side: 'LAY',
limitOrder: { price: 1.8, size: '4.24', persistenceType: 'PERSIST' } } ]
Any help appreciated.
Regards
Andy


Comment