fairdesk / fairdesk-api-docs

API docs for fairdesk exchange
5 stars 7 forks source link

EPoch milliseconds #3

Open brayden-jo opened 2 years ago

brayden-jo commented 2 years ago

In this manual, the precision of the expiry is explained as the milliseconds of the unix time. however, it seems to be nano seconds. when I use the ms, the private api return the error.

import time 

epoch = int(time.time() * 1000) # ms
epoch2 = int(time.time() * 1000000) # ns