class

PolyScan::App::Config

Inherits YAML::Serializable::Strict < YAML::Serializable < Reference < Object

Constants

FORBIDDEN_RUNTIME_KEYS = {"data_source", "gamma_fixture_path", "clob_books_path"}

Constructors

load(path : String) : Config
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

apply_env!
Source
bind_host
Source
bind_host=(bind_host : String)
Source
book_limit
Source
book_limit=(book_limit : Int32)
Source
clob_base_url
Source
clob_base_url=(clob_base_url : String)
Source
database_path
Source
database_path=(database_path : String)
Source
gamma_base_url
Source
gamma_base_url=(gamma_base_url : String)
Source
high_fee_threshold
Source
high_fee_threshold=(high_fee_threshold : Fixed)
Source
http
Source
http=(http : HttpConfig)
Source
http_max_retries
Source
http_max_retries=(value : Int32) : Int32
Source
http_rate_limit_per_minute
Source
http_rate_limit_per_minute=(value : Int32) : Int32
Source
http_retry_backoff_ms
Source
http_retry_backoff_ms=(value : Int32) : Int32
Source
http_retry_jitter_ms
Source
http_retry_jitter_ms=(value : Int32) : Int32
Source
http_timeout_ms
Source
http_timeout_ms=(value : Int32) : Int32
Source
imbalance_ratio
Source
imbalance_ratio=(imbalance_ratio : Fixed)
Source
low_confidence_threshold
Source
low_confidence_threshold=(low_confidence_threshold : Fixed)
Source
market_limit
Source
market_limit=(market_limit : Int32)
Source
max_book_age_ms
Source
max_book_age_ms=(max_book_age_ms : Int64)
Source
max_spread
Source
max_spread=(max_spread : Fixed)
Source
min_depth
Source
min_depth=(min_depth : Fixed)
Source
paper_trading
Source
paper_trading=(paper_trading : PaperTradingConfig)
Source
paper_trading_enabled
Source
paper_trading_enabled=(value : Bool) : Bool
Source
port
Source
port=(port : Int32)
Source
relationships_path
Source
relationships_path=(relationships_path : String)
Source
resolution_penalty
Source
resolution_penalty=(resolution_penalty : Fixed)
Source
resolve_secrets!
Source
scan_size
Source
scan_size=(scan_size : Fixed)
Source
slippage_buffer
Source
slippage_buffer=(slippage_buffer : Fixed)
Source
stale_book_penalty
Source
stale_book_penalty=(stale_book_penalty : Fixed)
Source
taker_fee_bps
Source
taker_fee_bps=(taker_fee_bps : Int32)
Source
telegram
Source
telegram=(telegram : TelegramConfig)
Source
telegram_bot_token
Source
telegram_bot_token=(telegram_bot_token : String | Nil)
Source
telegram_chat_id
Source
telegram_chat_id=(telegram_chat_id : String | Nil)
Source
telegram_enabled
Source
telegram_enabled=(value : Bool) : Bool
Source
uncertainty_penalty
Source
uncertainty_penalty=(uncertainty_penalty : Fixed)
Source
validate!
Source