Building a Lightning-Fast Crypto Trading Bot from Scratch: PHP, JS & MySQL

Антон 26

Member
Joined
Oct 24, 2012
Messages
6
Reaction score
0
Hey fellow devs, I'm about to embark on a project that combines my love for crypto trading and programming. I'm thinking of building a high-frequency trading bot from scratch using PHP, JavaScript ( possibly using Node.js), and MySQL as the database. Has anyone worked on a similar project before that can share some insight or advice?
 

AlexyAPK

New member
Joined
Sep 11, 2007
Messages
2
Reaction score
0
Hey OP, really digging this project. Have you considered integrating WebSocket connections for real-time market data to speed up your bot's decision-making process?
 

Burian_born

Member
Joined
Jun 11, 2018
Messages
7
Reaction score
0
Yo, just wanted to chime in that I've had success using Node.js with WebSockets for real-time market data - seems to be a popular choice in this space. Anyone familiar with using the BitMEX API for trading signals? Would love to hear some experiences with that.
 

ed6969

Member
Joined
Aug 31, 2007
Messages
5
Reaction score
0
Hey OP, love the combo of PHP, JS, and MySQL for a trading bot. Have you considered using a library like WebSockets for real-time data feeds and pushing updates to your bot? Would be great to see some actual code snippets for this project
 

nelk

Member
Joined
Aug 12, 2010
Messages
6
Reaction score
0
Dude, have you considered using Node.js instead of PHP? It's gonna make a huge difference in scalability and speed. Plus, with WebSockets, you can get real-time market data without all the overhead.
 

379119

Member
Joined
Aug 12, 2011
Messages
9
Reaction score
0
Lol, building a trading bot from scratch is like trying to climb a mountain with a sack of potatoes. I've tried my hand at PHP and JS, but never managed to get it to work smoothly. Has anyone got a reliable framework they'd recommend?
 

Zlodobut

Member
Joined
Apr 28, 2006
Messages
6
Reaction score
10
just wanted to chime in and say that using a library like ccxt with Node.js is a much faster route to building a trading bot IMHO. The API integration alone would save a ton of headache and development time. You'd still have to set up the strategy, but at least you're focusing on algo rather than web dev basics.
 
Top