MCPcopy Create free account

hub / github.com/TopTrenDev/polymarket-kalshi-arbitrage-bot / functions

Functions124 in github.com/TopTrenDev/polymarket-kalshi-arbitrage-bot

↓ 19 callersMethodget
(&self, key: &str)
src/clients.rs:30
↓ 9 callersFunctionenv
(key: &str)
src/config.rs:24
↓ 8 callersFunctionenv
(key: &str)
src/polymarket_clob.rs:50
↓ 8 callersMethodget_auth_headers
(&self, method: &str, path: &str, body: &str)
src/clients.rs:443
↓ 5 callersMethodfetch_prices
(&self, event_id: &str)
src/clients.rs:307
↓ 3 callersMethodadd_position
(&mut self, position: Position)
src/position_tracker.rs:84
↓ 3 callersMethodfilter_events
(&self, events: &[Event])
src/bot.rs:77
↓ 3 callersFunctionnormalize_pem
(value: &str)
src/config.rs:6
↓ 3 callersMethodnormalize_text
(&self, text: &str)
src/event_matcher.rs:63
↓ 3 callersMethodplace_order
( &self, event_id: String, outcome: String, amount: f64, max_price: f6
src/clients.rs:324
↓ 3 callersFunctiontime_bucket_15m
(d: &chrono::DateTime<Utc>)
src/monitor_logger.rs:7
↓ 3 callersMethodwith_asks
(mut self, yes_ask: f64, no_ask: f64, last_price: Option<f64>)
src/event.rs:137
↓ 2 callersFunctionappend_monitor_log
(line: &str, at: &chrono::DateTime<Utc>)
src/monitor_logger.rs:21
↓ 2 callersFunctionbest_ask
(book: &OrderBookSummary)
src/polymarket_clob.rs:58
↓ 2 callersFunctionbook_liquidity
(book: &OrderBookSummary)
src/polymarket_clob.rs:64
↓ 2 callersMethodcalculate_similarity_with_confidence
(&self, event1: &Event, event2: &Event)
src/event_matcher.rs:151
↓ 2 callersMethodcheck_settlement
(&self, event_id: &str)
src/clients.rs:343
↓ 2 callersFunctionclob_host
()
src/polymarket_clob.rs:72
↓ 2 callersMethodextract_dates
(&self, text: &str)
src/event_matcher.rs:89
↓ 2 callersMethodextract_keywords
(&self, text: &str)
src/event_matcher.rs:73
↓ 2 callersMethodextract_numbers
(&self, text: &str)
src/event_matcher.rs:136
↓ 2 callersMethodfetch_open_market_tickers
(&self, series_ticker: &str)
src/clients.rs:592
↓ 2 callersMethodno_ask_or_fallback
(&self)
src/event.rs:152
↓ 2 callersFunctionparse_price
(value: &str)
src/polymarket_clob.rs:54
↓ 2 callersFunctionresolve_token_pair
(http: &Client, condition_id: &str)
src/polymarket_clob.rs:99
↓ 2 callersMethodresolve_tokens
(&self, condition_id: &str)
src/clients.rs:294
↓ 2 callersMethodset
(&self, key: String, prices: MarketPrices)
src/clients.rs:40
↓ 2 callersMethodwith_position_tracker
(mut self, tracker: Arc<Mutex<PositionTracker>>)
src/trade_executor.rs:33
↓ 2 callersMethodwith_wallet
(mut self, private_key: String)
src/clients.rs:80
↓ 2 callersMethodyes_ask_or_fallback
(&self)
src/event.rs:148
↓ 1 callersMethodaddress
(&self)
src/polymarket_blockchain.rs:38
↓ 1 callersMethodcalculate_profit_if_lost
(&self)
src/position_tracker.rs:67
↓ 1 callersMethodcalculate_profit_if_won
(&self)
src/position_tracker.rs:61
↓ 1 callersMethodcalculate_similarity
(&self, event1: &Event, event2: &Event)
src/event_matcher.rs:147
↓ 1 callersMethodcheck_arbitrage
( &self, pm_prices: &MarketPrices, kalshi_prices: &MarketPrices, )
src/arbitrage_detector.rs:48
↓ 1 callersMethodcheck_opportunity
( &self, event: &Event, prices: &MarketPrices, yes_qty: f64, no_qty: f
src/gabagool_detector.rs:26
↓ 1 callersMethodcoin_from_slug
(&self)
src/event.rs:92
↓ 1 callersMethoddates_match
(&self, date1: Option<DateTime<Utc>>, date2: Option<DateTime<Utc>>)
src/event_matcher.rs:126
↓ 1 callersFunctionensure_logs_dir
()
src/monitor_logger.rs:17
↓ 1 callersMethodevents_query_params
(&self)
src/clients.rs:579
↓ 1 callersMethodfetch_events_from_gamma
( &self, tag_slug: Option<&str>, limit: u32, )
src/clients.rs:186
↓ 1 callersFunctionfetch_prices_for_tokens
( http: &Client, yes_token_id: &str, no_token_id: &str, )
src/polymarket_clob.rs:153
↓ 1 callersMethodfind_matches
( &self, polymarket_events: &[Event], kalshi_events: &[Event], )
src/event_matcher.rs:213
↓ 1 callersMethodfind_matches_with_confidence
( &self, polymarket_events: &[Event], kalshi_events: &[Event], )
src/event_matcher.rs:224
↓ 1 callersFunctionget_date_patterns
()
src/event_matcher.rs:30
↓ 1 callersMethodget_market
(&self, ticker: &str)
src/clients.rs:774
↓ 1 callersMethodget_market_prices
(&self, ticker: &str)
src/clients.rs:826
↓ 1 callersFunctionget_number_patterns
()
src/event_matcher.rs:42
↓ 1 callersMethodget_open_positions
(&self)
src/position_tracker.rs:94
↓ 1 callersMethodget_orderbook
(&self, ticker: &str)
src/clients.rs:791
↓ 1 callersMethodget_position_balance
(&self, event_id: &str)
src/gabagool_executor.rs:40
↓ 1 callersMethodget_total_profit
(&self)
src/position_tracker.rs:147
↓ 1 callersMethodget_usdc_balance
Reads bridged USDC balance on Polygon (legacy collateral). CLOB V2 uses pUSD in the funder wallet; use Polymarket account APIs for trading balance.
src/polymarket_blockchain.rs:48
↓ 1 callersMethodis_15m_crypto_market
(&self)
src/event.rs:84
↓ 1 callersMethodis_within_timeframe
(&self, resolution_date: Option<DateTime<Utc>>)
src/bot.rs:48
↓ 1 callersFunctionload_rsa_private_key
()
src/config.rs:74
↓ 1 callersMethodmatches_category
(&self, event: &Event)
src/bot.rs:61
↓ 1 callersMethodmatches_coin_filter
(&self, event: &Event)
src/bot.rs:65
↓ 1 callersFunctionparse_clob_token_ids
(raw: Option<&str>)
src/polymarket_clob.rs:180
↓ 1 callersFunctionplace_clob_order
( condition_id: &str, outcome: &str, amount_usd: f64, max_price: f64, yes_token_id: Option
src/polymarket_clob.rs:214
↓ 1 callersMethodscan_for_opportunities
( &self, pm_events: &[Event], kalshi_events: &[Event], fetch_prices: F, )
src/bot.rs:87
↓ 1 callersFunctionsignature_type_from_env
()
src/polymarket_clob.rs:332
↓ 1 callersMethodslug_is_15m_crypto
(&self)
src/event.rs:65
↓ 1 callersMethodupdate_position_settlement
( &mut self, position_id: &str, won: bool, payout: Option<f64>, )
src/position_tracker.rs:112
↓ 1 callersMethodwith_rpc
(mut self, rpc_url: String)
src/clients.rs:85
Functionappend_monitor_log_with_timestamp
(message: &str)
src/monitor_logger.rs:32
Methodbase_url
(&self)
src/config.rs:65
Methodcancel_order
(&self, platform: &str, order_id: &str)
src/trade_executor.rs:204
Methodcheck_balances
(&self)
src/settlement_checker.rs:87
Methodcheck_settlements
(&self)
src/settlement_checker.rs:26
Methodcheck_transaction
(&self, tx_hash: &str)
src/polymarket_blockchain.rs:83
Methoddefault
()
src/bot.rs:17
Methoddefault
()
src/arbitrage_detector.rs:27
Methodexecute_arbitrage
( &self, opportunity: &ArbitrageOpportunity, pm_event: &Event, kalshi_event: &
src/trade_executor.rs:38
Methodexecute_kalshi_trade
( &self, event: &Event, action: &(String, String, f64), amount: f64, )
src/trade_executor.rs:171
Methodexecute_polymarket_trade
( &self, event: &Event, action: &(String, String, f64), amount: f64, )
src/trade_executor.rs:138
Methodexecute_trade
( &self, opportunity: &GabagoolOpportunity, amount: f64, )
src/gabagool_executor.rs:54
Methodfetch_events
(&self)
src/clients.rs:90
Functionfetch_order_book
(http: &Client, token_id: &str)
src/polymarket_clob.rs:76
Methodfind_best_match
( &self, target_event: &Event, candidate_events: &[Event], )
src/event_matcher.rs:253
Functionformat_prices_line
(ticker: &str, p: &MarketPrices)
src/bin/monitor.rs:15
Methodfrom_config
(config: &KalshiConfig)
src/clients.rs:408
Methodfrom_env
()
src/config.rs:38
Methodget_all_positions
(&self)
src/position_tracker.rs:101
Methodget_balance
(&self)
src/clients.rs:379
Methodget_gas_price
(&self)
src/polymarket_blockchain.rs:99
Methodget_order_status
(&self, platform: &str, order_id: &str)
src/trade_executor.rs:223
Methodget_positions_by_platform
(&self, platform: &str)
src/position_tracker.rs:105
Methodget_profit_by_platform
(&self, platform: &str)
src/position_tracker.rs:154
Methodget_statistics
(&self)
src/gabagool_executor.rs:148
Methodget_statistics
(&self)
src/position_tracker.rs:162
Methodget_statistics
(&self)
src/settlement_checker.rs:106
Methodis_dry_run
(&self)
src/config.rs:69
Methodis_high_confidence
(&self)
src/event_matcher.rs:18
Methodis_medium_confidence
(&self)
src/event_matcher.rs:22
Functionmain
()
src/main.rs:18
Functionmain
()
src/bin/monitor.rs:29
Methodnew
(min_profit_threshold: f64)
src/gabagool_detector.rs:20
Methodnew
( filters: MarketFilters, similarity_threshold: f64, min_profit_threshold: f64, )
src/bot.rs:35
Methodnew
(rpc_url: &str)
src/polymarket_blockchain.rs:16
next →1–100 of 124, ranked by callers