Navi 标准库参考
Navi 标准库内置模块完整 API 参考。
Prelude
无需命名空间前缀即可直接使用的全局函数和类型。
模块
| 模块 | 说明 |
|---|---|
| barstate | barstate.* 函数 |
| chart | chart.* 函数 |
| color | color.* 函数 |
| display | display.* 函数 |
| input | input.* 函数 |
| log | log.* 函数 |
| math | math.* 函数 |
| request | request.* 函数 |
| runtime | runtime.* 函数 |
| session | session.* 函数 |
| str | str.* 函数 |
| strategy | strategy.* 函数 |
| syminfo | syminfo.* 函数 |
| ta | ta.* 函数 |
| text | text.* 函数 |
| timeframe | timeframe.* 函数 |
子模块
| 模块 | 说明 |
|---|---|
| strategy.closedtrades | strategy.closedtrades.* 函数 |
| strategy.opentrades | strategy.opentrades.* 函数 |
| strategy.risk | strategy.risk.* 函数 |