3 ms·
You don't need AI for this though. I was doing something like this with a python script and a crypto meta etf I created years ago. I even had some simple heuris
by asdff 5mo ago
You don't need AI for this though. I was doing something like this with a python script and a crypto meta etf I created years ago. I even had some simple heuristics for selecting what coins and quantity to purchase given trading volume and spot price. Its like 175 lines of python. Probably could be a lot leaner too.
- tombert 5mo agoI agree I don't need it, I actually wrote a program to automatically buy and sell stuff years ago using Alpaca [1]. I just found it a bit of a pain in the ass to manage a service to do that automatically, vs thirty seconds of chatting and getting results immediately, and having something that can be supplemented by RAGs in the process. [1] I swear I had a blog post about how I did it somewhere but I seem to have misplaced it.
- asdff 5mo agoIt sounds like you are just pulling weights of qqq and buying based on that though. What more management do you have to do? Just pull and parse the weights wherever they might be stored, break the investment up based on that weight. Should work until the heat death of the universe.
- yieldcrv 5mo agoand then you want to track orders states, and then you want to track exit strategies - trailing stops that are sometimes internal, sometimes sent to the order book - profit targets, and then you want to track settlement statuses as balances change on margin, and how you get filled all while dealing with different and complex broker APIs and routing to different exchanges that have their own rules and limitations on the other hand, agents just do it and handle edge cases themselves
- asdff 5mo agoRight, AI agents famously never make any mistakes.
- yieldcrv 5mo agoSo does procedural code, the architecture supporting it and the humans writing it. I am capable of playing devil’s advocate as well Do you have an actual strongly held opinion or counterpoint on what I wrote? Time to market, covering bases, lower maintenance and things to keep track of all represent the utility
- Karrot_Kream 5mo agoHave you actually put together trading strategies by having the agent drive? I've never trusted it that far and I use agents a lot at my job right now. The way I usually do it is, I break out pen and paper to do an analysis of what I want mathematically. I then have the agent build out some Python that lets me backtest and analyze my work. I read through the code (which is usually fairly compact since numpy/scipy and various finance libraries do most of the heavy lifting for me), make any changes as needed, then run my analysis. Then I run it in a production setting if I like it. But the actual strategy is something I come up with on pen-and-paper.
- yieldcrv 5mo agoI have, and agents come up with the strategy and execution based on my contribution of what sectors to look at and alternative data sources I tell them to look at a certain way. My time horizons are quarters, as well as signal conversion into a variety of single and multi leg options trades
- infecto 5mo agoI am not sure I would trust a LLM agent to do this either. I would use an LLM to help write the script but not execute the trades.