evo-excel-financial-formulas
SkillWeb & browsingUtilities for writing financial Excel formulas (log returns, rolling volatility, annualized volatility, XLOOKUP/INDEX+MATCH, RaR calculations) into openpyxl workbooks and triggering LibreOffice headless recalculation.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the evo-excel-financial-formulas skill
What this skill tells your AI
The instructions your AI receives, as published by openlair/openskill in tasks-evolved/reserves-at-risk-calc/environment/skills/evo-excel-financial-formulas/SKILL.md and read by ahel’s review.
Write financial formulas into Excel workbooks and recalculate with LibreOffice.
Key Functions
write_gold_price_sheet(wb, gold_series)- Populate gold prices into Gold price sheet col Bwrite_log_return_formulas(wb, start_row, end_row)- Write =LN(Bn/Bn-1)*100 in col Cwrite_volatility_formulas(wb, start_row, end_row)- Write STDEV.S formulas in cols D (3-month) and E (12-month)write_answer_sheet_step1(wb)- Fill z-score, volatilities in Answer sheetwrite_answer_sheet_step2(wb, value_countries, volume_countries, gold_avg_price)- Fill country reserves and exposurewrite_answer_sheet_step3(wb, step2_countries, total_reserves_data)- Fill RaR calculationsrecalculate_with_libreoffice(filepath)- Force formula recalculationcreate_output_workbook(template_path, output_path, ...)- Main orchestrator function
Usage
import sys
sys.path.insert(0, '/app/environment/skills/evo-excel-financial-formulas/scripts')
from utils import create_output_workbook
create_output_workbook(
template_path='/root/data/test-rar.xlsx',
output_path='/root/output/rar_result.xlsx',
gold_series=gold_series,
value_countries=value_countries,
volume_countries=volume_countries,
total_reserves_data=total_reserves_data,
gold_avg_price=avg_price
)
Formula Details
- Log returns:
=LN(B{r}/B{r-1})*100(multiply by 100 for percentage) - 3-month vol:
=STDEV.S(C{r-2}:C{r})starting at row 5 - 12-month vol:
=STDEV.S(C{r-11}:C{r})starting at row 14 - Annualized 3-month vol:
=C4*SQRT(12)where C4 is latest 3-month vol - Gold exposure:
=reserves * annualized_vol/100 * z_score - RaR:
=exposure / total_reserves * 100
Signals
- GitHub stars
- 91
- Forks
- 4
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
evo-excel-financial-formulas- Source
- github.com/openlair/openskill