Commit 44e87046 authored by Christophe Francois's avatar Christophe Francois Committed by Vincent Ardisson

[fortuneo] Fetch market order reference

parent 83c54ecf
......@@ -255,6 +255,11 @@ class PeaHistoryPage(ActionNeededPage):
klass = MarketOrder
obj__details_link = AbsoluteLink('.//a[@class="bt_l_loupe"]', default=NotAvailable)
obj_id = Regexp(
Link('.//a[@class="bt_l_loupe"]', default=NotAvailable),
r'idOrdre=([^&]+)',
default=NotAvailable,
)
obj_label = CleanText(TableCell('label'))
obj_direction = MapIn(CleanText(TableCell('direction')), MARKET_ORDER_DIRECTIONS, MarketOrderDirection.UNKNOWN)
obj_quantity = CleanDecimal.French(TableCell('quantity'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment