Bitcoin Forum
June 11, 2024, 03:15:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: Bot / Automated Trading pe Poloniex .. mai face cineva pe aici ?  (Read 2521 times)
hanisnl (OP)
Member
**
Offline Offline

Activity: 119
Merit: 100

www.thecryptobot.com


View Profile WWW
March 28, 2017, 12:36:24 AM
 #1

Salutare pplz,

Sunt curios daca mai face cineva Trading pe Poloniex folosind bots, si daca da, ce boti folositi ?

over & out .  Cool . c'hhh

https://thecryptobot.com - Buy GunBot Licenses and Services
valiz
Sr. Member
****
Offline Offline

Activity: 471
Merit: 250


BTC trader


View Profile
April 05, 2017, 08:25:13 AM
 #2

Am incercat acum cateva luni un bot o saptamana dar l-am oprit pentru ca pierdea bani. Cred ca poti sa castigi doar prin speculatii norocoase ori sa pacalesti alti speculatori ori sa ai acces la informatii despre toate ordinele de pe piata.

Uite cod in python3 daca iti trebuie. Era ceva de pe net dar l-am mai peticit pe ici pe colo sa mearga.

Dar codul pentru algoritmul meu de pierdut bani nu il dau la nimeni  Cheesy

Code:

from urllib.parse import urlencode
from urllib.request import urlopen, Request

import json
import time
import hmac,hashlib
 
def createTimeStamp(datestr, format="%Y-%m-%d %H:%M:%S"):
    return time.mktime(time.strptime(datestr, format))
 
class poloniex:
    def __init__(self, APIKey, Secret):
        self.APIKey = APIKey
        self.Secret = Secret
 
    def post_process(self, before):
        after = before
 
        # Add timestamps if there isnt one but is a datetime
        if('return' in after):
            if(isinstance(after['return'], list)):
                for x in xrange(0, len(after['return'])):
                    if(isinstance(after['return'][x], dict)):
                        if('datetime' in after['return'][x] and 'timestamp' not in after['return'][x]):
                            after['return'][x]['timestamp'] = float(createTimeStamp(after['return'][x]['datetime']))
                           
        return after
 
    def api_query(self, command, req={}):
 
        if(command == "returnTicker" or command == "return24Volume"):
            ret = urlopen(Request('https://poloniex.com/public?command=' + command))
            return json.loads(ret.read().decode())
        elif(command == "returnOrderBook"):
            ret = urlopen(Request('https://poloniex.com/public?command=' + command + '&currencyPair=' + str(req['currencyPair'])))
            return json.loads(ret.read().decode())
        elif(command == "returnMarketTradeHistory"):
            ret = urlopen(Request('https://poloniex.com/public?command=' + "returnTradeHistory" + '&currencyPair=' + str(req['currencyPair'])))
            return json.loads(ret.read().decode())
        else:
            req['command'] = command
            req['nonce'] = int(time.time()*1000)
            hmac_key = self.Secret.encode()
            post_data = urlencode(req).encode()
 
            sign = hmac.new(hmac_key, post_data, hashlib.sha512).hexdigest()
            headers = {
                'Sign': sign,
                'Key': self.APIKey
            }
 
            ret = urlopen(Request('https://poloniex.com/tradingApi', post_data, headers))
            jsonRet = json.loads(ret.read().decode())
            return self.post_process(jsonRet)
 
 
    def returnTicker(self):
        return self.api_query("returnTicker")
 
    def return24Volume(self):
        return self.api_query("return24Volume")
 
    def returnOrderBook (self, currencyPair):
        return self.api_query("returnOrderBook", {'currencyPair': currencyPair})
 
    def returnMarketTradeHistory (self, currencyPair):
        return self.api_query("returnMarketTradeHistory", {'currencyPair': currencyPair})
 
 
    # Returns all of your balances.
    # Outputs:
    # {"BTC":"0.59098578","LTC":"3.31117268", ... }
    def returnBalances(self):
        return self.api_query('returnBalances')
 
    # Returns your open orders for a given market, specified by the "currencyPair" POST parameter, e.g. "BTC_XCP"
    # Inputs:
    # currencyPair  The currency pair e.g. "BTC_XCP"
    # Outputs:
    # orderNumber   The order number
    # type          sell or buy
    # rate          Price the order is selling or buying at
    # Amount        Quantity of order
    # total         Total value of order (price * quantity)
    def returnOpenOrders(self,currencyPair):
        return self.api_query('returnOpenOrders',{"currencyPair":currencyPair})
 
 
    # Returns your trade history for a given market, specified by the "currencyPair" POST parameter
    # Inputs:
    # currencyPair  The currency pair e.g. "BTC_XCP"
    # Outputs:
    # date          Date in the form: "2014-02-19 03:44:59"
    # rate          Price the order is selling or buying at
    # amount        Quantity of order
    # total         Total value of order (price * quantity)
    # type          sell or buy
    def returnTradeHistory(self,currencyPair):
        return self.api_query('returnTradeHistory',{"currencyPair":currencyPair})
 
    # Places a buy order in a given market. Required POST parameters are "currencyPair", "rate", and "amount". If successful, the method will return the order number.
    # Inputs:
    # currencyPair  The curreny pair
    # rate          price the order is buying at
    # amount        Amount of coins to buy
    # Outputs:
    # orderNumber   The order number
    def buy(self,currencyPair,rate,amount):
        return self.api_query('buy',{"currencyPair":currencyPair,"rate":rate,"amount":amount})
 
    # Places a sell order in a given market. Required POST parameters are "currencyPair", "rate", and "amount". If successful, the method will return the order number.
    # Inputs:
    # currencyPair  The curreny pair
    # rate          price the order is selling at
    # amount        Amount of coins to sell
    # Outputs:
    # orderNumber   The order number
    def sell(self,currencyPair,rate,amount):
        return self.api_query('sell',{"currencyPair":currencyPair,"rate":rate,"amount":amount})
 
    # Cancels an order you have placed in a given market. Required POST parameters are "currencyPair" and "orderNumber".
    # Inputs:
    # currencyPair  The curreny pair
    # orderNumber   The order number to cancel
    # Outputs:
    # succes        1 or 0
    def cancel(self,currencyPair,orderNumber):
        return self.api_query('cancelOrder',{"currencyPair":currencyPair,"orderNumber":orderNumber})
 
    # Cancels an order and places a new one of the same type in a single atomic transaction, meaning either both operations will succeed or both will fail.
    # Inputs:
    # currencyPair  The curreny pair
    # orderNumber   The order number to cancel
    # rate          New price for the order
    # amount        New amount for the order
    def moveOrder(self,currencyPair,orderNumber,rate,amount):
        return self.api_query('moveOrder',{"currencyPair":currencyPair,"orderNumber":orderNumber,"rate":rate,"amount":amount})
 
    # Immediately places a withdrawal for a given currency, with no email confirmation. In order to use this method, the withdrawal privilege must be enabled for your API key. Required POST parameters are "currency", "amount", and "address". Sample output: {"response":"Withdrew 2398 NXT."}
    # Inputs:
    # currency      The currency to withdraw
    # amount        The amount of this coin to withdraw
    # address       The withdrawal address
    # Outputs:
    # response      Text containing message about the withdrawal
    def withdraw(self, currency, amount, address):
        return self.api_query('withdraw',{"currency":currency, "amount":amount, "address":address})


