Sha256: c124b41af83148bc338732df32bc40a0672118abe14a68985187607be50c7bd4

Contents?: true

Size: 1.76 KB

Versions: 136

Compression:

Stored size: 1.76 KB

Contents

# CybridApiBank::TradeBankModel

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **guid** | **String** | Auto-generated unique identifier for the 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 trade was created at. | [optional] |
| **updated_at** | **Time** | ISO8601 datetime the trade was last updated at. | [optional] |

## Example

```ruby
require 'cybrid_api_bank_ruby'

instance = CybridApiBank::TradeBankModel.new(
  guid: 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
)
```

Version data entries

136 entries across 136 versions & 1 rubygems

Version Path
cybrid_api_bank_ruby-0.97.0 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.96.1 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.96.0 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.95.7 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.95.5 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.95.4 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.95.3 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.95.2 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.95.1 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.95.0 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.94.57 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.94.56 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.94.55 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.94.52 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.94.51 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.94.50 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.94.49 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.94.48 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.94.47 docs/TradeBankModel.md
cybrid_api_bank_ruby-0.94.46 docs/TradeBankModel.md