Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

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

Open
05remla opened this issue Dec 9, 2021 · 2 comments
Open

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

05remla opened this issue Dec 9, 2021 · 2 comments
Assignees

Comments

@05remla
Copy link

05remla commented Dec 9, 2021

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...

@Tjorriemorrie
Copy link

Yeah I have the exact same problem, except it is 100 items being returned for me. Also the docs shows :param kwargs: [Optional] startAt, endAt, currentPage, pageSize where the paging does not exist.

@kevwilhelm95
Copy link

I am also experiencing this issue. If anyone has any information please update

@ISAAC-XXYYZZ ISAAC-XXYYZZ self-assigned this Jul 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants