Skip to content

Clientside trading bot that supports the Binance-exchange

License

Notifications You must be signed in to change notification settings

ek3nk4r/TradingBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trading bot! 💸📈

npm contributions welcome

For as now this trading bot only supports Binance. It is important to note that this bot is not finished and that the bot cannot trade with real money yet.

TradingHub

To use this bot follow these steps:

1. Cloning

git clone [email protected]:gmverdon/TradingBot.git
cd trade-bot
npm install

2. API key and secret

Add a .env file in the root folder and add your binance api variables in the following manner:

# Binance api variables
BINANCE_KEY = ...
BINANCE_SECRET = ...

3. Start project

npm start

4. Accept Binance connection (known issue)

Currently the Binance API does not contain a CORS (Cross-Origin Resource Sharing) header. This results into connection problems when connecting from a browser to their API. If you have connection problems you can try installing a browser plugin which includes the Allow-Control-Allow-Origin: * header clientside. Unfortunately, even with this plugin, it is currently not possible to trade with real money. I have already informed Binance about this problem.

5. Happy Trading

Use at your own risk.

Legal Note

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Clientside trading bot that supports the Binance-exchange

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.2%
  • HTML 5.9%
  • CSS 2.9%