Sha256: 1d95cf4303342b6affb780601c14f2bd5014869c0c6daaba0a2a687c4a35787e

Contents?: true

Size: 1.96 KB

Versions: 55

Compression:

Stored size: 1.96 KB

Contents

# CybridApiBank::TradeBankModel

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **guid** | **String** | Auto-generated unique identifier for the trade. | [optional] |
| **trade_type** | **String** | The type of trade. | [optional] |
| **customer_guid** | **String** | The associated customer's identifier. | [optional] |
| **quote_guid** | **String** | The associated quote's identifier. | [optional] |
| **symbol** | **String** | The trade symbol the pricing is related to. Format is asset-counter_asset, e.g., BTC-USD. | [optional] |
| **side** | **String** | The direction of the quote: either 'buy' or 'sell'. | [optional] |
| **state** | **String** | The trade's state | [optional] |
| **failure_code** | **String** | The failure code for failed trades. | [optional] |
| **receive_amount** | **Integer** | The amount to be received in base units of the currency: currency is \"asset\" for buy and \"counter_asset\" for sell. | [optional] |
| **deliver_amount** | **Integer** | The amount to be delivered in base units of the currency: currency is \"counter_asset\" for buy and \"asset\" for sell. | [optional] |
| **fee** | **Integer** | The fee associated with the trade. Denominated in \"counter_asset\" base units | [optional] |
| **created_at** | **Time** | ISO8601 datetime the record was created at. | [optional] |
| **updated_at** | **Time** | ISO8601 datetime the record was last updated at. | [optional] |
| **labels** | **Array<String>** | The labels associated with the trade. | [optional] |

## Example

```ruby
require 'cybrid_api_bank_ruby'

instance = CybridApiBank::TradeBankModel.new(
  guid: null,
  trade_type: null,
  customer_guid: null,
  quote_guid: null,
  symbol: null,
  side: null,
  state: null,
  failure_code: null,
  receive_amount: null,
  deliver_amount: null,
  fee: null,
  created_at: null,
  updated_at: null,
  labels: null
)
```

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
cybrid_api_bank_ruby-0.113.6 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.113.5 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.113.4 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.113.3 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.113.2 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.40 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.39 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.38 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.37 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.36 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.35 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.34 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.33 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.32 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.30 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.28 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.27 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.26 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.25 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.112.24 docs/TradeBankModel.md