# CryptoExecutionDataClient : [`BaseDataClient`](BaseDataClient.md)
Client for Crypto execution data.

## Properties

### `OnPositionOpenUpdate`
`Observer<`[`CryptoPositionOpenUpdate`](../messagesexecution/CryptoPositionOpenUpdate.md)`>`<br/>
Triggers when position's open values are changed.

### `OnPosition`
`Observer<`[`CryptoPosition`](../messagesexecution/CryptoPosition.md)`>`<br/>
Triggers when position was updated.

### `OnPending`
`Observer<`[`CryptoPending`](../messagesexecution/CryptoPending.md)`>`<br/>
Triggers when the order on the stock exchange waiting for execution.

### `OnSending`
`Observer<`[`CryptoSending`](../messagesexecution/CryptoSending.md)`>`<br/>
Triggers when order was successfully accepted on server side.

### `OnTrade`
`Observer<`[`CryptoTrade`](../messagesexecution/CryptoTrade.md)`>`<br/>
Triggers when order was executed fully or partially.

### `OnCancelling`
`Observer<`[`CryptoCancelling`](../messagesexecution/CryptoCancelling.md)`>`<br/>
Triggers when cancel order was successfully accepted on server side.

### `OnCanceled`
`Observer<`[`CryptoCanceled`](../messagesexecution/CryptoCanceled.md)`>`<br/>
Triggers when cancel order was successfully executed.

### `OnReject`
`Observer<`[`CryptoReject`](../messagesexecution/CryptoReject.md)`>`<br/>
Triggers when order has some incorrect fields or there is some other reason causing order's fail execution.

### `OnCancelReject`
`Observer<`[`CryptoCancelReject`](../messagesexecution/CryptoCancelReject.md)`>`<br/>
Triggers when there is some reason causing cancel order's fail execution.

### `OnOrderError`
`Observer<`[`CryptoOrderError`](../messagesexecution/CryptoOrderError.md)`>`<br/>
Triggers when order was not accepted on server side.

### `OnAlert`
`Observer<`[`CryptoAlert`](../messagesexecution/CryptoAlert.md)`>`<br/>
Triggers when some special execution operation.

### `OnExecutionHistoryResponse`
`Observer<`[`CryptoExecutionHistoryResponse`](../messages/requestAndResults/CryptoExecutionHistoryResponse.md)`>`<br/>
Triggers when response on [`CryptoExecutionHistoryRequest`](../messages/requestAndResults/CryptoExecutionHistoryRequest.md) was received.

### `OnOrderStatusResponse`
`Observer<`[`CryptoOrderStatusResponse`](../messages/requestAndResults/CryptoOrderStatusResponse.md)`>`<br/>
Triggers when response on [`CryptoOrderStatusRequest`](../messages/requestAndResults/CryptoOrderStatusRequest.md) was received.

### `OnAccountOpenUpdate`
`Observer<`[`AccountCryptoOpenUpdate`](../messages/manager/AccountCryptoOpenUpdate.md)`>`<br/>
Triggers when link between user and it's accounts where updated.

## Properties ([`BaseDataClient`](BaseDataClient.md))

### `ServerState`
[`EnumValue`](../enumerations/EnumValue.md)<br/>
State of server in this client, all values from [`ServerState`](../enumerations/ServerState.md).
This property is **readonly**.

### `OnServerStateChanged`
`Observer<`[`ServerState`](../enumerations/ServerState.md)`>`<br/>
Triggers when client connection state was changed.

### `OnAuthenticationSuccessResponse`
`Observer<`[`AuthenticationSuccessResponse`](../messages/authentication/AuthenticationSuccessResponse.md)`>`<br/>
Triggers when authentication was successful for current client.

### `OnAuthenticationFailedResponse`
`Observer<`[`AuthenticationFailedResponse`](../messages/authentication/AuthenticationFailedResponse.md)`>`<br/>
Triggers when authentication was failed for current client.

### `OnRequestResult`
`Observer<`[`RequestResult`](../messages/requestAndResults/RequestResult.md)`>`<br/>
Notify that message of type [`RequestResult`](../messages/requestAndResults/RequestResult.md) was received.

### `OnClientException`
`Observer<Error>`<br/>
Triggers when exception was thrown during receive or send action.

## Methods

### `PlaceOrder(newOrder: NewCryptoOrder)`
Place order for current user, type of parameter is [`NewCryptoOrder`](../messagesexecution/NewCryptoOrder.md).

### `CancelOrder(cancelOrder: CancelCryptoOrder)`
Place cancel order for current user, type of parameter is [`CancelCryptoOrder`](../messagesexecution/CancelCryptoOrder.md).

### `SendExecutionHistoryRequest(request: CryptoExecutionHistoryRequest)`
Send request for execution history, type of parameter is [`CryptoExecutionHistoryRequest`](../messages/requestAndResults/CryptoExecutionHistoryRequest.md).

### `SendOrderStatusRequest(request: CryptoOrderStatusRequest)`
Send request to get information about order status, type of parameter is [`CryptoOrderStatusRequest`](../messages/requestAndResults/CryptoOrderStatusRequest.md).

## Methods ([`BaseDataClient`](BaseDataClient.md))

### `Connect(url: String)`
Connects current client to server with full URL.

### `Disconnect()`
Disconnects current client from server.

### `UpdateUserCredentials(userCredentials: UserCredentials)`
Updates user credentials for current data client, type of parameter is [`UserCredentials`](../messages/user/UserCredentials.md).
