BTCKonfekt Posted June 16, 2017 Posted June 16, 2017 Mir war gerade mal langweilig, also habe ich Quick & Dirty nen PHP-Script gebaut welches DOGE für 116 ankauft und 117 verkauft. Kann das funzen? include 'poloniex.class.php'; $poloniex = new poloniex("#KEY#", "#SECRET#"); $data=$poloniex->get_open_orders("btc_doge"); if(isset($data['0']['type'])){ echo 'wait for '.$data['0']['type']; } else{ $balance=$poloniex->get_balances(); if($balance['DOGE']>0){ $poloniex->sell("btc_doge", "0.00000117", $balance['DOGE']); echo'sell'; } elseif($balance['BTC']>"0.00000117"){ $buy=round(($balance['BTC']/0.00000116), 8, PHP_ROUND_HALF_DOWN); $poloniex->buy("btc_doge", "0.00000116", $buy); echo'buy'; } } echo'<br><small>'.date("H:i:s",time()).'</small>'; 1
boardfreak Posted June 16, 2017 Posted June 16, 2017 schau dir litedoge an da dort 1 sat unterschied prozentual mehr gewinn ist https://coinmarketcap.com/currencies/litedoge/
BTCKonfekt Posted June 16, 2017 Author Posted June 16, 2017 schau dir litedoge an da dort 1 sat unterschied prozentual mehr gewinn ist https://coinmarketcap.com/currencies/litedoge/ LiteDoge hatte ich sogar mal überlegt zu minen Meinst du das Ding hat potenzial oder ist nur nen TrollCoin?
boardfreak Posted June 16, 2017 Posted June 16, 2017 das isn sh*tcoin aber kann auf jeden fall nicht so tief fallen wie doge der imho zzt viel zu teuer ist (habe alle meine fantastillionen doge aufm weg nach oben vertickt)
devilsplay Posted June 24, 2017 Posted June 24, 2017 hallo, wich poloniex class are you useing for this script? thank you, Bas
BTCKonfekt Posted June 24, 2017 Author Posted June 24, 2017 Ich habe die aus der API Dokumentation genommen: https://poloniex.com/support/api/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now