Skip to content

0.5.0

Choose a tag to compare

@YukiC0804 YukiC0804 released this 05 Oct 13:50
· 22 commits to main since this release
f8e2fac

predict.fun

predict.fun (BNB Chain) is the sixth venue, predict_fun.

  • Market data: markets, categories as events, search, order books, trades, probability history and fees (taker rate × min(p, 1 − p) a share). Every mainnet request needs an API key (PREDICT_FUN_API_KEY, from developers.predict.fun); testnet=True needs none. Each market keeps the Polymarket market it mirrors.
  • Streams: PredictFunMarketStream for books, top of book with the last settled price, and market status. PredictFunUserStream for orders, and fills as matched, then confirmed or failed on chain.
  • Trading: PredictFunTrading from a plain wallet or a Predict account. It supports limit, GTD, post-only, market, IOC and FOK orders, batch cancels, orders, fills, positions, balance and fee estimates. Signing is checked against independent EIP-712 encoders and the venue SDK's method. Logging in accepts predict.fun's Terms of Service, so read them first.
  • synpath init and synpath doctor now cover predict.fun, testnet included.
  • Cross-venue matching on synpath.dev puts a predict.fun market on the card of the Polymarket market it copies.

Full changes: v0.4.0...v0.5.0