MCPcopy Create free account

hub / github.com/HarrierOnChain/Prediction-Markets-Trading-Bot-Toolkits / functions

Functions533 in github.com/HarrierOnChain/Prediction-Markets-Trading-Bot-Toolkits

Methodby_slug
(&self, slug: &str)
src/service/market_cache.rs:58
Methodby_token_id
(&self, token_id: &str)
src/service/predict_fun.rs:695
Methodcancel_all
(&self)
src/bot/runtime.rs:571
Functioncaps_at_max
()
src/service/strategy.rs:133
Functioncaps_stop_orders_before_they_reach_the_venue
()
src/bot/runtime.rs:1264
Functioncategory_block_wins_over_allow
()
src/service/eligibility.rs:108
Functioncategory_exposure_sums_only_same_category
()
src/service/position_store.rs:143
Functioncheck
`check-venue`: report what works on the configured network without placing an order. Signs in only when asked to.
src/service/predict_fun.rs:1649
Methodcheck_sign_in
Prove the connection without placing anything. `sign_in` also signs the auth message, which accepts Predict's Terms of Service.
src/service/predict_fun.rs:1374
Functionclamps_above_upper
()
src/utils.rs:38
Functionclamps_below_lower
()
src/utils.rs:33
Functionclosed_market_always_blocked
()
src/service/eligibility.rs:94
Functioncoinbase_pairs_map_from_feed_symbols
()
src/service/spot.rs:250
Methodcommitted_usd
(&self)
src/bot/runtime.rs:118
Methodconnect
Connect to the configured venue. The strategy bots need market listing and resting orders, which only the Predict.fun adapter has so far.
src/bot/runtime.rs:847
Functioncrossing_the_spread_doesnt_trip_the_stop_by_itself
()
src/bot/orderbook_imbalance.rs:311
Functiondecodes_a_real_buy
()
src/service/parse.rs:148
Functiondecodes_a_real_sell
()
src/service/parse.rs:165
Methoddefault
()
src/config.rs:228
Functiondefault_exchange_v3
()
src/config.rs:130
Functiondefault_filters_allow_everything
()
src/service/eligibility.rs:102
Functiondefault_monitor_secs
()
src/config.rs:549
Functiondefault_sl_pct
()
src/config.rs:548
Functiondefault_tp_pct
()
src/config.rs:547
Functiondefault_true
()
src/config.rs:645
Functiondeposit_wallet_order_matches_the_official_sdk
()
src/service/clob.rs:1247
Functiondepth_check_blocks_thin_book
()
src/service/risk_guard.rs:177
Methoddrop
(&mut self)
src/bot/quoting.rs:147
Functiondust_is_refused
()
src/service/predict_fun.rs:1874
Functioneach_wallet_has_its_own_bucket
()
src/bot/whale_signal.rs:180
Functionempty_fill_records_nothing
()
src/service/order_executor.rs:414
Functioneoa_order_matches_the_official_sdk
()
src/service/clob.rs:1210
Functioneven_book_stays_even_and_heavy_bids_tilt_toward_yes
()
src/bot/directional_arb.rs:208
Functionevery_leg_clears_the_venue_minimum
()
src/bot/directional_arb.rs:228
Functionewma_tracks_a_known_volatility_and_respects_the_floor
()
src/service/spot.rs:235
Methodexchange
(&self, is_neg_risk: bool, is_yield_bearing: bool)
src/service/predict_fun.rs:124
Functionexchanges_are_routed_by_market_flags
()
src/service/predict_fun.rs:1913
Functionexit_with_nothing_held_closes_the_position
()
src/service/position_monitor.rs:249
Functionexit_with_unknown_fill_closes_the_position
()
src/service/position_monitor.rs:236
Functionexits_on_profit_loss_or_time
()
src/bot/orderbook_imbalance.rs:296
Functionextreme_prices_are_out_of_band
()
src/bot/orderbook_imbalance.rs:304
Functionextreme_prices_drop_the_leg_that_falls_off_the_book
()
src/bot/market_maker.rs:173
Functionfade_reverses_the_signal
()
src/bot/orderbook_imbalance.rs:281
Functionfees_and_a_small_gap_rule_it_out
()
src/bot/cross_market_arb.rs:268
Functionfees_count_against_the_edge
()
src/bot/arbitrage.rs:257
Functionfilled_exit_closes_the_position
()
src/service/position_monitor.rs:230
Functionfills_read_from_the_side_that_holds_shares
()
src/service/clob.rs:1373
Functionfinds_no_here_and_yes_there_through_the_mirror
()
src/bot/cross_market_arb.rs:256
Functionfinds_yes_here_and_no_there
()
src/bot/cross_market_arb.rs:244
Functionfirst_large_requests_book
()
src/service/risk_guard.rs:162
Functionfixed_uses_copy_size
()
src/service/strategy.rs:127
Functionflat_bids_one_tick_inside_a_wide_spread
()
src/bot/spread_farming.rs:166
Functionflat_quotes_a_yes_bid_and_a_no_bid
()
src/bot/market_maker.rs:138
Functionflat_range_does_not_trigger
()
src/service/position_monitor.rs:297
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/service/predict_fun.rs:686
Methodfrom
(v: VenueArg)
src/main.rs:61
Methodfrom_api
`mirror` turns the API's Yes-quoted book into the No outcome's view: a Yes bid at `p` is a No ask at `1 - p`, and vice versa.
src/service/predict_fun.rs:362
Methodfrom_book
(book: &Value)
src/service/clob.rs:205
Methodfrom_json
(v: &Value)
src/service/clob.rs:799
Functionfunds_read_balance_and_allowances
()
src/service/clob.rs:1419
Functionhandle_log
(executor: &OrderExecutor, whale: &str, log: &RawLog)
src/bot/copy_trading.rs:232
Functionheavy_bids_buy_yes_and_heavy_asks_buy_no
()
src/bot/orderbook_imbalance.rs:272
Functionhmac_rfc4231_test_1
()
src/service/clob.rs:1455
Functionholding_never_offers_below_cost_while_the_price_is_down
()
src/bot/spread_farming.rs:184
Functionholding_offers_inside_the_ask
()
src/bot/spread_farming.rs:178
Methodid
(&self)
src/service/predict_fun.rs:1385
Methodid
(&self)
src/service/clob.rs:744
Methodid
(&self)
src/service/order_executor.rs:355
Functionignores_other_makers_and_rejects_v1_sized_data
()
src/service/parse.rs:181
Functionignores_prices_outside_the_band_and_thin_asks
()
src/bot/resolution_sniper.rs:198
Functionimbalance_is_measured_over_the_configured_levels
()
src/bot/orderbook_imbalance.rs:265
Methodis_buy
(&self)
src/models.rs:53
Methodis_mirrored
The API quotes for the first outcome, so anything else reads it mirrored.
src/service/predict_fun.rs:638
Methodis_tripped
(&self)
src/service/risk_guard.rs:116
Functionl1_auth_matches_the_official_sdk
()
src/service/clob.rs:1267
Functionl2_signature_matches_the_official_sdk
()
src/service/clob.rs:1282
Methodlabel
(self)
src/bot/mod.rs:40
Methodlarge_trades
Follow every taker trade of at least `min_usd`, whoever sends it.
src/service/predict_fun.rs:1046
Functionlimit_amounts_match_the_sdk
()
src/service/predict_fun.rs:2108
Functionlimit_blocks_worse_fills_only
()
src/service/predict_fun.rs:1903
Functionlimit_order_body_is_a_post_only_limit
()
src/service/predict_fun.rs:2128
Functionlinks_only_an_open_market_with_the_same_outcomes
()
src/service/polymarket_read.rs:150
Functionlists_open_fixtures_and_hides_props_unless_asked
()
src/bot/sports_execution.rs:290
Functionlive_fill_records_the_size_the_venue_reports
()
src/bot/runtime.rs:1420
Functionlive_large_trade_feed_reads_real_history
()
src/service/predict_fun.rs:1983
Functionlive_partial_fills_are_booked_once_and_closed_orders_drop
()
src/bot/runtime.rs:1437
Functionlive_reads_an_open_market_and_its_books
()
src/service/polymarket_read.rs:165
Functionlive_refuses_to_start_without_a_wallet
()
src/bot/runtime.rs:1215
Functionlive_rejected_removal_leaves_the_order_working
()
src/bot/runtime.rs:1488
Functionlive_removed_order_is_watched_until_the_venue_closes_it
()
src/bot/runtime.rs:1464
Functionlive_testnet_dry_run_pipeline
()
src/service/predict_fun.rs:2005
Methodload
(config_path: &Path, credentials_path: &Path)
src/config.rs:584
Methodlocation
(&self)
src/service/clob.rs:835
Functionlog_summary
(name: &str, ctx: &Ctx)
src/bot/runtime.rs:1077
Functionlong_inventory_lowers_quotes_and_sells_what_it_holds
()
src/bot/market_maker.rs:155
Functionlong_no_sells_no_rather_than_buying_more_yes
()
src/bot/market_maker.rs:166
Functionloss_limit_halts_entries_but_not_exits
()
src/bot/runtime.rs:1388
Functionmain
()
src/main.rs:101
Functionmaker_leg_uses_its_own_side_and_outcome
()
src/service/predict_fun.rs:1958
Functionmarket_buy_matches_sdk
()
src/service/predict_fun.rs:1841
← previousnext →301–400 of 533, ranked by callers