Bitcoin Forum
June 23, 2024, 03:13:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Coding a trading bot?  (Read 142 times)
btcb3g1nn3r (OP)
Member
**
Offline Offline

Activity: 177
Merit: 32


View Profile
November 02, 2021, 07:38:44 AM
Merited by DdmrDdmr (3), Quickseller (1)
 #1

Hi,

I am thinking to automate my trading via a bot, I am a SW developer at my basis so I would use open source or just some examples as starting point then to extend to implement my strategy.
I would like to write such bots rather than using already built ones because I want to know what's inside Smiley
I want to use Binance exchange.

Can you help with some guidance consisting in best code examples, some API docs and some tutorials either blogs or youtube?
Also if someone did this already, if you can share some tips/tricks from your own experience it will be much appreciated.

thanks
crwth
Copper Member
Legendary
*
Offline Offline

Activity: 2800
Merit: 1268


Try Gunbot for a month go to -> https://gunbot.ph


View Profile WWW
November 02, 2021, 07:43:52 AM
Merited by DdmrDdmr (3)
 #2

Just did a quick search with Google and found the links below.

https://www.investopedia.com/articles/active-trading/081315/how-code-your-own-algo-trading-robot.asp
https://www.youtube.com/watch?v=s8uyLscRl-Q
https://www.youtube.com/watch?v=-MHhA-Y3DSk

There are some interesting finds, hopefully, it helps you in some way.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
mk4
Legendary
*
Offline Offline

Activity: 2800
Merit: 3854


Paldo.io 🤖


View Profile
November 02, 2021, 08:59:45 AM
 #3

I can't give you any reviews simply because I haven't tried it, but I see Gekko[1] being recommended a lot in other communities. It's probably something that you might want to modify to your liking instead of starting from scratch. GL!


[1] https://gekko.wizb.it/

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Quickseller
Copper Member
Legendary
*
Offline Offline

Activity: 2912
Merit: 2347


View Profile
November 05, 2021, 07:37:05 PM
 #4

The documentation for the Binance API is here. The documentation will show you how to get the market data you need to feed into your bot, and how to place trades programmatically.

From there, you need to keep track of market data in your bot. How much market data you keep track of will depend on your specific trading strategy.
FatFork
Legendary
*
Offline Offline

Activity: 1638
Merit: 2604


Top Crypto Casino


View Profile WWW
November 05, 2021, 08:47:08 PM
 #5

Can you help with some guidance consisting in best code examples, some API docs and some tutorials either blogs or youtube?
Also if someone did this already, if you can share some tips/tricks from your own experience it will be much appreciated.

Hi, btcb3g1nn3r.

As some have already mentioned, you can easily find many open source (and free) crypto trading bots from which you can learn a lot and then continue to build upon. Each of these bots is free to download and require only basic command line experience in order to use.

  • Gekko
    Quote
    Gekko is currently the most popular open source crypto trading bot with over 6,000 stars on Github. Right out of the box, users are given a web GUI that allows them to import historical market data, backtest their strategies, and run them live on their favorite exchange. One of Gekko’s strong points is its ability to chart results from backtesting and live trading which makes it perfect for beginners to immediately start running a strategy. It also has extensive documentation on how develop your own strategies.
  • Zenbot
    Quote
    Zenbot is an extremely popular and well-maintained crypto trading bot that can be run on your desktop or hosted in the cloud. Out of the box, it comes with over a dozen trading strategies that you can configure and immediately start trading on your favorite exchange.If you are familiar with javascript you can also try your hand on developing your own strategies. Zenbot’s repository provides all code used for the built in strategies and gives examples on how to use technical analysis indicators in them.
  • Enigma Catalyst
    Quote
    Enigma Catalyst is an algorithmic trading platform for crypto traders built on top of the well-known Zipline project. This platform is made for experienced python developers looking to develop, backtest, and live trade their strategies across multiple cryptocurrency exchanges. Catalyst is still in its early stages of development but already has support for some of the best statistical and machine learning libraries.

description source: https://cryptotrader.tax/blog/the-best-open-source-and-free-crypto-trading-bots

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
BitMaxz
Legendary
*
Offline Offline

Activity: 3290
Merit: 3024


BTC price road to $80k


View Profile WWW
November 05, 2021, 10:24:23 PM
 #6

You are a software developer and you are using open source as your starting point and you want to know what's inside the bot?

I don't know how you become a software developer but if you are a developer you should understand what you see on the open-source and that is the inside of the trading bot.
All you need is already on the open-source except for creating your own strategies. Gekko is one of the best free ones because they already have lots of strategies and guides on how to develop your own strategy as suggested above but if you want to develop your own strategy then you can follow this guide below
- https://gekko.wizb.it/docs/strategies/creating_a_strategy.html

And the other one as mentioned above is Zenbot which is the current active free trading bot. If you want to develop your own strategy with this bot you can check the link below
- https://github.com/DeviaVir/zenbot/blob/unstable/docs/strategies/howto_create_strategy.md

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
pooya87
Legendary
*
Offline Offline

Activity: 3486
Merit: 10666



View Profile
November 06, 2021, 05:34:16 AM
 #7

Also if someone did this already, if you can share some tips/tricks from your own experience it will be much appreciated.
Don't just focus on one exchange and try to write a scalable code. I was screwed by this a long time ago when my code that was tightly coupled with a certain exchange became basically obsolete as that exchange shut down. Later on I tried rebuilding everything with scalability in mind but I abandoned the project due to being busy in life...

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
btcb3g1nn3r (OP)
Member
**
Offline Offline

Activity: 177
Merit: 32


View Profile
February 05, 2022, 07:02:51 PM
 #8

I have my bot framework ready, what would be the best strategy to implement for spot trading, or at least a decent one?
mindrust
Legendary
*
Offline Offline

Activity: 3290
Merit: 2450



View Profile WWW
February 05, 2022, 07:09:47 PM
 #9

You are only going to make the exchanges rich by using bots. Historically holders make as much or more money than traders. Even manually creating orders make more sense than using bots...

There was a bot which people used to promote in this forum called "GUNBOT" "GUMBOT" or smth like that, google that one maybe the creator would help you.

If this is for the sake of learning, it is fine but I wouldn't put serious money at risk.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
JooBra
Full Member
***
Offline Offline

Activity: 1204
Merit: 162


View Profile
February 05, 2022, 07:49:07 PM
 #10

I have my bot framework ready, what would be the best strategy to implement for spot trading, or at least a decent one?
Try some free demo where you can see how it works so you may be able to put ideal setup for bots.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!