DB2 window function - running total of X for preceding N minutes worth of rows
Db2 does not support the INTERVAL keyword on OLAP window-aggregation-group-clause  https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.5.0/com.ibm.db2.luw.sql.ref.doc/doc/r0023461.html  so you need to convert the TIMESTAMPs to MINIUTEs first.  E.g

    ID
,   "TIME"
,   "P/L"
,   SUM("P/L") OVER (PARTITION BY ID
                 ORDER BY (DAYS("TIME") * 84000::BIGINT + MIDNIGHT_SECONDS("TIME"))/60
                 RANGE BETWEEN 10 PRECEDING AND CURRENT ROW) as ROLLING
FROM 
    TABLE(VALUES 
        ('T1','2020-01-07-15.10.00',1.2)
    ,   ('T1','2020-01-07-15.25.00',2.2)
    ,   ('T1','2020-01-07-15.30.00',3.2)
    ,   ('T1','2020-01-07-15.40.00',4.2)
    ) AS T(ID, "TIME", "P/L")


REturns

ID|TIME               |P/L|ROLLING
--|-------------------|---|-------
T1|2020-01-07-15.10.00|1.2|    1.2
T1|2020-01-07-15.25.00|2.2|    2.2
T1|2020-01-07-15.30.00|3.2|    5.4
T1|2020-01-07-15.40.00|4.2|    7.4