Directories
¶
| Path | Synopsis |
|---|---|
|
Package backtest runs a strategy of an agent over the candles of a period, as the controller asks for it (see Config), on a paper wallet and a feed of files only: never a broker.
|
Package backtest runs a strategy of an agent over the candles of a period, as the controller asks for it (see Config), on a paper wallet and a feed of files only: never a broker. |
|
Package entryfilter filters the entries of the strategy of a family agent, whatever the strategy: a decorator of strategy.Strategy (see Wrap) handing the strategy a broker whose entries it asks first (see broker.go), so it behaves the same in a backtest, in paper and live.
|
Package entryfilter filters the entries of the strategy of a family agent, whatever the strategy: a decorator of strategy.Strategy (see Wrap) handing the strategy a broker whose entries it asks first (see broker.go), so it behaves the same in a backtest, in paper and live. |
|
Package flaglist reads the flags of a list the agents share.
|
Package flaglist reads the flags of a list the agents share. |
|
Package newsguard keeps an agent out of the market around the releases of the economic calendar, the news of the dashboard (the tab Notícias), for every agent, LLM or not: as the window of a release of a currency of a pair starts, the entries of the agent are held, the pending entries of the pair canceled and its position closed at the market; as no window holds any of its pairs any more, the entries are released.
|
Package newsguard keeps an agent out of the market around the releases of the economic calendar, the news of the dashboard (the tab Notícias), for every agent, LLM or not: as the window of a release of a currency of a pair starts, the entries of the agent are held, the pending entries of the pair canceled and its position closed at the market; as no window holds any of its pairs any more, the entries are released. |
|
Package protect protects the open positions of an agent: its breakeven and its trailing stop (see ui.ProtectionSettings), applied on every price the bot processes (see xtrader.CandleHook), and the ones the XTrader AI arms on a position, its trigger kept.
|
Package protect protects the open positions of an agent: its breakeven and its trailing stop (see ui.ProtectionSettings), applied on every price the bot processes (see xtrader.CandleHook), and the ones the XTrader AI arms on a position, its trigger kept. |
|
Package remote runs an agent launched by the controller (cmd/controller) with the settings and the records of the controller, which alone reaches the database, through its internal API (see agentapi): the flags of its settings, its secrets, the switches of its control panel and the prompt of an LLM agent as they change while it runs, and the storage of its orders, of its decisions and of its journal.
|
Package remote runs an agent launched by the controller (cmd/controller) with the settings and the records of the controller, which alone reaches the database, through its internal API (see agentapi): the flags of its settings, its secrets, the switches of its control panel and the prompt of an LLM agent as they change while it runs, and the storage of its orders, of its decisions and of its journal. |
|
Package ta holds the series of the technical analysis shared by the entry filters (agents/internal/entryfilter) and the features of the meta-labeling (agents/metalabel), following the conventions of Pine Script, as the helpers of the strategies do (agents/strategies/pine.go, unexported there): a missing value is NaN, the counterpart of Pine's na, comparisons involving NaN are false, and the recursive averages (EMA, RMA and everything built on them: ATR, RSI, DMI) are seeded with the SMA of their first length values, so they are NaN until then, like the built-ins.
|
Package ta holds the series of the technical analysis shared by the entry filters (agents/internal/entryfilter) and the features of the meta-labeling (agents/metalabel), following the conventions of Pine Script, as the helpers of the strategies do (agents/strategies/pine.go, unexported there): a missing value is NaN, the counterpart of Pine's na, comparisons involving NaN are false, and the recursive averages (EMA, RMA and everything built on them: ATR, RSI, DMI) are seeded with the SMA of their first length values, so they are NaN until then, like the built-ins. |
Click to show internal directories.
Click to hide internal directories.