create account

Coding a Poloniex Trading Bot (Update 4 Oct 2017) by stevencurrie

View this thread on: hive.blogpeakd.comecency.com
· @stevencurrie ·
Coding a Poloniex Trading Bot (Update 4 Oct 2017)
![PoloBot.png](https://steemitimages.com/DQma29iHuCYP6xiGiHnqhK8nYrcvjp649h4VJiGX4Vi99fU/PoloBot.png)

Just a quick update on my PoloBot.  I'm starting to make some progress!  

I've rearranged the code a bit, modified it to allow access to all of Poloniex's markets and added the beginnings of a GUI.

I've never really worked with GUIs before, beyond what VB provides, so it's a bit of a learning curve but I think I'm getting there.  It might not be particularly pretty but it already provides some functionality.

So far it can view charts, you can change the time scale and as it's using matplotlib to draw the charts, it has it's own scroll and zoom functions.

[GitHub](https://github.com/steviecurrie/PoloBot) has been updated and would encourage everyone to try it out and let me know what they think about it so far.

If there are any Python experts who could look over the code and maybe give me some advice that would be smashing.  I feel the GUI code is especially clunky.

Anyway, next step is adding Volume and indicators (SMA, EMA, MACD & RSI to start with), then I'll get Buy & Sell working. 
 There's also some basics that need done, like options for changing the data path and saving/loading settings.

Once all that's dealt with I can actually get to the whole point of the project and get back to the automated strategies.  Simple indicator based stuff at first but ultimately Machine Learning.  I'm rather looking forward to getting my teeth into some TensorFlow!
👍  , ,
properties (23)
authorstevencurrie
permlinkcoding-a-poloniex-trading-bot-update-4-oct-2017
categorytrading
json_metadata{"tags":["trading","programming","python","cryptocurrency","bitcoin"],"image":["https://steemitimages.com/DQma29iHuCYP6xiGiHnqhK8nYrcvjp649h4VJiGX4Vi99fU/PoloBot.png"],"links":["https://github.com/steviecurrie/PoloBot"],"app":"steemit/0.1","format":"markdown"}
created2017-10-04 22:02:45
last_update2017-10-04 22:02:45
depth0
children2
last_payout2017-10-11 22:02:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,485
author_reputation7,132,661,654
root_title"Coding a Poloniex Trading Bot (Update 4 Oct 2017)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id16,802,388
net_rshares2,728,647,097
author_curate_reward""
vote details (3)
@outcast81 ·
Oh boy its looking good :)
You think it will be possible for an automated system to buy/sell at the break of the high/low of the last candle, without making mistakes?
properties (22)
authoroutcast81
permlinkre-stevencurrie-coding-a-poloniex-trading-bot-update-4-oct-2017-20171006t212814598z
categorytrading
json_metadata{"tags":["trading"],"app":"steemit/0.1"}
created2017-10-06 21:28:15
last_update2017-10-06 21:28:15
depth1
children1
last_payout2017-10-13 21:28:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length166
author_reputation209,754,362,359
root_title"Coding a Poloniex Trading Bot (Update 4 Oct 2017)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id16,948,338
net_rshares0
@stevencurrie ·
If the rule to buy/sell can be made explicit enough to translate into code, then yeah.  Without making mistakes though?  Dunno.  

Totally changed it all again by the way.  Matplotlib may be versatile but it seems overly complicated so I've removed it and added my own code to do the charts and it's coming along nicely.  SMA, EMA and MACD are done, working on RSI now.  Should have working code up in a day or two. :-)
👍  
properties (23)
authorstevencurrie
permlinkre-outcast81-re-stevencurrie-coding-a-poloniex-trading-bot-update-4-oct-2017-20171006t231130835z
categorytrading
json_metadata{"tags":["trading"],"app":"steemit/0.1"}
created2017-10-06 23:11:30
last_update2017-10-06 23:11:30
depth2
children0
last_payout2017-10-13 23:11:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length419
author_reputation7,132,661,654
root_title"Coding a Poloniex Trading Bot (Update 4 Oct 2017)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id16,954,401
net_rshares1,163,802,603
author_curate_reward""
vote details (1)