potatoe19 / kraken-automated-crypto-trading Goto Github PK
View Code? Open in Web Editor NEWIts a basic crypto trading bot using tried and true moving averages
License: GNU General Public License v3.0
Its a basic crypto trading bot using tried and true moving averages
License: GNU General Public License v3.0
This program uses Kraken API and Moving average convergence/divergence to determine which cryptos to sell and buy You'll need Kraken API keys For Running in Jupyter Notebook: Create a cell above containing !pip install krakenex ------------------------------------------------------------------------------ For running as an exe (windows): do not add !pip install krakenex create a folder, install python into it save code as .py in the folder you just created Win+R cmd cd path\to\your\project\folder python -m venv myenv myenv\Scripts\activate pip install krakenex pandas pip install pyinstaller pyinstaller --onefile your_script_name.py go to folder\dist where youll find the .exe .exe can run without supporting files ------------------------------------------------------------------------------ If you want to change which currency pairs are used, in jupyter notebook, run the following code. It will output all valid currency pairs, and the minimum amount of each pair that can be traded in one transaction. You can use this to alter the code to trade only the currency pairs you want to trade Cell 1 !pip install krakenex Cell 2 import krakenex def fetch_minimum_order_sizes(): api = krakenex.API() response = api.query_public('AssetPairs') if response.get('error'): print("Error fetching asset pair information:", response['error']) return min_order_sizes = {} for pair_name, pair_info in response['result'].items(): # Extracting the pair's minimum order size min_order_sizes[pair_name] = pair_info['ordermin'] return min_order_sizes min_order_sizes = fetch_minimum_order_sizes() if min_order_sizes: for pair, min_size in min_order_sizes.items(): print(f"{pair}: Minimum order size = {min_size}")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.