Skip to content

malikhodaei/PoloniexTradeBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoloniexTradeBot

Script to automatically buy/sell altcoins to a certain BTC Value

python

Download/Clone the entire PoloniexTradeBot folder to your computer

Before running the TradeBot you need to

1) Install Python 3 (select add to PATH)
2) Type in CMD: python -m pip install --upgrade pip
3) Type in CMD: pip3 install https://github.com/s4w3d0ff/python-poloniex/archive/v0.4.7.zip
4) Adjust in the script AllCoinsInBTC.py on line 29: 'Your_Poloniex_Key_Here' & 'Your_Poloniex_Secret_Here'
5) In CMD Navigate to PoloniexTradeBot folder
6) Run the script: python AllCoinsInBTC.py 0.001 

Where 0.001 is the BTC Value for each Altcoin

Basic Setup (no api Key/Secret):

from poloniex import Poloniex
polo = Poloniex()

print(polo.returnTicker()['BTC_ETH'])

Basic Private Setup (Api key/secret required):

import poloniex
polo.key = 'your-Api-Key-Here-xxxx'
polo.secret = 'yourSecretKeyHere123456789'

balance = polo.returnBalances()
print("I have %s ETH!" % balance['ETH'])

Possible Commands

PUBLIC_COMMANDS = [
    'returnTicker',
    'return24hVolume',
    'returnOrderBook',
    'marketTradeHist',
    'returnChartData',
    'returnCurrencies',
    'returnLoanOrders']

PRIVATE_COMMANDS = [
    'returnBalances',
    'returnCompleteBalances',
    'returnDepositAddresses',
    'generateNewAddress',
    'returnDepositsWithdrawals',
    'returnOpenOrders',
    'returnTradeHistory',
    'returnAvailableAccountBalances',
    'returnTradableBalances',
    'returnOpenLoanOffers',
    'returnOrderTrades',
    'returnActiveLoans',
    'returnLendingHistory',
    'createLoanOffer',
    'cancelLoanOffer',
    'toggleAutoRenew',
    'buy',
    'sell',
    'cancelOrder',
    'moveOrder',
    'withdraw',
    'returnFeeInfo',
    'transferBalance',
    'returnMarginAccountSummary',
    'marginBuy',
    'marginSell',
    'getMarginPosition',
    'closeMarginPosition']

About

Script to automatically buy/sell altcoins to a certain BTC Value

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%