ores.trading.structure_kind

Table of Contents

Reference data table defining the rungs of the composition ladder. A kind says how strongly the structure binds its legs, and the one consequence that follows for the customer: whether the deal is confirmed as one document or trade by trade.

Examples: 'Strategy', 'Typed', 'Dynamic', 'Package'.

1. Flags

2. Columns

2.1. code

The structure kind code.

Examples: 'Strategy', 'Typed', 'Package'.

std::string("Strategy")

2.2. description

What the rung binds its legs by, and how far it is priced as a whole.

std::string(faker::lorem::sentence())

2.3. confirms_as_whole

True when the structure is confirmed as one document. False when the deal confirms trade by trade, which is what a package does: it binds its legs to nothing economic, so each leg is its own confirmation.

true

3. SQL

3.1. Flags

3.2. Extra drops

drop function if exists ores_trading_validate_structure_kind_fn;

4. C++

4.1. Flags

4.2. Repository

4.3. Domain includes

#include <string>

4.4. Conventions

4.5. Table display

column header
code Code
description Description
confirms_as_whole Confirms whole
modified_by Modified By
version Version

4.6. Presentation

4.6.1. Detail fields

field label widget type is_key is_required placeholder
code Code codeEdit line_edit true true Enter structure kind code
description Description descriptionEdit text_edit     Enter a description
confirms_as_whole Confirms whole confirmsAsWholeEdit checkbox      

4.6.2. Columns

enum_name field header type width
Code code Code string 120
Description description Description string 300
ConfirmsAsWhole confirms_as_whole Confirms whole boolean 130
Version version Version int 80
ModifiedBy modified_by Modified By string 120
RecordedAt recorded_at Recorded At timestamp 150

4.7. Custom repository methods

5. See also

Emacs 29.3 (Org mode 9.6.15)