12c3DnfNrfgnnJ3RovFpaCDGDeS6LMkfTN "who lives by QE dies by QE"
hanisnl (OP)
Member
**
Offline Offline

Activity: 119
Merit: 100

www.thecryptobot.com


View Profile WWW
April 05, 2017, 05:27:47 PM
 #3

ahhh faina abordare ! am sa ma uit prin cod de curiozitate .. personal lucrez la un script de calculare a profitabilitatii si pierderilor prin API-ul de la poloniex .

Din fericire sunt intr-un grup destul de mare si folosim un Bot pe care il imbunatateste dezvoltatorul cred ca aproape zilnic cu tot felul de tampenii venite din partea noastra ... ultima implementare : Step Gain .

https://thecryptobot.com - Buy GunBot Licenses and Services
FundsMoney
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


BTC will change the world


View Profile
April 05, 2017, 05:33:59 PM
 #4

Din fericire sunt intr-un grup destul de mare si folosim un Bot...

Gunbot? I'm in already. Personal, va recomand sa aflati mai multe despre el. Eu am avut o experienta placuta pana acum.

-- if you want this space, PM me --
hanisnl (OP)
Member
**
Offline Offline

Activity: 119
Merit: 100

www.thecryptobot.com


View Profile WWW
April 05, 2017, 05:35:30 PM
 #5

Dap . GunBOT ... sunt prezent all the time si pe grup ... dar va stau la dispozitie si aici pentru info daca este cineva nedumerit Wink .


over & out .  Cheesy . 'chhhhh

https://thecryptobot.com - Buy GunBot Licenses and Services
Saksham
Hero Member
*****
Offline Offline

