Skip to content

Declared in <galanthus/c_api/gln_capi.h>.

GLN_API const char* GLN_CALL gln_get_holding_price_date(const gln_holding_t* in_holding);
  • Family: Row field accessors
  • Return type: const char*

Purpose

Returns the price date when available.

Return

Returns the provider's date for the price when the source supplies one. Returns NULL when the optional field is not materialized or when the input handle is NULL.

TypeNullabilityOwnership
const char*nullableborrowed

Parameters

NameDirectionTypeNullabilityOwnership
in_holdinginputconst gln_holding_t*nullableborrowed

Price Semantics

Returns the provider's date for the price when the source supplies one.

MT535 parsing normalizes numeric price dates to YYYY-MM-DD; FinTS 4.1 XML holdings preserve the source date text. NULL means no price date was materialized.

Notes

Passing NULL for in_holding is allowed and returns NULL.

NULL means the provider did not supply this optional field for the row.

The returned pointer is borrowed from the owning backend result envelope and becomes invalid when that envelope is destroyed.

See Also