MCPcopy Create free account
hub / github.com/ccxt/ccxt / test_ymd

Function test_ymd

python/ccxt/test/base/test_datetime.py:120–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118
119
120def test_ymd():
121 exchange = ccxt.Exchange({
122 'id': 'sampleexchange',
123 })
124 test_ms = 1750123456789 # 17 June 2025
125 value = exchange.ymd(test_ms, '_')
126 assert value == '2025_06_17'
127
128
129def test_ymdhms():

Callers 1

test_datetimeFunction · 0.85

Calls 2

ymdMethod · 0.95
ExchangeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…