Paper trading

Server time (keyless)

Server clock. Pass client_ts to get drift_ms back - a bot bucketing candles against a drifting local clock builds bars nobody else sees.

get/api/bot/v1/time

Request

  • Base URL: https://marginpad.io
  • URL: https://marginpad.io/api/bot/v1/time
  • Auth: none declared

Query parameters

client_tsstring

Your unix ms, to measure drift.

Response

ok

server_time_msinteger
server_time_isostring
client_time_msinteger
drift_msinteger

client_ts minus server time, when you pass ?client_ts=

Changes

No recorded changes to this operation across all 1 revision of this API.