Give it a couple of years. The video I posted has a part where it piece together a broken English email into a coherent one based on what it thinks the user intended. Similar thing would apply to code logic. With enough users inquiries and feedback it can improve. Like seriously, how complex you think retail algo can be? I'm not saying Jim Simmons will start using this for his fund. This is for simple logic codes that 95% of traders without code knowlege would find very useful.
For a niche such as Day Trading, it might be easier to ask: "How to day trade?" and then "how NOT to day trade?" then take those pieces ask it that for the code templates.
Yes good for learning but if someone thinks they can get profitable strategy generated by chatgpt then it's not going to happen. I'm a python developer and i'm building trading softwares for 5 years and stitching few conditions together is easiest part in building trading bot. And that's only what chatgpt does as of now.
Very true. I was personnally a bit dissapointed when I saw the results. A beginner spaghetti-coding stackoverflow could do better. I think it's more about the 'conversational' power, which is powerful. And perhaps in a few years it will be a lot better. Who knows. The whole AI thing, while probably a big part of the future/progress, is a bit overhyped
You shouldn't trust it at all I asked it to give me an algorithm to trade Futures with the VWAP indicator for Interactive Brokers in c#. There are tons of examples in Python so chances are that the "AI" just did a search for that code instead of generating it. The story changes quite a lot when you ask for a language that is not that common among newbies. Code: using System; using System.Collections.Generic; using IBApi; namespace TradeFuturesWithVWAP { class Program { static void Main(string[] args) { // create an instance of the EWrapperImpl class EWrapperImpl wrapper = new EWrapperImpl(); // create an instance of the EClientSocket class and connect to TWS or IB Gateway EClientSocket clientSocket = new EClientSocket(wrapper); clientSocket.ClientSocket.eConnect("127.0.0.1", 7497, 0); // create a contract for Eurodollar futures Contract contract = new Contract(); contract.Symbol = "GE"; contract.SecType = "FUT"; contract.Exchange = "GLOBEX"; contract.Currency = "USD"; contract.LastTradeDateOrContractMonth = "202212"; // request real-time market data for the contract clientSocket.reqMktData(1, contract, "", false, null); // wait for market data to be received while (wrapper.vwap == 0) { System.Threading.Thread.Sleep(100); } // calculate the target price for the order based on the VWAP double targetPrice = wrapper.vwap * 1.005; // add 0.5% to the VWAP // create an order Order order = new Order(); order.Action = "BUY"; order.OrderType = "LMT"; order.TotalQuantity = 1; order.LmtPrice = targetPrice; // place the order clientSocket.placeOrder(2, contract, order); // wait for the order to be filled or rejected while (wrapper.orderStatus == "") { System.Threading.Thread.Sleep(100); } // print the order status Console.WriteLine("Order status: " + wrapper.orderStatus); // disconnect from TWS or IB Gateway clientSocket.ClientSocket.eDisconnect(); } } // create a class that implements the EWrapper interface // to handle events and data received from TWS or IB Gateway public class EWrapperImpl : EWrapper { // variables to store market data and order status public double vwap = 0; public string orderStatus = ""; public void tickPrice(int tickerId, int field, double price, TickAttrib attribs) { // handle tick price events if (field == 4) // field 4 is the VWAP { vwap = price; } } public void orderStatus(int orderId, string status, double filled, double remaining, double avgFillPrice, int permId, int parentId, double lastFillPrice, int clientId, string whyHeld, double mktCapPrice) { // handle order status events orderStatus = status; } } } Special attention to these lines: Code: // wait for market data to be received while (wrapper.vwap == 0) { System.Threading.Thread.Sleep(100); } This routine doesn't work at all and it is actually misleading someone that is not a developer. So yeah, developers are safe for now.
Fact remains that both are semantic generators not logic generators. You still show you know nothing about this space. Sometimes it's better to just keep the mouth shut or bow out when certain topics are over one's head.
You're obfuscating. You forgot to take your Adderall and consequently never read a single post in this thread before making your first response. You just went off the headline and assumed that the OP was not talking about ChatGPT, but something else. The OP showed that ChatGPT generated functional code that matched his simple algorithm description. That includes implementing the logic. Now instead of simply admitting that you never read the OPs first post and thought we were talking about something else, you keep doubling down by pretending that we were talking about a code generator other than ChatGPT this entire time. Claiming that whatever you are talking about is not a logic generator is difficult to do when the OP literally provided a solution that required ChatGPT to implement logic. Even those without a CS background can see that.
Comes down to how you define "functional" and logic. Remind us how many years have you worked in the deep learning space again?