The Litepresence Report on Cryptocurrency

XRP just pulled back 50% in the past couple hours

polo has close to 35k users online

  • Users currently online: 34118

Screenshot from 2017-05-08 16:25:41.png
 
Looks like these dumps went right into BTC, currently over $1700 on CB and Fin. I suspect LTC may rally over the next few days as BTC profits pour in.
 
Ripple and Stellar have a premise of allowing any asset to be traded. I haven't tried to do anything other than straight token sales.

However it is very centralized and has a huge chunk of value off the books right now. Although they did give away a lot of it years ago, I have like 1/3 of a BTC right now in just Stellar from a simple sign up and get free coins so I'm all for a pump at the moment ;)
 
keep a live ticker of your favorite polo pair even when website is unavailable

Code:
import requests
import time




def ticker(pair): # public api access


    uri = 'https://poloniex.com/public'
    params = {'command':'returnTicker'}
    ret = requests.get(uri,params=params).json()
    return ret[pair]['last']




while 1:
    print ticker('USDT_STR')  
    time.sleep(1)


make basic buy/sell/cancel operations

Code:
# python 2.7


# POLONIEX.COM 
# API 101 - BUY SELL CANCEL
# litepresence May 2017




CURRENCY    = '' # currency ticker symbol
ASSET       = '' # asset ticker symbol
APIKEY      = '' # your api key
SECRET      = '' # your api secret
CANCEL      = True # True to cancel all outstanding orders first
ACTION      = 'buy' # buy or sell
RATE        = 0.0 # price
AMOUNT      = 0.0 # asset quantity








#########################################################
# u a noob? be thankful and don't touch below here:
#########################################################


import hmac
import json
import hashlib
import requests
import time
PAIR = ('%s_%s' % (CURRENCY, ASSET))


class private: # keyed api access defitions; LIVE buy/sell etc.


    def __init__(self, APIKey, Secret):
        self.APIKey = APIKey
        self.Secret = Secret
    def api_query(self, payload={}):
        uri="https://poloniex.com/tradingApi"
        payload['nonce'] = int(time.time()*1000)
        u={"'":""," ":"","{":"","}":"",",":"&",":":"="}
        post_data=''.join(u[i] if i in u else i for i in str(payload))
        sign = hmac.new(self.Secret, post_data, hashlib.sha512).hexdigest()
        headers = {'Sign': sign,'Key': self.APIKey}
        return addstamp(requests.post(uri,data=payload,headers=headers).json())
    def orders(self,pair):
        payload = {'command': 'returnOpenOrders','currencyPair': pair }
        return self.api_query( payload=payload)
    def cancel(self,pair,orderNumber):
        payload = {'command': 'cancelOrder', 'currencyPair':pair,
            'orderNumber':orderNumber}
        return self.api_query(payload=payload)
    def buy(self,pair,rate,amount):
        payload = {'command': 'buy', 'currencyPair':pair,
            'rate':('%.8f'%rate),'amount':('%.8f'%amount)}
        return self.api_query(payload=payload)
    def sell(self,pair,rate,amount):
        payload = {'command': 'sell', 'currencyPair':pair,
            'rate':('%.8f'%rate),'amount':('%.8f'%amount)}
        return self.api_query(payload=payload)


def addstamp(b): # add unix timestamp if only 'date' or 'datetime' in dict
    a=b
    if ('return' in a) and (isinstance(a['return'], list)):
        for x in xrange(0, len(a['return'])):
            if (isinstance(a['return'][x], dict) and
                ('datetime' in a['return'][x]) and
                ('timestamp' not in a['return'][x])):
                    a['return'][x]['timestamp'] = float(
                        time.mktime(time.strptime(
                        a['return'][x]['datetime'],
                        "%Y-%m-%d %H:%M:%S")))
    elif (isinstance(a, list)):
        for x in xrange(0, len(a)):
            if (isinstance(a[x], dict) and
                ('date' in a[x]) and ('timestamp' not in a[x])):
                    a[x]['timestamp'] = float(time.mktime(time.strptime(
                        a[x]['date'],"%Y-%m-%d %H:%M:%S")))
    return a


def cancel_all(): # first order placed is cancelled last
    key = private(APIKEY, SECRET)
    try:
        outstanding = key.orders(PAIR)
        order_numbers = []
        if len(outstanding)>0:
            print 'CLOSING YOUR OPEN ORDERS:'
            print outstanding
            for i in range(len(outstanding)):
                order_numbers.append(int(outstanding[i]['orderNumber']))
            order_numbers.sort(reverse=True)
            for i in range(len(order_numbers)):
                try:
                    key.cancel(PAIR, orderNumber=order_numbers[i])
                    print 'cancel %s %s' % (PAIR, order_numbers[i])
                    
                except:
                    print ('%s cancel failed' % order_numbers[i])
                    pass
    except:
        print ('cancel_all() failed')


