Author

Topic: Need help making my first volume monitor bot (Read 750 times)

full member
Activity: 133
Merit: 100
November 05, 2017, 07:13:12 PM
#12
Hello,

I'm developing also a trading bot but with Node JS.
There is an node.bittrex.api and it's simple to use it but there isn't many doncumentations about that.
newbie
Activity: 10
Merit: 0
September 30, 2017, 02:26:53 PM
#11
Hello! I'm a beginner programmer and trader, i would like to start a project on my own: a volume monitor. Something like Cryptgany or Cryptoping but with my own variables. The fact is that i don't know where to start. I have been told to use Bittrex and python, but how could i put all of this together? Is there a source or a tutorial where i could learn? Thanks in advance for your help.
There is no specific tutorial just for making a trading bot,even if there is I would't recommend you to use one since you'll have no idea how it would work.
How good are your programming fundamentals ? You certainly need to know the basics of programming to start learning python.

If you have planned to learn while you code,it won't work unless you know what's what.That is again basics of programming.Once you are fully aware of functions,classes,etc you can head over to https://automatetheboringstuff.com/ and see how they are automating things.The website has tons of examples which you can use as a reference to code your trading bot.

Thank you for your answer, yes i definitely have to learn some, then i'm going to check your link!
newbie
Activity: 38
Merit: 0
September 28, 2017, 05:02:03 PM
#10
You won't find an specific tutorial for this anywhere.

I personally have been working on something like this lately for Bittrex. Here is some code to get you started (Python) it listens to the Bittrex Socket and pushes updates from the SubscribeToExchangeDeltas. This one listens only to the OMG pairs on Bittrex (BTC-OMG, ETH-OMG, USDT-OMG) but it works, from there you have to do your logic  Cheesy. This prints the market with the amount of the base currency that has been bought/sold live
https://i.gyazo.com/7d937019383a5b7911cd55ec6b7582d5.png

Code:

from requests import Session
from signalr import Connection
import time, json

markets = ['BTC-OMG', 'ETH-OMG', 'USDT-OMG']

def orderPrinter(update):
    orderUnparsed = json.dumps(update)
    JSONOrder = json.loads(orderUnparsed)

    try:
        MarketName = JSONOrder[0]['MarketName']
        Fills = JSONOrder[0]['Fills']
        for order in Fills:
            OrderType = order['OrderType']
            Rate = order['Rate']
            Quantity = order['Quantity']
            Total = Rate * Quantity

            print MarketName, OrderType, Total
    except Exception as e:
        print e
        pass



with Session() as session:
connection = Connection('http://socket.bittrex.com/signalr', session)

corehub = connection.register_hub('coreHub')

#create error handler
def print_error(error):
print('error: ', error)


# debug information, show all data
def print_raw_data(*args, **kwargs):
print (args, kwargs)

def ticker_data(*args, **kwargs):
print "ticker", (args, kwargs)
def market_data(*args, **kwargs):
#print "ticker", (args, kwargs)
            orderPrinter(args)

connection.error += print_error

connection.start()
print "sending subscription request"
for market in markets:
corehub.server.invoke('SubscribeToExchangeDeltas', market)

#corehub.client.on('updateSummaryState', ticker_data)
corehub.client.on('updateExchangeState', market_data)

connection.wait(150000)

legendary
Activity: 1750
Merit: 1115
Providing AI/ChatGpt Services - PM!
September 28, 2017, 04:00:08 PM
#9
Hello! I'm a beginner programmer and trader, i would like to start a project on my own: a volume monitor. Something like Cryptgany or Cryptoping but with my own variables. The fact is that i don't know where to start. I have been told to use Bittrex and python, but how could i put all of this together? Is there a source or a tutorial where i could learn? Thanks in advance for your help.
There is no specific tutorial just for making a trading bot,even if there is I would't recommend you to use one since you'll have no idea how it would work.
How good are your programming fundamentals ? You certainly need to know the basics of programming to start learning python.

If you have planned to learn while you code,it won't work unless you know what's what.That is again basics of programming.Once you are fully aware of functions,classes,etc you can head over to https://automatetheboringstuff.com/ and see how they are automating things.The website has tons of examples which you can use as a reference to code your trading bot.
newbie
Activity: 10
Merit: 0
September 28, 2017, 03:37:25 PM
#8
I don't understand exactly, What aim of this bot? I think that many sites in the web, which we can use for monitor of volume. For me information from coinmarketcap graphs mote than enough

I want to record price and volume movements on smaller timeframes, marketcap is not exactly what i'm looking for
hero member
Activity: 896
Merit: 504
September 28, 2017, 12:05:01 PM
#7
I don't understand exactly, What aim of this bot? I think that many sites in the web, which we can use for monitor of volume. For me information from coinmarketcap graphs mote than enough
newbie
Activity: 10
Merit: 0
September 28, 2017, 10:58:39 AM
#6
Let me point you out to this video https://bitcointalksearch.org/topic/building-a-simple-alt-coin-trading-bot-tutorial-2003723
This can be rewritten to do volume checks on bittrex.

Thank you!
hero member
Activity: 1568
Merit: 544
September 28, 2017, 10:00:24 AM
#5
Let me point you out to this video https://bitcointalksearch.org/topic/building-a-simple-alt-coin-trading-bot-tutorial-2003723
This can be rewritten to do volume checks on bittrex.
legendary
Activity: 1512
Merit: 1218
Change is in your hands
September 27, 2017, 11:46:34 PM
#4
You won't find an exact tutorial for this but If you are serious about learning then take a course from Coursera on Python, It will help you in the future, You can automate and make many useful programs if you have command over python and its almost used everywhere. Take the course below, it will guide you on many subjects like HTTP Requests, JSON etc.

https://www.coursera.org/learn/python
full member
Activity: 138
Merit: 100
September 27, 2017, 08:39:04 PM
#3
Hello! I'm a beginner programmer and trader, i would like to start a project on my own: a volume monitor. Something like Cryptgany or Cryptoping but with my own variables. The fact is that i don't know where to start. I have been told to use Bittrex and python, but how could i put all of this together? Is there a source or a tutorial where i could learn? Thanks in advance for your help.

can you pm please, so we can talk about details !
member
Activity: 122
Merit: 10
September 26, 2017, 08:37:51 PM
#2
I can help you make a bot to monitor the orders on any exchange you wish and explain everything to you , Please pm to discuss
newbie
Activity: 10
Merit: 0
September 26, 2017, 04:09:26 PM
#1
Hello! I'm a beginner programmer and trader, i would like to start a project on my own: a volume monitor. Something like Cryptgany or Cryptoping but with my own variables. The fact is that i don't know where to start. I have been told to use Bittrex and python, but how could i put all of this together? Is there a source or a tutorial where i could learn? Thanks in advance for your help.
Jump to: