This project fetches OHLC (Open, High, Low, Close) data from Binance, calculates resistance and support levels, and executes trades based on these levels. The trades are then stored in a MongoDB database.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Go
- MongoDB
- Clone the repository:
git clone https://github.com/yourusername/binance-integration.git
- Navigate to the project directory:
cd binance-integration
- Install the dependencies:
go get
To run the application, use the go run
command:
go run main.go
The application will immediately execute trades based on the current resistance and support levels, and then continue to do so every 6 hours.
- Go - The programming language used
- Binance API - Used to fetch OHLC data
- TA-Lib - Used to calculate resistance and support levels
- MongoDB - Used to store trade data
We love contributions from everyone. Contributing is a great way to learn more about blockchain and trading, and to engage with our active community.
- Fork the repository on GitHub.
- Clone the forked repository to your machine.
- Make your changes and commit them to your local repository.
- Push the changes to your forked repository on GitHub.
- Submit a pull request to the main repository.
- Please ensure your pull request adheres to the following guidelines:
- Search previous suggestions before making a new one, as yours may be a duplicate.
- Make an individual pull request for each suggestion.
- Use the following format for commit messages:
Add X functionality
orFix issue in Y
. - New categories, or improvements to the existing categorisation are welcome.
- Keep descriptions short and simple, but descriptive.
- Start the description with a capital and end with a full stop/period.
- Check your spelling and grammar.
- Make sure your text editor is set to remove trailing whitespace.
We are committed to providing a friendly, safe and welcoming environment for all. Please take a moment to read our Code of Conduct.
If you have any questions, please feel free to contact me.
No license