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
Function
market_buy_truncates_quantity_like_sdk
()
src/service/predict_fun.rs:1859
Function
market_sell_matches_sdk
()
src/service/predict_fun.rs:1850
Method
midprice
(&self, token_id: &str)
src/service/midprice.rs:38
Function
mirrored_prices_are_exact_decimals
()
src/models.rs:168
Method
name
(&self)
src/bot/market_maker.rs:43
Method
name
(&self)
src/bot/spread_farming.rs:88
Method
name
(&self)
src/bot/cross_market_arb.rs:82
Method
name
(&self)
src/bot/whale_signal.rs:72
Method
name
(&self)
src/bot/directional_arb.rs:59
Method
name
(&self)
src/bot/orderbook_imbalance.rs:56
Method
name
(&self)
src/bot/resolution_sniper.rs:52
Function
neg_risk_order_matches_the_official_sdk
()
src/service/clob.rs:1224
Function
never_quotes_through_the_touch
()
src/bot/market_maker.rs:147
Method
new
(cfg: &AppConfig)
src/service/predict_fun.rs:504
Method
new
(cfg: &AppConfig)
src/service/clob.rs:323
Method
new
()
src/service/spot.rs:55
Method
new
(http: Client, clob_base: impl Into<String>)
src/service/midprice.rs:23
Method
new
()
src/service/position_store.rs:53
Method
new
( cfg: AppConfig, venue: Result<Arc<dyn OrderVenue>>, risk: Arc<RiskGuard>, ma
src/service/order_executor.rs:57
Method
new
(base: &str)
src/service/polymarket_read.rs:57
Method
new
(http: Client, gamma_base: impl Into<String>)
src/service/market_cache.rs:48
Method
new
(cfg: RiskConfig)
src/service/risk_guard.rs:48
Method
new
(ctx: &Ctx)
src/bot/market_maker.rs:32
Method
new
(ctx: &Ctx)
src/bot/spread_farming.rs:30
Method
new
(ctx: &Ctx, min_spread: f64, min_secs_left: i64, count: usize)
src/bot/quoting.rs:153
Method
new
( limits: StrategyLimits, live: bool, taker: Option<Arc<dyn OrderVenue>>, limi
src/bot/runtime.rs:266
Method
new
(ctx: &Ctx)
src/bot/directional_arb.rs:45
Function
no_outcome_sees_the_book_mirrored
()
src/service/predict_fun.rs:1879
Function
no_token_trades_the_mirrored_book
()
src/bot/runtime.rs:1254
Function
normal_cdf_matches_known_values
()
src/service/spot.rs:211
Function
one_sided_book_quotes_nothing
()
src/bot/market_maker.rs:180
Function
only_gtd_orders_expire
()
src/service/clob.rs:1327
Function
order_body_has_the_shape_the_api_declares
()
src/service/predict_fun.rs:2270
Function
order_hash_and_signature_match_sdk_for_every_exchange
()
src/service/predict_fun.rs:1768
Method
order_state
(&self, order_hash: &str)
src/service/predict_fun.rs:1492
Function
paper_no_quote_fills_on_the_mirrored_book
()
src/bot/runtime.rs:1364
Function
paper_quote_expires
()
src/bot/runtime.rs:1377
Function
paper_quote_fills_only_when_the_book_trades_through_it
()
src/bot/runtime.rs:1347
Function
paper_take_walks_the_book_and_charges_the_taker_fee
()
src/bot/runtime.rs:1220
Function
parses_commands
()
src/bot/sports_execution.rs:264
Function
partial_api_credentials_are_refused
()
src/service/clob.rs:1411
Function
partial_exit_keeps_watching_what_is_left
()
src/service/position_monitor.rs:255
Function
partial_fill_records_what_filled
()
src/service/order_executor.rs:409
Function
payouts_come_from_round_prices_and_ties_pay_half
()
src/service/predict_fun.rs:2193
Function
percentage_basic
()
src/service/strategy.rs:120
Method
place
( &self, planned: &PlannedOrder, expiration_secs: u64, live: bool, )
src/service/clob.rs:748
Function
plan_keeps_near_quotes_and_replaces_the_rest
()
src/bot/runtime.rs:1533
Function
pnl_pct_buy_long_direction
()
src/service/position_store.rs:162
Function
pnl_pct_sell_short_direction
()
src/service/position_store.rs:170
Function
position_book_order_matches_the_official_sdk
()
src/service/clob.rs:1258
Function
position_books_sign_against_exchange_v3
()
src/service/clob.rs:1350
Method
positions
(&self)
src/service/predict_fun.rs:1503
Method
positions
(&self)
src/service/order_executor.rs:86
Function
positions_already_in_the_wallet_limit_entries_but_are_never_sold
()
src/bot/runtime.rs:1502
Method
post_limit
(&self, order: &LimitOrder, live: bool)
src/service/predict_fun.rs:1447
Function
predict_account_signatures_match_sdk_formula
()
src/service/predict_fun.rs:1813
Function
prices_parse_without_float_drift
()
src/service/predict_fun.rs:1894
Function
prices_snap_to_the_tick
()
src/bot/runtime.rs:1205
Function
prices_stay_inside_the_book
()
src/service/clob.rs:1319
Function
quotable_markets_exclude_contested_ending_and_tight_ones
()
src/bot/runtime.rs:1565
Method
quote
`symbol` as Predict's feeds name it, e.g. `BTCUSDT`.
src/service/spot.rs:66
Function
quote_line
(book: Option<&BookSnapshot>)
src/bot/sports_execution.rs:241
Function
quotes_neither_leg_when_both_cant_fit_the_order_cap
()
src/bot/directional_arb.rs:238
Function
real_book_response_gives_signing_params
()
src/service/clob.rs:1336
Function
recorded_shares
Run one live buy through the pipeline; returns the shares recorded.
src/service/order_executor.rs:370
Function
rejects_bad_input_rather_than_guessing
()
src/bot/sports_execution.rs:281
Function
response
(status: &str, making: &str, taking: &str)
src/service/clob.rs:1362
Function
resting_buys_count_toward_the_caps
()
src/bot/runtime.rs:1295
Function
resting_sells_cant_offer_more_than_is_held
()
src/bot/runtime.rs:1323
Function
rests_a_basket_below_the_cap_inside_a_wide_spread
()
src/bot/directional_arb.rs:193
Function
rounds_to_tick
()
src/utils.rs:43
Function
run
(cfg: AppConfig)
src/bot/copy_trading.rs:54
Function
run
(cfg: AppConfig)
src/bot/market_maker.rs:20
Function
run
(cfg: AppConfig)
src/bot/arbitrage.rs:33
Function
run
(cfg: AppConfig)
src/bot/spread_farming.rs:18
Function
run
(kind: BotKind, cfg: AppConfig)
src/bot/mod.rs:65
Function
run
(cfg: AppConfig)
src/bot/cross_market_arb.rs:30
Function
run
(cfg: AppConfig)
src/bot/whale_signal.rs:20
Function
run
(cfg: AppConfig)
src/bot/directional_arb.rs:33
Function
run
(cfg: AppConfig)
src/bot/orderbook_imbalance.rs:28
Function
run
(cfg: AppConfig)
src/bot/sports_execution.rs:40
Function
run
(cfg: AppConfig)
src/bot/resolution_sniper.rs:23
Function
safe_order_matches_the_official_sdk
()
src/service/clob.rs:1235
Function
second_consecutive_large_trips
()
src/service/risk_guard.rs:168
Function
sell_inverted_pnl_logic
()
src/service/position_monitor.rs:303
Function
sells_are_clamped_to_what_is_held
()
src/bot/runtime.rs:1308
Method
settle_resolved
Close out holdings in markets whose result is known.
src/bot/runtime.rs:695
Function
settlement_pays_winners_and_ties_half
()
src/bot/runtime.rs:1405
Function
sha256_known_vectors
()
src/service/clob.rs:1432
Method
signer_address
(&self)
src/service/clob.rs:358
Function
signer_matches_sdk_address
()
src/service/predict_fun.rs:1760
Function
skips_a_spread_too_tight_for_the_floor
()
src/bot/directional_arb.rs:202
Function
skips_tiny_whale
()
src/service/strategy.rs:141
Function
slug_allow_overrides_category_miss
()
src/service/eligibility.rs:139
Function
small_trades_always_pass
()
src/service/risk_guard.rs:155
Function
stays_out_near_the_end_and_before_the_start_price_is_known
()
src/bot/arbitrage.rs:272
Function
still_open_after_exit
Trigger take-profit against `venue` and report if the position survived.
src/service/position_monitor.rs:219
Function
stop_loss_triggers
()
src/service/position_monitor.rs:291
Function
stops_adding_to_a_side_that_is_too_far_ahead
()
src/bot/directional_arb.rs:220
Function
strict_allowlist_admits_listed_category
()
src/service/eligibility.rs:129
← previous
next →
401–500 of 533, ranked by callers