You are viewing a single comment's thread from:

RE: How does TrendChecker work? | Steem-Python Bot Tutorial Part 1

in #utopian-io7 years ago

Hey there!

A little tip for your coding style.

Here you are nesting way too many ifs.
It is alot nicer to read if you get rid of the indentions like this:

if(i["trx_id"] in trx_list["trx_id"]):
    continue
if((i["to"]!=acc_name):
    continue
if(i["memo"]=="")
    continue
....etc.... 

Greetings,
Martin

Sort:  

Thanks for the advice! :)

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.029
BTC 75924.44
ETH 2901.21
USDT 1.00
SBD 2.67