Commit 81469986 authored by Christophe Francois's avatar Christophe Francois Committed by Vincent Ardisson

[creditmutuel] Fetch market order reference and currency

parent 44e87046
......@@ -1859,6 +1859,7 @@ class PorMarketOrdersPage(PorHistoryPage):
class item(ItemElement):
klass = MarketOrder
obj_id = Base(TableCell('direction'), Regexp(Link('.//a', default=NotAvailable), r'ref=([^&]+)'))
obj_direction = Map(
......@@ -1910,6 +1911,11 @@ class PorMarketOrderDetailsPage(LoggedPage, HTMLPage):
obj_amount = CleanDecimal.French('//td[contains(@id, "esdtdMntEstimatif")]', default=NotAvailable)
obj_currency = Coalesce(
Currency('.//table[@class="liste bourse"]/tbody', default=NotAvailable),
Currency('//td[contains(@id, "esdtdAchat")]/text()[contains(., "Limite :")]', default=NotAvailable),
class MyRecipient(ItemElement):
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