gs_quant.markets.position_set.PositionSet.get_unresolved_positions

PositionSet.get_unresolved_positions()[source]

Retrieve formatted unresolved positions

Return type:

DataFrame

Returns:

DataFrame of unresolved positions for position set

Usage

View position set unresolved position info

Examples

Get position set unresolved positions:

>>> from gs_quant.markets.position_set import Position, PositionSet
>>>
>>> my_positions = [Position(identifier='AAPL UW'), Position(identifier='MSFT UW')]
>>> position_set = PositionSet(positions=my_positions)
>>> position_set.resolve()
>>> position_set.get_unresolved_positions()

See also

get_positions() get_unpriced_positions() resolve() price()