To initiate trades, simply call the placeTrade() function. This function handles the core trading logic and will integrate seamlessly into your existing system.
Step 2: Use Pricing Endpoints
For pricing information, we provide easy-to-use endpoints:
Get Price Endpoint: Use get_price to obtain the current price for a trade.
Get Midprice Endpoint: Use get_midprice to retrieve the mid-market price.
These endpoints will allow you to access the necessary pricing data efficiently.
If you have additional questions/issues feel free to reach out to our team through Discord or Telegram