Bitcoin Forum
November 11, 2024, 01:21:19 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: How to create trading bot?  (Read 2017 times)
MrCrank (OP)
Sr. Member
****
Offline Offline

Activity: 1330
Merit: 258



View Profile
August 11, 2017, 03:27:02 AM
 #1

Hello,

I want try create my own trading bot for poloniex or bittrex exchange.
Where can I learn and read about this theme?
Can I make it from local pc?

pooya87
Legendary
*
Offline Offline

Activity: 3626
Merit: 11029


Crypto Swap Exchange


View Profile
August 11, 2017, 04:22:58 AM
 #2

first thing you need to know is programming!
have you ever done any coding? what language do you use?
based on that you can start from some API wrappers or open source bots to get started.

the second thing is to know trading itself.
have you ever done trading? are you familiar with the analysis and have a plan?
based on that you will know what to code. because a programmer is practically a translator who is translating what you want to do into "computer language"

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
MrCrank (OP)
Sr. Member
****
Offline Offline

Activity: 1330
Merit: 258



View Profile
August 11, 2017, 07:02:09 AM
 #3

first thing you need to know is programming!
have you ever done any coding? what language do you use?
based on that you can start from some API wrappers or open source bots to get started.

the second thing is to know trading itself.
have you ever done trading? are you familiar with the analysis and have a plan?
based on that you will know what to code. because a programmer is practically a translator who is translating what you want to do into "computer language"

Yes, I have experience coding JavaScript, PHP, JSON.
Also I trading on bittrex and poloniex and have own strategy.
But I do not know how to start
s2
Full Member
***
Offline Offline

Activity: 198
Merit: 123


View Profile
August 11, 2017, 11:27:55 AM
 #4

Set up a node server on your machine or a host run on google compute or AWS.

Next code up a bot in node.js.

There are some already around that you can use as a basis...  I can't vouch for the quality or security of them but they may be enough for what you're after or at least start you in the right direction.

https://github.com/askmike/gekko


Typically they'll ask for API access token to the exchange you're interested in supporting (like Bitstamp/Kraken/etc...).

From there you can now write/modify a buy/sell strategy script.


Please share your results though, I've yet to see a script actually make money reliably Wink
blockchaingo
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
August 11, 2017, 11:31:57 AM
 #5

Both Poloniex and Bittrex have examples of simple apps using their API - you should start with that.
MrCrank (OP)
Sr. Member
****
Offline Offline

Activity: 1330
Merit: 258



View Profile
August 11, 2017, 07:35:16 PM
 #6

Set up a node server on your machine or a host run on google compute or AWS.

Next code up a bot in node.js.

There are some already around that you can use as a basis...  I can't vouch for the quality or security of them but they may be enough for what you're after or at least start you in the right direction.

https://github.com/askmike/gekko


Typically they'll ask for API access token to the exchange you're interested in supporting (like Bitstamp/Kraken/etc...).

From there you can now write/modify a buy/sell strategy script.


Please share your results though, I've yet to see a script actually make money reliably Wink


Thanks for answer, but I need learn node.js now..
I'm beginner node.js coder.
Do you expert of node.js?
If i will be have questions and ask you about node.js.
Thanks
Pursuer
Legendary
*
Offline Offline

Activity: 1638
Merit: 1163


Where is my ring of blades...


View Profile
August 12, 2017, 04:03:19 AM
 #7

since you said you are new to programming in node.js and new to bots and API and related stuff then it is best to start from an existing code. it can be a full bot like what the other user suggested or it can be usage of API wrappers for different exchanges to see how they do it and make the API calls.

you can always use GitHub to find them. I am not familiar with difference between Java, JavaScript and Node.js so here is two links:
JavaScript codes: https://github.com/search?l=JavaScript&q=bitcoin+trading+bot&type=Repositories&utf8=%E2%9C%93
Java codes: https://github.com/search?l=Java&q=bitcoin+trading+bot&type=Repositories&utf8=%E2%9C%93

Only Bitcoin
s2
Full Member
***
Offline Offline

Activity: 198
Merit: 123


View Profile
August 30, 2017, 08:15:41 AM
 #8

Happy to lend a hand on any node.js questions but tbh the best part of the language is it's relatively easy compared to most.

Node.js is essentially just javascript like you find in a browser, only the key part is you run it on your PC or server side.

The real power of it though is you get to stand on the shoulders of giants once you learn how to use the npm (node package manager).

You can install other people's libraries really easily and now with just a few lines of code you can access things like exchange APIs, send emails/txt messages, etc..

Hardest part to learn about node.js is if you're used to other languages and understanding how the scope works.  Sounds scarier than it is though, generally it's a lovely to use yet powerful language.
Maymun_lavigne
Full Member
***
Offline Offline

Activity: 434
Merit: 126



View Profile
August 30, 2017, 09:14:10 AM
 #9

Do you want to make a both trading for exchange cryptocurrency ?
Do you want to make app for Windows , iOS  or Android ? If you finish make a app please update I want to try it.
nmaryrai
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250



View Profile
August 30, 2017, 04:06:06 PM
 #10

You just type digoogle "poloniex or bittrex exchange" then what is concerned with both systems will appear and then you select the link, of course related to the theme above,
Of course can, to make can use Local PC, with the condition of RAM and VGA enough.
RAM and VGA is very helpful to open some programs that will be used, Thanks.
klaaas
Hero Member
*****
Offline Offline

Activity: 1568
Merit: 544



View Profile
August 30, 2017, 08:31:44 PM
 #11

Maybe this post can help you further. Building a Simple Alt Coin Trading Bot tutorial

