Giter Club home page Giter Club logo

cryptobot's People

Contributors

dependabot[bot] avatar guillerbr avatar nicolasbonnici avatar pgrimaud 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

cryptobot's Issues

Asset/Currency as exchange properties

Hi again,

I noticed that the asset/currency pair is set as an exchange property. This means that strategies will only be able to trade on one pair and use information respective to that. Was this a conscious design choice?
If not, I would argue that it would be better to let it fall into a strategy's responsibility to decide on what pair to trade, e.g. by initialising a generic strategy with the pair i want it to trade or having a strategy that is optimised for a certain set of (multiple) coins.

Anyway, for now I implemented a quick pair class and pulled the pair dependency out of the exchange, for you to have a look.
Tell me what you think.

Cheers

Readme: postgres + rest

Hi nicolas,

nice work so far. Could you perhaps add a short quick-start guide in the readme on how you setup the rest + postgres?

Best.

'Dataset' object has no attribute 'get'

In file backtest.py:

         dataset = Dataset().get({"exchange": exchange.name.lower(),
                                 "currency": exchange.currency.lower(),
                                 "asset": exchange.asset.lower(),
                                 "periodStart": period_start, "periodEnd": period_end, "candleSize": interval})

however, nowhere in the Dataset i can see .get method:

class Dataset(AbstractModel):
    resource_name = 'datasets'

    pair: str = ''
    exchange: str = ''
    period_start: str = ''
    period_end: str = ''
    currency: str = ''
    asset: str = ''

    relations = {'exchange': Exchange, 'currency': Currency, 'asset': Currency}

    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.pair = self.get_pair()

    def get_pair(self):
        return utils.format_pair(self.currency, self.asset)

Any idea, what i am missing?

Totally New to Github Projects

Hi,
I'm totally new to Github Project and hence i'm not able to install or run your project. I was able to download the whole zip of your files and pasted them into my anaconda directory, afterward i installed the requirements file and run into some errors which I fixed by installing the packages manually. But now I'm trying to run the main.py file with "python main" in my command shell and i keep running into the same error.
"UndefinedValueError('{} not found. Declare it as envvar or define a default value.'.format(option))
decouple.UndefinedValueError: API_ROOT not found. Declare it as envvar or define a default value."
I also placed my api keys for binance into the .env file. What am I doing wrong or how am I supposed to run it?

Sorry for the silly question just trying to figure out how to run any github project, thanks for the help in advance!

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.