MCPcopy Create free account

hub / github.com/TheOverLordEA/polymarket-hft-engine / functions

Functions65 in github.com/TheOverLordEA/polymarket-hft-engine

↓ 12 callersMethodsave
(&self)
eth-5min-bot/src/state.rs:54
↓ 12 callersMethodsave
(&self)
btc-5min-bot/src/state.rs:54
↓ 7 callersMethodbest_bid
Helper to get best bid/ask as f64
core-shared/src/lib.rs:25
↓ 5 callersMethodbest_ask
(&self)
core-shared/src/lib.rs:29
↓ 2 callersMethodcalculate_tr
(&self, high: f64, low: f64, prev_close: f64)
eth-5min-bot/src/atr.rs:91
↓ 2 callersMethodcalculate_tr
(&self, high: f64, low: f64, prev_close: f64)
btc-5min-bot/src/atr.rs:91
↓ 2 callersMethodcurrent_atr
(&self)
eth-5min-bot/src/atr.rs:134
↓ 2 callersMethodcurrent_atr
(&self)
btc-5min-bot/src/atr.rs:134
↓ 2 callersMethodreconcile_with_chain
(&mut self)
eth-5min-bot/src/strategy.rs:363
↓ 2 callersMethodreconcile_with_chain
(&mut self)
btc-5min-bot/src/strategy.rs:363
↓ 2 callersMethodsign_and_submit
(&mut self, market: &Market, price: f64, size: f64, side: Side)
eth-5min-bot/src/strategy.rs:335
↓ 2 callersMethodsign_and_submit
(&mut self, market: &Market, price: f64, size: f64, side: Side)
btc-5min-bot/src/strategy.rs:335
↓ 2 callersMethodupdate
(&mut self, current_price: f64)
eth-5min-bot/src/velocity.rs:22
↓ 2 callersMethodupdate
(&mut self, current_price: f64)
btc-5min-bot/src/velocity.rs:22
↓ 1 callersMethodbootstrap
(&mut self)
eth-5min-bot/src/atr.rs:57
↓ 1 callersMethodbootstrap
(&mut self)
btc-5min-bot/src/atr.rs:57
↓ 1 callersMethodcheck_on_chain_position
(&self, market: &Market)
eth-5min-bot/src/strategy.rs:456
↓ 1 callersMethodcheck_on_chain_position
(&self, market: &Market)
btc-5min-bot/src/strategy.rs:456
↓ 1 callersMethodcheck_usdc_balance
(&self)
eth-5min-bot/src/strategy.rs:439
↓ 1 callersMethodcheck_usdc_balance
(&self)
btc-5min-bot/src/strategy.rs:439
↓ 1 callersMethodemergency_sell
(&mut self, market: &Market)
eth-5min-bot/src/strategy.rs:313
↓ 1 callersMethodemergency_sell
(&mut self, market: &Market)
btc-5min-bot/src/strategy.rs:313
↓ 1 callersMethodexecute_buy
(&mut self, market: &Market, limit_price: f64)
eth-5min-bot/src/strategy.rs:274
↓ 1 callersMethodexecute_buy
(&mut self, market: &Market, limit_price: f64)
btc-5min-bot/src/strategy.rs:274
↓ 1 callersFunctionfetch_active_market_id
(asset: &str)
eth-5min-bot/src/main.rs:27
↓ 1 callersFunctionfetch_active_market_id
(asset: &str)
btc-5min-bot/src/main.rs:26
↓ 1 callersFunctionfetch_server_time
()
eth-5min-bot/src/main.rs:119
↓ 1 callersFunctionfetch_server_time
()
btc-5min-bot/src/main.rs:118
↓ 1 callersMethodinitialize_client
(&mut self, private_key: &str)
eth-5min-bot/src/strategy.rs:480
↓ 1 callersMethodinitialize_client
(&mut self, private_key: &str)
btc-5min-bot/src/strategy.rs:480
↓ 1 callersMethodis_locked
(&self)
eth-5min-bot/src/velocity.rs:40
↓ 1 callersMethodis_locked
(&self)
btc-5min-bot/src/velocity.rs:40
↓ 1 callersMethodrun_ghost_test
(&mut self)
eth-5min-bot/src/strategy.rs:613
↓ 1 callersMethodsign_and_submit_test
A helper for the test that doesn't change bot state
eth-5min-bot/src/strategy.rs:642
↓ 1 callersMethodupdate_from_tick
Updates the monitor with a new price tick
eth-5min-bot/src/atr.rs:99
↓ 1 callersMethodupdate_from_tick
Updates the monitor with a new price tick
btc-5min-bot/src/atr.rs:99
Methodcalculate_probability
(current_price: f64, strike_price: f64, time_remaining_sec: i64)
eth-5min-bot/src/strategy.rs:263
Methodcalculate_probability
(current_price: f64, strike_price: f64, time_remaining_sec: i64)
btc-5min-bot/src/strategy.rs:263
Methoddefault
()
eth-5min-bot/src/state.rs:26
Methoddefault
()
btc-5min-bot/src/state.rs:26
Methoddefault
()
core-shared/src/lib.rs:11
Methoddefault_btc
()
btc-5min-bot/src/config.rs:11
Methoddefault_eth
()
eth-5min-bot/src/config.rs:11
Methodexecute_tick
(&mut self, binance_price: f64, coinbase_price: f64, config: &MarketConfig)
eth-5min-bot/src/strategy.rs:105
Methodexecute_tick
(&mut self, binance_price: f64, coinbase_price: f64, config: &MarketConfig)
btc-5min-bot/src/strategy.rs:105
Methodgrant_sell_permission
()
eth-5min-bot/src/strategy.rs:567
Methodgrant_sell_permission
()
btc-5min-bot/src/strategy.rs:507
Methodis_valid
(&self)
core-shared/src/lib.rs:33
Methodis_volatility_desert
(&self, threshold: f64)
eth-5min-bot/src/atr.rs:142
Methodis_volatility_desert
(&self, threshold: f64)
btc-5min-bot/src/atr.rs:142
Methodload
()
eth-5min-bot/src/state.rs:41
Methodload
()
btc-5min-bot/src/state.rs:41
Functionmain
()
eth-5min-bot/src/main.rs:132
Functionmain
()
btc-5min-bot/src/main.rs:131
Methodnew
(threshold: f64, duration_secs: u64)
eth-5min-bot/src/velocity.rs:12
Methodnew
Bootstraps the ATR monitor using Binance REST API
eth-5min-bot/src/atr.rs:38
Methodnew
( trading_enabled: bool, asset: String, signature_type: u8, funder: Option<Add
eth-5min-bot/src/strategy.rs:50
Methodnew
(threshold: f64, duration_secs: u64)
btc-5min-bot/src/velocity.rs:12
Methodnew
Bootstraps the ATR monitor using Binance REST API
btc-5min-bot/src/atr.rs:38
Methodnew
( trading_enabled: bool, asset: String, signature_type: u8, funder: Option<Add
btc-5min-bot/src/strategy.rs:50
Methodnew
()
core-shared/src/lib.rs:17
Functionrun_ghost_test
(&mut self)
eth-5min-bot/src/test_connection.rs:1
Methodsend_telegram_alert
(message: &str)
eth-5min-bot/src/strategy.rs:88
Methodsend_telegram_alert
(message: &str)
btc-5min-bot/src/strategy.rs:88
Methodupdate
Update processes deltas properly
core-shared/src/lib.rs:41