ManifoldMarketManager.rule.manifold.user
Contain rules that are associated with a particular Manifold user.
- class ManifoldMarketManager.rule.manifold.user.ManifoldUserRule(user: str, field: Literal['allTime', 'daily', 'weekly', 'monthly'] = 'allTime')[source]
Bases:
Rule
[float
]Include information about what user feature you’d like to query.
- _abc_impl = <_abc_data object>
- _is_protocol = False
- attr: ClassVar[str] = ''
- attr_desc: ClassVar[str] = ''
- explain_abstract(indent: int = 0, **kwargs: Any) str
Explain how the market will resolve and decide to resolve.
- explain_specific(market: Market, indent: int = 0, sig_figs: int = 4) str
Explain why the market is resolving the way that it is.
- field: Literal['allTime', 'daily', 'weekly', 'monthly']
- classmethod from_dict(env: ModJSONDict) T
Take a dictionary and return an instance of the associated class.
- logger: Logger
- tags_used: set[str]
- user: str
- class ManifoldMarketManager.rule.manifold.user.ResolveToUserCreatedVolume(user: str, field: Literal['allTime', 'daily', 'weekly', 'monthly'] = 'allTime')[source]
Bases:
ManifoldUserRule
Resolve to the currently reported created market volume of a user.
- _abc_impl = <_abc_data object>
- _explain_abstract(indent: int = 0, **kwargs: Any) str
- _is_protocol = False
- attr: ClassVar[str] = 'creatorVolumeCached'
- attr_desc: ClassVar[str] = 'market volume created by'
- explain_abstract(indent: int = 0, **kwargs: Any) str
Explain how the market will resolve and decide to resolve.
- explain_specific(market: Market, indent: int = 0, sig_figs: int = 4) str
Explain why the market is resolving the way that it is.
- field: Literal['allTime', 'daily', 'weekly', 'monthly']
- classmethod from_dict(env: ModJSONDict) T
Take a dictionary and return an instance of the associated class.
- logger: Logger
- tags_used: set[str]
- user: str
- class ManifoldMarketManager.rule.manifold.user.ResolveToUserProfit(user: str, field: Literal['allTime', 'daily', 'weekly', 'monthly'] = 'allTime')[source]
Bases:
ManifoldUserRule
Resolve to the currently reported profit of a user.
- _abc_impl = <_abc_data object>
- _explain_abstract(indent: int = 0, **kwargs: Any) str
- _is_protocol = False
- attr: ClassVar[str] = 'profitCached'
- attr_desc: ClassVar[str] = 'profit of'
- explain_abstract(indent: int = 0, **kwargs: Any) str
Explain how the market will resolve and decide to resolve.
- explain_specific(market: Market, indent: int = 0, sig_figs: int = 4) str
Explain why the market is resolving the way that it is.
- field: Literal['allTime', 'daily', 'weekly', 'monthly']
- classmethod from_dict(env: ModJSONDict) T
Take a dictionary and return an instance of the associated class.
- logger: Logger
- tags_used: set[str]
- user: str