<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Why are you using Flask for this? It sounds like you want a bot that runs on a server, checks the API every so often, and executes buy and sell orders automatically. None of that requires a web interface. Flask is a great tool, but it’s quite minimal: it’s designed to respond to HTTP requests, and that’s all.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I’ll also point out that the poloniex-api project you linked to is built on top of aiohttp, not Flask. The documentation for aiohttp is here: <a href="http://aiohttp.readthedocs.io/en/stable/">http://aiohttp.readthedocs.io/en/stable/</a> Aiohttp is also designed to respond to HTTP requests — you don’t need both aiohttp and Flask.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">David Baumgold</div> <br><p class="airmail_on">On August 11, 2016 at 8:29:30 AM, Arshpreet Singh (<a href="mailto:arsh840@gmail.com">arsh840@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>I am making a bitcoin trrading bot using Flask. I am using this API:
<br>https://github.com/absortium/poloniex-api
<br>
<br>I have basic understand of creating a Python Web-apps but in my this
<br>Flask APP I need to update ticker's data in webpage after every
<br>second(Do I need Ajax for that?)
<br>
<br>and on the other hand when my strategy returns a required results I
<br>have to execute Buy and sell function as well. Can flask be helpful in
<br>such situation?
<br>
<br>--  
<br>
<br>Thanks
<br>Arshpreet Singh
<br>Mobile: (91)987 6458 387
<br>https://www.linkedin.com/in/arsh840
<br>_______________________________________________
<br>Flask mailing list
<br>Flask@python.org
<br>https://mail.python.org/mailman/listinfo/flask
<br></div></div></span></blockquote></body></html>