xbugszone / cryptotools
Framework with tools to trade cryptocurrency
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.0
- ccxt/ccxt: ^1.60
This package is auto-updated.
Last update: 2025-03-27 21:07:53 UTC
README
CryptoTools Framework
CryptoFramework is a framework intended to easily create bots to manage cryptocurrencies.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
About The Project
CryptoFramework is a framework intended to easily create bots to manage cryptocurrencies.
Built With
Getting Started
To get started you can use as base a framework like laravel or symfony but for this example I will use it in a blank project
Prerequisites
This is an example of how to list things you need to use the software and how to install them.
- composer blank project
composer init
Installation
- install package in the blank project folder
composer require xbugszone/cryptotools
Usage
- Create a folder called Brokers in your project and with a file inside, for this example we will use the Bitstamp exchange so lets call this file MyBitstamp.php In this file should be this code
namespace App\Brokers; use ccxt\bitstamp; use Xbugszone\Cryptotools\Brokers\CCTXBroker; class MyBitstamp extends CCTXBroker { protected string $exchange = bitstamp::class; protected string $apiKey = "your api key"; protected string $apiSecret = "your api secret"; }
-
Get the API Key from the selected exchange and update on the file
-
Now to run this app we create a file inside our project but outside of the Brokers folder and we can call it run.php with the following code:
<?php namespace App\Console\Commands; use App\Brokers\MyBitstamp; $broker = new MyBitstamp(); print_r($broker->getBalance());
Roadmap
- [] Brokers automatic stubs
- [] Signals
- [] Strategies
- [] Bot squeleton stubs
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact
Tiago Andre xbugszone@gmail.com
https://github.com/xbugszone/cryototools