Repository navigation
feat: Betfair and Smarkets trading, Myriad AMM, Gemini combos, Novig parlay RFQ, Azuro combos and claims - #43
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # README.md # docs/capabilities.md # docs/trading.md # synpath/__init__.py # synpath/client.py # synpath/engine/__main__.py # synpath/server/serve.py # synpath/trading/__init__.py # synpath/trading/credentials.py
# Conflicts: # docs/capabilities.md
# Conflicts: # docs/capabilities.md # synpath/__init__.py # synpath/ws/__init__.py
# Conflicts: # docs/capabilities.md # docs/trading.md
# Conflicts: # docs/capabilities.md
README: Novig's parlay RFQ is now supported for liquidity providers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-ups to 0.10.0, released as 0.11.0. Every venue now has order entry.
BetfairTrading,BetfairUserStream): Betting API orders (limit with LAPSE / PERSIST / MARKET_ON_CLOSE, Betfair's fill-or-kill, IOC as place-then-cancel), cancel / replace / update, current and cleared orders, P&L, funds, and the Exchange Stream order stream. Back = buy YES, lay = sell YES, ladder and minimum-stake checks as for Matchbook. Bets need a live app key.SmarketsTrading): session login, orders (good-til-halted, keep-in-play, IOC, FOK via minimum accepted quantity), cancel and cancel-all, orders, fills from the statement, positions netted from orders, balance, fee estimate. Polled; Smarkets has no account stream.MarketActionTx,approve_amm(),redeem_amm().fetch_combos,fetch_combo,create_combo, andGeminiRfqStreamfor the maker side of Gemini's combo auction (submit / withdraw / confirm). Gemini has no API for opening RFQs or accepting quotes; those raiseNotSupportedquoting Gemini.NovigPricer,NovigPricerStream,NovigExecutionFeed): the liquidity-provider side over the websocket or webhooks (BLAKE3X-Novig-Signature), last-look confirms, Novig's confirm-rate rule, executions and collateral. OAuth client credentials (NOVIG_RFQ_*).fetch_combo_quote/create_combo_orderwith a minimum total-odds bound and Azuro's betslip rules;fetch_redeemable_betsandclaim_winnings/redeem, batchedwithdrawPayoutswith each claim simulated first. Default Polygon RPC moved to publicnode (polygon-rpc.com now refuses keyless calls).Built from each venue's documentation; signing and encodings are checked against published or independently produced vectors, and claim calldata matches a real Polygon claim. Nothing was sent against a live account.
Tests: 3742 passed, 4 skipped on the Rust core; 3246 passed with
SYNPATH_PURE_PYTHON=1.cargo fmt,clippyand the sdist build pass.🤖 Generated with Claude Code