The python code I’ve had Claude AI generate is relatively trivial, but for someone who doesn’t know python it is pretty amazing.
I have accounts on Polymarket and Kalshi, both with less than $100 in each, the script I had it write was to query Kalshi about the 15-minute price of Bitcoin.
Every 15 minutes Kalshi has market where you can bet if the at the end of the 15 minute period, will the price of Bitcoin be above or below the opening price for that 15 minutes, the opening price of the 15 minutes is the closing price for the previous 15 minutes, 24 hours a day this is going on.
I had Claude AI write a python script to see when the above or below price got to 75% agreement the first time in that 15-minute window, how often did the 15-minute market close in the same direction and at the end of the 15-minute period log the results into a excel spreadsheet in csv format. BTW, Claude AI also generated a readme file with the actual code and documentation of how it all worked.
In less than 15 minutes I had the script running, logging the results and it ran for 3-days without hanging up.
I've been considering something similar - how has that worked out for you? Or, are you not trading and just gathering historical/live data to see whether there might be a repeatable trading signal?