Shopping online and sats back as a discount! (satsback) + LightningNetwork
spiker777
Sr. Member
****
Offline Offline

Activity: 1007
Merit: 279


Payment Gateway Allows Recurring Payments


View Profile WWW
August 30, 2017, 09:00:30 PM
Last edit: January 31, 2018, 03:36:35 PM by spiker777
 #12

Hello,

I want try create my own trading bot for poloniex or bittrex exchange.
Where can I learn and read about this theme?
Can I make it from local pc?



Better to do it from any hosting or better vps. Just code in a PHP script which will trade on those sites via API calls with your own logic.

That's all  Smiley Not very difficult at all... I have done a bot for kraken. I can help with the basics, anything more than that you'll need to pay a dedicated developer.

cryptomus.   
  
.
lllllllllllllllllll CRYPTO
PAYMENT GATEWAY
▄█▀▀██▄░░░▄█████▄░░░▄▀████▄
██░▀▄██░░░██▄░▄██░░░██▄▀▀▀█
██░▀▄██░░░███▄███░░░███░░▄█
▀▀▀▀▀░░░░░▀▀▀▀▀░░░░░▀▀▀▀▀
▄▄▄▄▄░░░░░▄▄▄▄▄░░░░░▄▄▄▄▄
███▀▄██░░░██▀░▀██░░░██▀▀▀▀█
██▀▄███░░░██░░░██░░░█▄███░█
▀█▄▄▄█▀░░░▀██▄██▀░░░▀█▄▄▄█▀

▄█████▄░░░▄█▀▀██▄░░░▄█████▄
█▀░█░▀█░░░█░▀░▀▀█░░░██▄░▄██
█▄█▄█▄█░░░███░▀▄█░░░███▄███
▀▀▀▀▀░░░░░▀▀▀▀▀░░░░░▀▀▀▀▀
ACCEPT
CRYPTO
PAYMENTS
██████
██
██







██
██
██████

GET STARTED
██████
██
██








██
██
██████
ValyLupy
Jr. Member
*
Offline Offline

Activity: 56
Merit: 10


View Profile
August 30, 2017, 09:00:58 PM
 #13

my own advice for trading bot: dont use a trading bot
CryptoDanny
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
August 31, 2017, 01:52:53 AM
 #14

I would love to see a bot take advantage of price corrections. Every time I've seen a huge run in price, it is always corrected about halfway down (number off the top of my head).

For example, NEO (formally ANS). I bought in at $12, and in the past week or two we've seen it make a huge leap to $50. Today, it's at $34 which is the correction. While watching the graph hit $50, I knew I should have sold and waited for this current price to buy again. In fact, I've seen this happen to every single coin that I've ever held. It makes that initial jump, then the price corrects. If a bot could be coded to watch for a new ATH (all time high), and then sell when it has dropped 5% under that ATH (this is when people tend to panic and sell of everything, which causes the bigger drop) I believe it would be very profitable. Then if the bot were to wait a few days for the price to stabilize, and buy in again it would maximize the traders profits!
mackenzied
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
August 31, 2017, 06:00:23 AM
 #15

Bot trading only works according to what it was programmed. So, in order for it to function correctly, you need to be an experienced trading expert. Because your experience is the key to its success. This is a rather specialized problem, I still have not enough ability to do. good luck!

MrCrank (OP)
Sr. Member
****
Offline Offline

Activity: 1330
Merit: 258



View Profile
August 31, 2017, 07:28:35 AM
 #16

Better to do it from any hosting or better vps. Just code in PHP script which will trade on those sites via API calls with your own logic.

Thats all  Smiley Not very difficult... I have done bot for kraken.

I use VPS too.

How you call your php script?
Do you use CRON or exist better app?

please post your code here if this not secret Smiley
genesis.vision
Member
**
Offline Offline

Activity: 258
Merit: 10

The next step in Financial Markets evolution


View Profile WWW
August 31, 2017, 09:27:44 AM
 #17

Each major platform (Bitfinex, OKCoin, Bittrex etc.) has API that issues you a token after you sign up. Pass that parameter to each request, then you can freely trade via API. However, if you plan to do an HFT arbitraging, be warned that it is too late - huge Bitcoin tx fees make it obsolete.

Genesis Vision — Decentralized Platform for Asset Management
 ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰ TRADE WITH GV ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰  
●  Twitter Facebook •  The next step in financial markets evolution • Telegram Medium  ●
alerdenisov
Newbie
*
Offline Offline

Activity: 7
Merit: 7


View Profile
August 31, 2017, 10:24:46 AM
 #18

First of all I should to decide which strategy was in basement of bot.

Right now I could to choice few ways: algorithmic and neural network. In google you will find a lot of information, but I suggest to look at next open source projects (especially on their Issues, because a lot of discussions)

https://github.com/askmike/gekko
https://github.com/owocki/pytrader
https://github.com/michaelgrosner/tribeca
https://github.com/carlos8f/zenbot
llzzyy234
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
August 31, 2017, 04:22:56 PM
 #19

First of all, you need to know programming.
Then, you can go through those trading site to see if they provide any API for developer using.
Here is the API provided by bittrex: https://bittrex.com/home/api
MrCrank (OP)
Sr. Member
****
Offline Offline

Activity: 1330
Merit: 258



View Profile
September 01, 2017, 04:54:47 AM
 #20

First of all, you need to know programming.
Then, you can go through those trading site to see if they provide any API for developer using.
Here is the API provided by bittrex: https://bittrex.com/home/api

Please read all messages here.
I have posted about my knowledge and skill.
Do you have experience of creating bot?
Pages: [1] 2 »  All
  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!