Code Monkey home page Code Monkey logo

kraken-scheduler's People

Contributors

jackpf avatar matiasvillaverde avatar

Stargazers

 avatar

Watchers

 avatar

kraken-scheduler's Issues

Feature request: add strategies for advanced DCA

Advanced DCA Strategy

We can improve the performance of your dollar cost averaging strategy by making use of some simple tools.

For example it would be great to use simple technical analysis tools to get a signal, instead of a fixed time interval.

Some examples of signals that traders can use for better timing entries include buying when Crypto approaches a high time frame moving average (like the 200 DMA), looking for unusually oversold conditions (RSI or MACD), or using a valuation tool like the bitcoin stock to flow model.

Feature request: specify amounts of an order in crypto

What is the current behavior?

Now is only possible to specify the amount in Fiat.

What is the expected behavior?

New entry to specify the amount in Crypto. For example:

{
  "schedules": [
    {
      "cron":  "00 12 * * 1",
      "pair": "XXBTZEUR",
      "amount-in-fiat": 100.00
    },
    {
      "cron":  "00 12 1 * *",
      "pair": "ADAEUR",
      "amount-in-crypto": 5.00
    }
  ]
}

What is the motivation / use case for changing the behavior?

Kraken API has a minimum order size (volume) for trading in crypto. You can find more information here Therefore, when setting up a price in Fiat, it can be lower than the minimum order size.

By setting a amount-in-crypto we can ensure that the order will be above the minimum order size.

Feature request: output stats of how much was the price of DCA

What is the expected behavior?

It would be useful to have stats about the price of the crypto bought at a given period. We can calculate it with the following formula:

Dollar-Cost Averaging Formula

The formula for calculating the dollar cost average over 3 purchase periods looks like this.

Dollar-Cost Average = ((P * T) + (P * T) + (P * T)) ÷ ∑ T

P = Crypto Price
T = Number of tokens Purchased.

or an even simpler formula for calculating the Dollar Cost Average.

Dollar-Cost Average = Total $ Amount Invested ÷ Total Number of token Owned.

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.