Activity: 570
Merit: 500



View Profile
April 09, 2017, 01:06:17 AM
 #6

Am incercat acum cateva luni un bot o saptamana dar l-am oprit pentru ca pierdea bani. Cred ca poti sa castigi doar prin speculatii norocoase ori sa pacalesti alti speculatori ori sa ai acces la informatii despre toate ordinele de pe piata.

Uite cod in python3 daca iti trebuie. Era ceva de pe net dar l-am mai peticit pe ici pe colo sa mearga.

Dar codul pentru algoritmul meu de pierdut bani nu il dau la nimeni  Cheesy

Am folosit si eu boti si din experienta avuta, sunt de evitat, se "prostesc" la un moment dat si pierd bani. Dupa cum ai spus, speculatie, pacaleala, informatii din interior, si ceva curaj.
hanisnl (OP)
Member
**
Offline Offline

Activity: 119
Merit: 100

www.thecryptobot.com


View Profile WWW
April 09, 2017, 01:13:28 AM
 #7

nah .. daca cineva se gandeste "bah, imi iau un bot si maine sunt miliardar" .. asta clar este o tampenie .. INSA .. partea buna este, ca, de exemplu ... in secunda de fata ... cea mai proasta experienta a mea ... este faptul ca am avut 2 saptamani dupa care eram in acelasi loc din care am plecat - profit ZERO .... si credeam ca este trist pana am luat in calcul ca puteam sa fiu pe minus 100% .

si bineinteles .. la trade .. orice este un procent din ceea ce bagi ... am avut prieteni care au bagat $100 si vroiau sa aiba 20% / zi .... mmyeah .. asta clar nu se intampla .. azi castigi .. maine pierzi .. mai faci si cateva trade-uri manuale .. nu exista o solutie gen "50 shades of bitcoin" din care sa scoti numai placeri dubioase Cheesy

over&out.

https://thecryptobot.com - Buy GunBot Licenses and Services
Nea Sandu
Sr. Member
****
Offline Offline

Activity: 478
Merit: 285


Crypto Way is the only Way!


View Profile WWW
April 10, 2017, 10:08:39 PM
 #8

Salutare pplz,

Sunt curios daca mai face cineva Trading pe Poloniex folosind bots, si daca da, ce boti folositi ?

over & out .  Cool . c'hhh
Nu este automat, dar face treaba. Uite aici un bot de shitcoins gratis. https://t.me/shitcointalkromania si discutii despre trading aici https://t.me/trading12
Bafta


Goana dupa Bitcoin

▬▬▬▬▬▬▬▬
 ▬▬▬▬▬▬▬▬▬▬
  ▬▬▬▬▬
 ▬▬▬▬▬▬▬▬
..DMEX ..

hanisnl (OP)
Member
**
Offline Offline

Activity: 119
Merit: 100

www.thecryptobot.com


View Profile WWW
April 10, 2017, 10:10:58 PM
 #9

Salutare pplz,

Sunt curios daca mai face cineva Trading pe Poloniex folosind bots, si daca da, ce boti folositi ?

over & out .  Cool . c'hhh
Nu este automat, dar face treaba. Uite aici un bot de shitcoins gratis. https://t.me/shitcointalkromania si discutii despre trading aici https://t.me/trading12
Bafta

A yes ! merci !

https://thecryptobot.com - Buy GunBot Licenses and Services
Nea Sandu
Sr. Member
****
Offline Offline

Activity: 478
Merit: 285


Crypto Way is the only Way!


View Profile WWW
April 10, 2017, 10:21:41 PM
 #10

Salutare pplz,

Sunt curios daca mai face cineva Trading pe Poloniex folosind bots, si daca da, ce boti folositi ?

over & out .  Cool . c'hhh
Nu este automat, dar face treaba. Uite aici un bot de shitcoins gratis. https://t.me/shitcointalkromania si discutii despre trading aici https://t.me/trading12
Bafta

A yes ! merci !

Np si spor la BTC  Cool
Uite gasesti grupurile Bitcoin din Romania aici https://goanadupabitcoin.ro/stiri-bitcoin/comunitatile-bitcoin.html


Goana dupa Bitcoin

▬▬▬▬▬▬▬▬
 ▬▬▬▬▬▬▬▬▬▬
  ▬▬▬▬▬
 ▬▬▬▬▬▬▬▬
..DMEX ..

Detrix
Newbie
*
Offline Offline

Activity: 12
Merit: 1


View Profile
April 13, 2017, 03:55:15 AM
 #11

Eu folosesc Gunbot
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!