Skip to main content

Generate an AI Trade Setup

GET 

/api/v2/public/ai-trade-setup/generate

Generates a new AI Trade Setup for the selected coin and time interval: the altFINS AI analyses the current trend, momentum, volume, support/resistance and chart patterns of the coin and returns the trade direction, entry, stop loss, one or two profit targets with risk/reward, confidence and the reasoning behind it, together with the altFINS market data it is based on. When the market offers no clean setup, the trade direction is NONE and the summary explains why.

A setup of the same coin and interval generated within the last few minutes (1 for MINUTES15, 5 for HOURLY, 10 for HOURS4, 30 for HOURS12 and DAILY), or one that is being generated for another request, is returned instead of a new one, with reused: true.

Generating a new AI Trade Setup can take a minute or more. The request waits up to 45 seconds; a setup that is not ready by then is returned with HTTP 202 and status PENDING and is finished in the background. Once finished, it is returned by the search (createdBy=ME, generatedVia=REST) under the same id. Set the read timeout of your HTTP client to at least 60 seconds and do not retry a request that is still running.

Each request uses one of the AI Trade Setup prompts your API plan includes per month (Hobbyist 200, Startup 500, Standard 1500 and Professional 2000; not included in Basic), also when an existing setup is returned.

Request​

Responses​

The generated or reused setup.