tai v0.0.25 Tai.Advisors.Instance
Link to this section Summary
Link to this section Types
Link to this type
spec()
spec()
spec() :: Tai.Advisors.Spec.t()
spec() :: Tai.Advisors.Spec.t()
Link to this type
status()
status()
status() :: :unstarted | :running
status() :: :unstarted | :running
Link to this type
t()
t()
t() :: %Tai.Advisors.Instance{
advisor_id: Tai.Advisors.Spec.advisor_id(),
config: Tai.Advisors.Spec.config(),
group_id: Tai.Advisors.Spec.group_id(),
mod: Tai.Advisors.Spec.mod(),
pid: pid(),
products: [Tai.Advisors.Spec.product()],
run_store: Tai.Advisor.run_store(),
start_on_boot: boolean(),
status: status(),
trades: [struct()]
}
t() :: %Tai.Advisors.Instance{ advisor_id: Tai.Advisors.Spec.advisor_id(), config: Tai.Advisors.Spec.config(), group_id: Tai.Advisors.Spec.group_id(), mod: Tai.Advisors.Spec.mod(), pid: pid(), products: [Tai.Advisors.Spec.product()], run_store: Tai.Advisor.run_store(), start_on_boot: boolean(), status: status(), trades: [struct()] }
Link to this section Functions
Link to this function
from_spec(spec)
Link to this function