MCPcopy
hub / github.com/microsoft/qlib / max

Method max

qlib/workflow/task/utils.py:113–117  ·  view source on GitHub ↗

Return the max calendar datetime

(self)

Source from the content-addressed store, hash-verified

111 return self.cals[idx]
112
113 def max(self) -> pd.Timestamp:
114 """
115 Return the max calendar datetime
116 """
117 return max(self.cals)
118
119 def align_idx(self, time_point, tp_type="start") -> int:
120 """

Callers 15

_dump_pitMethod · 0.80
_get_dateMethod · 0.80
data_merge_calendarMethod · 0.80
calc_adjusted_priceFunction · 0.80
get_date_rangeFunction · 0.80
normalize_cryptoMethod · 0.80
normalize_yahooMethod · 0.80
normalize_fundMethod · 0.80
normalize_baostockMethod · 0.80
test_update_labelMethod · 0.80
mainMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_update_labelMethod · 0.64