Comments (11)
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.
Using the result of an API call is a bit weird to understand from the documentation on krakens site
from python3-krakenex.
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.
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.
Sounds OK to me @Dessoul - just make sure not to include API keys in git
history. :)
from python3-krakenex.
@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.
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.
@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.
@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.
@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.
@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)
- addorder take profit HOT 1
- No module named 'krakenex' after install on python 3.7 HOT 5
- Adding 'close' order doesn't work: EAPI:Invalid key HOT 6
- Channel that lists krakenex on Anaconda? HOT 1
- Unknown asset pair HOT 2
- Can't expire a websocket token received through GetWebSocketsToken HOT 2
- How to get available balance information? HOT 1
- Authenticator or wrong key? HOT 2
- Handling ConnectionError, HTTPError thrown during a query HOT 3
- Unexpected Response from 'Balances' Endpoint HOT 1
- Add Order Broken HOT 1
- Add order giving me invalid Key error. HOT 5
- why is fetching of balance returning error? HOT 2
- deposit addresses HOT 1
- CancelOrderBatch
- post requests no longer accepted for market data endpoint HOT 2
- GET request params in data are ignored HOT 5
- Staking vs. Earn HOT 1
- Why set default value of dictionary parameters to None, but then change them to {} at beginning of method?
- How to turn off debug level in krakenex / requests module? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python3-krakenex.