aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/collateral/jpm.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/collateral/jpm.py b/python/collateral/jpm.py
index fe6ee474..b2666e32 100644
--- a/python/collateral/jpm.py
+++ b/python/collateral/jpm.py
@@ -1,9 +1,11 @@
+import logging
import pandas as pd
from io import BytesIO
from pikepdf import Pdf
from . import DAILY_DIR
from .common import load_pdf, get_col, parse_num
+logger = logging.getLogger(__name__)
paths = {
"Serenitas": ["NYops", "Margin Calls JPM"],
@@ -37,7 +39,7 @@ def get_collateral(collat_page):
def load_positions(positions_page):
anchor = next(c for c in positions_page if c.text.startswith("Total Product Group"))
bottom = int(anchor["top"]) - 30
- widths = (10, 160, 300, 350, 450, 500, 550, 600, 650, 750, 850, 950, 1000, 1200)
+ widths = (10, 160, 300, 380, 450, 500, 550, 635, 700, 780, 850, 960, 1000, 1200)
cols = [
get_col(positions_page, 200, bottom, l, r) for l, r in zip(widths, widths[1:])
]