Git Product home page Git Product logo

historic_crypto's Introduction

Top Langs

Package Statistics:

Historic-Crypto

Downloads Downloads Downloads

FedTools

Downloads Downloads Downloads

Chowtest

Downloads Downloads Downloads

WorldWeatherPy

Downloads Downloads Downloads

I'm a Quantitative Developer in the Financial Services!

  • ๐Ÿ”ญ I'm currently finalising my PhD in Applied Machine Learning.
  • ๐ŸŒฑ Iโ€™m currently learning Q.
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on Crypto based projects.
  • ๐Ÿฅ… 2022 Goals: Reinforcement learning driven trading systems.
  • โšก Fun fact: I love cooking & travelling.

Connect with me:

codeSTACKr.com codeSTACKr | LinkedIn

historic_crypto's People

Contributors

david-woroniuk avatar leonshams avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

historic_crypto's Issues

Please support regex when searching ticker indices

Nice work, thank you.

BTC-USD is a valid ticker, however, currently WBTC-USD, BTC-USDT and BTC-USDC are also found.
By adding the regex=True parameter, you could now specify ^BTC-USD$ to just get BTC-USD.

I'll send a PR.

Finding earliest start date

It would be nice if there was an option to pull data from the earliest available start date. Is there a way to do that?

end_date of HitoricalData not working

I'm trying to set a cut off point for the data retrieval. However, end_date seems to have no effect at all.

Here is my script

import datetime
from Historic_Crypto import HistoricalData



delta = datetime.timedelta(weeks=3)

date_now = datetime.datetime.now()
        
end_date = date_now - delta
end_date = end_date.strftime("%Y-%m-%d-%H-%M")


df = HistoricalData('BTC-USD', 86400, '2014-01-01-00-00', end_date).retrieve_data()
print(df.tail())

Bug with simple fix after using code from PyPi site

I was trying to use the code you put on your PyPI page and I got an error: AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'?

the error was leading to code line 176 in HistoricalData.py and I found that if you change the line to:

data = pd.concat([dataset])

it solves the error. maybe you should look into this error a little bit and if possible fix it because I'm sure many people would try your library, see it doesn't work, and give up and look for another library. Thank You in advance

Annoying typo in module name Cyptocurrencies (should be Cryptocurrencies)

This is unpleasant, as correcting it might break the API. However, it should be addressed, as your module is very useful and will be used in the future.

You might do a deprecation warning in first and announce breaking changes once you bump to 1.0 remove the old name.

If you are interested, I could try to address this.

Chunk problem

Hello, thanks for your work.
I might have found an odd behaviour.
It seems that with a single chunk or two chunks, the time order changes.
See

import datetime

from Historic_Crypto import HistoricalData

signal = 'ETH-EUR'
granularity = 86400
days = 300 # try 300 or 301
date_start = (datetime.datetime.now() - datetime.timedelta(days + 1)).strftime('%Y-%m-%d-00-00')
date_end = (datetime.datetime.now() - datetime.timedelta(1)).strftime('%Y-%m-%d-00-00')

print(HistoricalData(signal, granularity, date_start, date_end).retrieve_data(), signal)

As in the comment, try with 300 (single chunk) and 300 (two chunkes)
300 => from new to old
301 => from old to new

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.