Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Poloniex' object has no attribute 'api' #212

Open
SoraKohaku opened this issue Apr 8, 2021 · 0 comments
Open

'Poloniex' object has no attribute 'api' #212

SoraKohaku opened this issue Apr 8, 2021 · 0 comments

Comments

@SoraKohaku
Copy link

SoraKohaku commented Apr 8, 2021

bug on after start python2.7
# price курс BTC_ETH
ticker = polo.returnTicker()['BTC_ETH']
allprice = polo.returnTradeHistory('BTC_ETH')
price1 = allprice['last']
price = price1[0:6]
# priceUSD курс USDT_ETH
ticker2 = polo.returnTicker()['USDT_ETH']
allprice2 = polo.returnTradeHistory('USDT_ETH')
price2 = allprice2['last']
priceUSD = price2[0:5]
return render_template('index.html', price=price, priceUSD=priceUSD, Blocks=Blocks, accounts=accounts, Hashrate=Hashrate, totshare=totshare, cround=cround, server=SERVER_POOL)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant