Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
API-NG Reference Guide - 20th October2014.pdf
Скачиваний:
95
Добавлен:
11.02.2015
Размер:
2.41 Mб
Скачать

corresponding back offer amounts to a minimum of 50 Euro Cents.

3.We cannot accept betting offers with potential winnings, calculated on the basis of the pre-selected odds, that exceed the amount envisaged by article 12, paragraph 4, of Finance Minister Decree no. 111 of 1 March 2006 (10,000 Euros). N.B. This does not include stake.

The Italian Exchange isn't available for betting between 0100 and 0500 GMT

cancelOrders

Operation

cancelOrders

CancelExecutionReport cancelOrders ( StringmarketId,List< CancelInstruction >instructions,Strin gcustomerRef ) throws APINGException

Cancel all bets OR cancel all bets on a market OR fully or partially cancel particular orders on a market. Only LIMIT orders can be cancelled or partially cancelled once placed.

Parameter name

Type

Required

Description

marketId

String

 

If not supplied all bets

 

 

 

are cancelled

instructions

List< CancelInstruction

 

All instructions need to

 

>

 

be on the same market.

 

 

 

If not supplied all bets

 

 

 

on the market (if

 

 

 

market id is passed)

 

 

 

are fully cancelled.

 

 

 

The limit of cancel

 

 

 

instructions per request

 

 

 

is 60

customerRef

String

 

Optional parameter

 

 

 

allowing the client to

 

 

 

pass a unique string

 

 

 

(up to 32 chars) that is

 

 

 

used to de-dupe

 

 

 

mistaken

 

 

 

re-submissions.

Return type

 

Description

 

CancelExecutionReport

 

 

 

Throws

 

Description

 

APINGException

 

Generic exception that is thrown if this operation

 

 

fails for any reason.

 

Since 1.0.0

replaceOrders

Operation

replaceOrders

ReplaceExecutionReport replaceOrders ( StringmarketId , List< ReplaceInstruction >instructions , StringcustomerRef ) throws APINGException

This operation is logically a bulk cancel followed by a bulk place. The cancel is completed first then the new orders are placed. The new orders will be placed atomically in that they will all be placed or none will be placed. In the case where the new orders cannot be placed the cancellations will not be rolled back. See ReplaceInstruction.

Parameter name

Type

Required

Description

marketId

String

 

The market id these

 

 

 

orders are to be placed

 

 

 

on

instructions

List< ReplaceInstructio

 

The number of replace

 

n >

 

instructions. The limit

 

 

 

of replace instructions

 

 

 

per request is 60.

customerRef

String

 

Optional parameter

 

 

 

allowing the client to

 

 

 

pass a unique string

 

 

 

(up to 32 chars) that is

 

 

 

used to de-dupe

 

 

 

mistaken

 

 

 

re-submissions.

Return type

 

Description

 

ReplaceExecutionReport

 

 

 

Throws

 

Description

 

APINGException

 

Generic exception that is thrown if this operation

 

 

fails for any reason.

 

Since 1.0.0

updateOrders

Operation

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]