Build with Voyons
Your one-stop hub for API docs, SDK tools, and community resources
Welcome to the Voyons Documentation Hub
Access Voyons through our REST API or Python SDK. The REST API provides direct HTTP endpoints for all functionality, while the SDK offers a convenient Python interface. Choose the integration method that best fits your needs.
Simple Yet Powerful SDK
Generate and analyze market forecasts with just a few lines of code
# Generate forecast with multiple scenarios import duonlabs client = duonlabs.DuonLabs(token=os.environ['DUONLABS_TOKEN']) # Make sure to set the DUONLABS_TOKEN environment variable # (... load market data, e.g. CCXT ...) forecast = client.forecast( timestamps=timestamps, samples=candles, max_steps=20, n_scenarios=512 ) # Example insights # Get scenario with highest predicted high best_case = forecast.highest('high') # Calculate probability of next candle price increase p_increase = forecast.probability(lambda s: s['close'][0] > current_price) # Get expected return after 20 steps exp_return = forecast.expectation(lambda s: s['close'][-1] / current_price - 1)
Connect with the Voyons Community
Start Building with Voyons Today
Access everything you need to forecast smarter