swaps_updater.md¶
title: swaps_updater.py¶
swaps_updater.py (LEGACY)¶
Exportava histórico de swap; não usado após 2023.
run(dst_file_path, source_swaps_path, swap_src_filename='historical_data.xlsx', is_develop_mode=False)
¶
Faz copia da base historica de swap mantida pela carteira online. Nesse processo, fazemos padding para a carteira historica do global
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
dst_file_path
|
_type_
|
|
required |
source_swaps_path
|
_type_
|
description |
required |
swap_src_filename
|
str
|
description. Defaults to "historical_data.xlsx". |
'historical_data.xlsx'
|
Source code in source_bases/scripts/swaps_updater.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | |