Code Monkey home page Code Monkey logo

binancebot's Introduction

Market Bot for Binance

Status Contributors Welcome GitHub license

Naive Market Maker Bot for Binance exchange.

Solution contains two console projects:

  • The BinanceBot.MarketViewer.Console project: Order book updating in near-real time (via Binance WebSocket API).
  • The BinanceBot.MarketBot.Console project: Create and cancel orders (via Binance REST API) depends on current Market Depth.

alt text

In picture below BinanceBot create order to Order Book only if price spread by ETH/BTC greater than 0.2%.

Warn: BinanceBot uses test order create API by default (without real order creation). Turn off TEST_ORDER_CREATION_MODE compilation symbol in MarketMakerBot.cs to create real order in order book.

Requirements

  • .NET 7.0
  • Binance Account.

References

  1. Binance official API docs.
  2. Official C# Wrapper for the Binance exchange API.

binancebot's People

Contributors

codez0mb1e avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

binancebot's Issues

Bid Higher than Ask

Hi,

I see that you implemented an exception in case the highest bid is greater than the lowest ask. (constructor of MarketDepthPair)
I raised a few times this exception while running the code, do you have any idea why this happens ? If yes I'd be happy to help you solving it

Migrate to new version of .NET

Need to make:

  • the migration from .NET Standard 2.0 to .NET Standard 2.1
  • the migration from .NET Core 2.1 to .NET Core 3.1
  • the updating of Nuget packages.

No characters are displayed, only the lines increase.BinanceBot.MarketBot.Console.exe

I just downloaded this source, built it, and tried it out.

BinanceBot.MarketViewer.Console seems to be working.

BinanceBot.MarketBot.Console.exe doesn't seem to work.

No characters are displayed, only the lines increase. DOS black window.

I added a new API key in BINANCE and wrote the API key and private key in the source as instructed.
It is an option that allows spot trade.

token = "ETHBTC"
No change

#define TEST_ORDER_CREATION_MODE
No change

I don't have "BTC" or "ETH" in my account.
Can I test without a balance?

Also, how is the order quantity when placing an order determined?

Thank you

Installation

Hello...Can anyone help me install this .?

Thanjs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.