if CANCEL:
    cancel_all()
if ACTION == 'buy':
    try:
        key = private(APIKEY, SECRET)
        order = key.buy(PAIR,rate=RATE,amount=AMOUNT)
        print 'BUYING:'
        print PAIR, RATE, AMOUNT, order
    except: 
        print 'buy() failed'
        pass
if ACTION == 'sell':
    try:
        key = private(APIKEY, SECRET)
        order = key.sell(PAIR,rate=RATE,amount=AMOUNT)
        print 'SELLING:'
        print PAIR, RATE, AMOUNT, order
    except:
        print 'sell() failed'
        pass
 
hello folks, do you think bitcoin will peak out at around 2000 considering we are already up like 4x in total crypto marketcap from alt-coins?
 
Are you still holding USD Presence? Also, what do you think about selling into USDT now, a good idea?
 
hello folks, do you think bitcoin will peak out at around 2000 considering we are already up like 4x in total crypto marketcap from alt-coins?

I wouldn't hop in and out of bitcoin, unless it's a solid trading system. It's going to swish around a lot still.
 
Are you still holding USD Presence? Also, what do you think about selling into USDT now, a good idea?

So I'm "manually trading" by day. I'm very sketched at these levels; meaning to be in USD whenever possible.

I think USDT could be worth 2:1 USD at kraken when all this crashes.

There's 50 million USDT. There's 50 billion in market cap that needs to crash. A lot of it is altcoins at polo and the only way out is USDT or slow withdrawal process. Polo's reliance on USDT is a huge risk to these valuations.

at the moment I'm hesitantly bullish on dapp tech and holding some REP; I also like LSK here.

I take 4h 25/50 bull cross on ETC/ETH + EXP and NXT pumping after week of consolidation in the dapp asset class to mean the rest of it will follow

that means moon for ETH, LSK, REP, possibly GNO

the distributed ledger asset class I've played the chop in several times this past week holding XRP and STR each for short 90 minute profitable stints by watching 5m candles using window opacity overlays of live charts; over the past week XRP and STR have taken turns leading breakouts by almost 45 minutes. That went downhill this last 2 days when STR didn't follow. All in all dist ledger is overbought the worst of it all and is the greatest crash risk... so besides playing the chop off that last pump I wouldn't hold overnight.

If I find myself hodling dapp coins while I sleep tonight I'll keep a python bell watching the ticker for me

zCR2WU1.png



https://poloniex.com/exchange#usdt_rep

but that REP is just so sexy :D
 
Last edited:
My aim in trading these short in out trades by day is to maintain my BTC balance while BTC is risking capitulation. So I'm staying near coins with multiple escape routes ie to USD ETH or BTC which enchances liquity options if things go down fast.

When this does all capitulate for BTC the destination is 12h sma 90 or 50% fib since March 25th; they should be about the same. Then count on 15% bounce then down to the 38 fib or wait for consolidation. Right now the 50% fib is at 1400 polo/finex and 1350 btce.

That's the reliable money play. You can go bank 50 fib to 15% bounce and make 15% in 48-72 hours like clockwork. I like those trades. Reliable. High volume. Low risk.
 
Last edited:
LP can you point me to a quick start guide on getting Python and dependancies installed? Geared towards Poloniex? Thx.
 
Who in the world keeps buying Ripple!?

I don't know, I just sold mine, I had "mined" (they gave them to you for participating in boinc programs) them in I believe late 2013- early 2014... I just had them because I thought ripple was dead, and well they weren't worth much back then, I recovered my wallet. and sold all for 0.00018800 BTC each.... Woohooo..... Likely that was the most profitable mining I did!.

Looks like I got lucky on the timing to. it's now flirting with 0.00017

I just don't like the "centralized" nature of ripple.
 
Last edited:


 
Last edited:
Seems like we are in the middle of the next great crypto bubble. This time its the ALTs bubble. And its dragging bitcoin with it.
With a nicely spread portfolio it is possible to double your investment every two weeks :)
 
Seems like we are in the middle of the next great crypto bubble. This time its the ALTs bubble. And its dragging bitcoin with it.
With a nicely spread portfolio it is possible to double your investment every two weeks :)

The middle? More like the last days. That doubling could turn into a 1/10.
 
Back
Top