Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HarrierOnChain/Prediction-Markets-Trading-Bot-Toolkits
/ functions
Functions
533 in github.com/HarrierOnChain/Prediction-Markets-Trading-Bot-Toolkits
⨍
Functions
533
◇
Types & classes
160
Method
by_slug
(&self, slug: &str)
src/service/market_cache.rs:58
Method
by_token_id
(&self, token_id: &str)
src/service/predict_fun.rs:695
Method
cancel_all
(&self)
src/bot/runtime.rs:571
Function
caps_at_max
()
src/service/strategy.rs:133
Function
caps_stop_orders_before_they_reach_the_venue
()
src/bot/runtime.rs:1264
Function
category_block_wins_over_allow
()
src/service/eligibility.rs:108
Function
category_exposure_sums_only_same_category
()
src/service/position_store.rs:143
Function
check
`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
Method
check_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
Function
clamps_above_upper
()
src/utils.rs:38
Function
clamps_below_lower
()
src/utils.rs:33
Function
closed_market_always_blocked
()
src/service/eligibility.rs:94
Function
coinbase_pairs_map_from_feed_symbols
()
src/service/spot.rs:250
Method
committed_usd
(&self)
src/bot/runtime.rs:118
Method
connect
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
Function
crossing_the_spread_doesnt_trip_the_stop_by_itself
()
src/bot/orderbook_imbalance.rs:311
Function
decodes_a_real_buy
()
src/service/parse.rs:148
Function
decodes_a_real_sell
()
src/service/parse.rs:165
Method
default
()
src/config.rs:228
Function
default_exchange_v3
()
src/config.rs:130
Function
default_filters_allow_everything
()
src/service/eligibility.rs:102
Function
default_monitor_secs
()
src/config.rs:549
Function
default_sl_pct
()
src/config.rs:548
Function
default_tp_pct
()
src/config.rs:547
Function
default_true
()
src/config.rs:645
Function
deposit_wallet_order_matches_the_official_sdk
()
src/service/clob.rs:1247
Function
depth_check_blocks_thin_book
()
src/service/risk_guard.rs:177
Method
drop
(&mut self)
src/bot/quoting.rs:147
Function
dust_is_refused
()
src/service/predict_fun.rs:1874
Function
each_wallet_has_its_own_bucket
()
src/bot/whale_signal.rs:180
Function
empty_fill_records_nothing
()
src/service/order_executor.rs:414
Function
eoa_order_matches_the_official_sdk
()
src/service/clob.rs:1210
Function
even_book_stays_even_and_heavy_bids_tilt_toward_yes
()
src/bot/directional_arb.rs:208
Function
every_leg_clears_the_venue_minimum
()
src/bot/directional_arb.rs:228
Function
ewma_tracks_a_known_volatility_and_respects_the_floor
()
src/service/spot.rs:235
Method
exchange
(&self, is_neg_risk: bool, is_yield_bearing: bool)
src/service/predict_fun.rs:124
Function
exchanges_are_routed_by_market_flags
()
src/service/predict_fun.rs:1913
Function
exit_with_nothing_held_closes_the_position
()
src/service/position_monitor.rs:249
Function
exit_with_unknown_fill_closes_the_position
()
src/service/position_monitor.rs:236
Function
exits_on_profit_loss_or_time
()
src/bot/orderbook_imbalance.rs:296
Function
extreme_prices_are_out_of_band
()
src/bot/orderbook_imbalance.rs:304
Function
extreme_prices_drop_the_leg_that_falls_off_the_book
()
src/bot/market_maker.rs:173
Function
fade_reverses_the_signal
()
src/bot/orderbook_imbalance.rs:281
Function
fees_and_a_small_gap_rule_it_out
()
src/bot/cross_market_arb.rs:268
Function
fees_count_against_the_edge
()
src/bot/arbitrage.rs:257
Function
filled_exit_closes_the_position
()
src/service/position_monitor.rs:230
Function
fills_read_from_the_side_that_holds_shares
()
src/service/clob.rs:1373
Function
finds_no_here_and_yes_there_through_the_mirror
()
src/bot/cross_market_arb.rs:256
Function
finds_yes_here_and_no_there
()
src/bot/cross_market_arb.rs:244
Function
first_large_requests_book
()
src/service/risk_guard.rs:162
Function
fixed_uses_copy_size
()
src/service/strategy.rs:127
Function
flat_bids_one_tick_inside_a_wide_spread
()
src/bot/spread_farming.rs:166
Function
flat_quotes_a_yes_bid_and_a_no_bid
()
src/bot/market_maker.rs:138
Function
flat_range_does_not_trigger
()
src/service/position_monitor.rs:297
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/service/predict_fun.rs:686
Method
from
(v: VenueArg)
src/main.rs:61
Method
from_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
Method
from_book
(book: &Value)
src/service/clob.rs:205
Method
from_json
(v: &Value)
src/service/clob.rs:799
Function
funds_read_balance_and_allowances
()
src/service/clob.rs:1419
Function
handle_log
(executor: &OrderExecutor, whale: &str, log: &RawLog)
src/bot/copy_trading.rs:232
Function
heavy_bids_buy_yes_and_heavy_asks_buy_no
()
src/bot/orderbook_imbalance.rs:272
Function
hmac_rfc4231_test_1
()
src/service/clob.rs:1455
Function
holding_never_offers_below_cost_while_the_price_is_down
()
src/bot/spread_farming.rs:184
Function
holding_offers_inside_the_ask
()
src/bot/spread_farming.rs:178
Method
id
(&self)
src/service/predict_fun.rs:1385
Method
id
(&self)
src/service/clob.rs:744
Method
id
(&self)
src/service/order_executor.rs:355
Function
ignores_other_makers_and_rejects_v1_sized_data
()
src/service/parse.rs:181
Function
ignores_prices_outside_the_band_and_thin_asks
()
src/bot/resolution_sniper.rs:198
Function
imbalance_is_measured_over_the_configured_levels
()
src/bot/orderbook_imbalance.rs:265
Method
is_buy
(&self)
src/models.rs:53
Method
is_mirrored
The API quotes for the first outcome, so anything else reads it mirrored.
src/service/predict_fun.rs:638
Method
is_tripped
(&self)
src/service/risk_guard.rs:116
Function
l1_auth_matches_the_official_sdk
()
src/service/clob.rs:1267
Function
l2_signature_matches_the_official_sdk
()
src/service/clob.rs:1282
Method
label
(self)
src/bot/mod.rs:40
Method
large_trades
Follow every taker trade of at least `min_usd`, whoever sends it.
src/service/predict_fun.rs:1046
Function
limit_amounts_match_the_sdk
()
src/service/predict_fun.rs:2108
Function
limit_blocks_worse_fills_only
()
src/service/predict_fun.rs:1903
Function
limit_order_body_is_a_post_only_limit
()
src/service/predict_fun.rs:2128
Function
links_only_an_open_market_with_the_same_outcomes
()
src/service/polymarket_read.rs:150
Function
lists_open_fixtures_and_hides_props_unless_asked
()
src/bot/sports_execution.rs:290
Function
live_fill_records_the_size_the_venue_reports
()
src/bot/runtime.rs:1420
Function
live_large_trade_feed_reads_real_history
()
src/service/predict_fun.rs:1983
Function
live_partial_fills_are_booked_once_and_closed_orders_drop
()
src/bot/runtime.rs:1437
Function
live_reads_an_open_market_and_its_books
()
src/service/polymarket_read.rs:165
Function
live_refuses_to_start_without_a_wallet
()
src/bot/runtime.rs:1215
Function
live_rejected_removal_leaves_the_order_working
()
src/bot/runtime.rs:1488
Function
live_removed_order_is_watched_until_the_venue_closes_it
()
src/bot/runtime.rs:1464
Function
live_testnet_dry_run_pipeline
()
src/service/predict_fun.rs:2005
Method
load
(config_path: &Path, credentials_path: &Path)
src/config.rs:584
Method
location
(&self)
src/service/clob.rs:835
Function
log_summary
(name: &str, ctx: &Ctx)
src/bot/runtime.rs:1077
Function
long_inventory_lowers_quotes_and_sells_what_it_holds
()
src/bot/market_maker.rs:155
Function
long_no_sells_no_rather_than_buying_more_yes
()
src/bot/market_maker.rs:166
Function
loss_limit_halts_entries_but_not_exits
()
src/bot/runtime.rs:1388
Function
main
()
src/main.rs:101
Function
maker_leg_uses_its_own_side_and_outcome
()
src/service/predict_fun.rs:1958
Function
market_buy_matches_sdk
()
src/service/predict_fun.rs:1841
← previous
next →
301–400 of 533, ranked by callers