Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

get_kline function isn't returning specified dates/timesΒ #47

@05remla

Description

@05remla

import datetime
import time

t_start = datetime.datetime(2021, 1, 1)
t_start = time.mktime(t_start.timetuple())

t_stop = datetime.datetime(2021, 2, 1)
t_stop = time.mktime(t_start.timetuple())

data = marketclient.get_kline('REQ-BTC', '1min', startAt=t_start, endAt=t_stop)

all returned data is the present day - 1500 pieces of data, whether that be 1min or 1day etc...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions