MCPcopy Create free account
hub / github.com/MikePia/structjour / groupByTime

Method groupByTime

structjour/view/charts/chartdatabase.py:224–291  ·  view source on GitHub ↗

Group the trades into arrays grouped by number of days or number of months. And then create pnls, an array or the summarized pnl for group. and endingdates, an array of a represetative date for each array based on the first date in the group :params trades: A

(self, trades, numdays=None, begindate=None, enddate=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getChartUserDataMethod · 0.45

Calls 1

advanceMonthFunction · 0.90

Tested by

no test coverage detected