braverock / blotter

blotter provides transaction infrastructure for defining transactions, portfolios and accounts for trading systems and simulation. Provides portfolio support for multi-asset class and multi-currency portfolios. Actively maintained and developed.
112 stars 49 forks source link

txnsim - Need to apply an adjustment to sampled start timestamps where these fall on weekends or holidays, and will therefore not be inside our market data object.. #62

Closed jaymon0703 closed 6 years ago

jaymon0703 commented 6 years ago

txnsim - When buiding the transactions data frame from our sampled durations, we correctly apply an adjustment to our end date where the specific end date is not in our market data object. Typically, this will be when a sampled end timestamp falls on a weekend or holiday. We need to apply a similar adjustment for our sampled start timestamps.