Git Product home page Git Product logo

Comments (11)

bhaktatejas922 avatar bhaktatejas922 commented on May 15, 2024

An example using the printing the result of an API call would be great. Say OHLC data for example, and printing the array.

from python3-krakenex.

bhaktatejas922 avatar bhaktatejas922 commented on May 15, 2024

Using the result of an API call is a bit weird to understand from the documentation on krakens site

from python3-krakenex.

veox avatar veox commented on May 15, 2024

Example: full logging.

Seeing how Kraken only keeps a short history available directly, including in its integration with cryptowat.ch, - show how to get the ledger while it's still available, and store locally.

Bonus points for instructions on displaying this historic data, e.g. by converting to a dataset understood by a web widget.

from python3-krakenex.

Dessoul avatar Dessoul commented on May 15, 2024

Hi,

I have made a simple script that send a market order.
The pair, type and volume can be set with a configuration file.
I personally use this to make a Dollars cost averaging strategy, just as described here : https://www.reddit.com/r/CryptoCurrency/comments/5yyqn6/help_dollarcost_averaging_buying_eth_btc_on_a/

If you think it can be useful, I can upload this with pleasure on example section.

Important to say : I am far from being a good developper

from python3-krakenex.

veox avatar veox commented on May 15, 2024

Sounds OK to me @Dessoul - just make sure not to include API keys in git history. :)

from python3-krakenex.

Dessoul avatar Dessoul commented on May 15, 2024

@veox it is done. As I am not really comfortable with collaborative use of GitHub I hope I did not make a mess on the repo.
Feel free to tell me if there is any problem.
By the way, thanks for the job. Your library is just perfect !

from python3-krakenex.

veox avatar veox commented on May 15, 2024

Cool. For ref, that'd be PR #14.

Closing this issue, since there's enough examples now IMO, considering how tiny krakenex itself is.

from python3-krakenex.

AlexFine avatar AlexFine commented on May 15, 2024

@veox thanks for putting this all together. Maybe this is a dumb question, but in "AddOrder," how do you short with margin trading? Do you just sell with leverage?

from python3-krakenex.

veox avatar veox commented on May 15, 2024

@AlexFine I have no clue; I've never used the package for margin trading.

In a few "manual" attempts through Kraken's web interfaces, that indeed seemed the way: sell with leverage. But don't trust me on this one.

from python3-krakenex.

AlexFine avatar AlexFine commented on May 15, 2024

@veox I'll spend some more time investigating it independently. Once I get it working I'd be happy to make an example and push it to this repo if you're interested in adding it in the examples folder. If not no worries.

from python3-krakenex.

veox avatar veox commented on May 15, 2024

@AlexFine Sounds good to me if it's simple. :)

If it's, say, longer than a hundred lines of code, or uses more than a couple dependencies outside of the ones in krakenex's dependency tree (all via requests), then it's better to host separately.

from python3-krakenex.

Related Issues (20)

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.