Skip to main content

Historical Data Download

Prerequisites

  • Standard Configuration Package is installed
  • Proxy server deployed
  • Vault is configured
  • Доступы к proxy server

Перезапуск сервиса workflow

  1. Перейдите в раздел Data -> Workflows
  2. Нажмите кнопку на кнопку "Refresh Storage"

Настройка параметров скачки и импорта

  1. Скачайте Input Json Files для настройки автоматической закачки исторических данных
  2. Отредактируйте следующие поля в первых двух объектов в поле workers exante_historical_step_1.json:

    "name": "Download Positions"
    • date_from - дата открытия счета (возможно здесь будет ограничение у exante - не более 1 года).
    • date_to - введите вчерашнюю дату
    • portfolios - добавьте идентификаторы счетов для скачки
    • secret - добавьте наименование секрета, где содержаться credentials в vault

      "name": "Download Transactions"
    • date_from - дата открытия счета (возможно здесь будет ограничение у exante - не более 1 года).
    • date_to - введите вчерашнюю дату
    • portfolios - добавьте идентификаторы счетов для скачки
    • secret - добавьте наименование секрета, где содержаться credentials в vault
{
    "user_code": "workflow-manager",
    "configuration_code": "com.finmars.standard-workflow",
    "name":"Exante Historical - Step 1 (Download): positions, transactions",
    "workers": [
        {
            "order": 1,
            "configuration_code": "com.finmars.standard-workflow",
            "name": "Download Positions",
            "user_code": "download-exante-positions",
            "state_type": "period",
            "download_options":{
                "date_from": "2024-01-01", # <---------------- edit this
                "date_to": "2024-07-14", # <---------------- edit this
                "type":"day",
                "periodicity":"monthly",
                "portfolios": ["IKF1218.001"], # <---------------- edit this
                "secret":"itech-demo" # <---------------- edit this
            },
            "data_options": {
                "global_status": null,
                "source": null,
                "type": null,
                "portfolios": null
            },
            "import_options": {
                "scheme": null,
                "import_type": null,
                "pricing_policy": null
            },
            "calculation_options": {
                "date_from": null,
                "date_to": null,
                "portfolios": null
            },
            "state_options": {
                "input_path": null
            }
        },
        {
            "order": 2,
            "configuration_code": "com.finmars.standard-workflow",
            "name": "Download Transactions",
            "user_code": "download-exante-transactions",
            "state_type": "period",
            "download_options":{
                "date_from": "2024-01-01", # <---------------- edit this
                "date_to": "2024-07-14", # <---------------- edit this
                "type": "period",
                "periodicity":"monthly",
                "portfolios": ["IKF1218.001"], # <---------------- edit this
                "secret":"itech-demo" # <---------------- edit this
            },
            "data_options": {
                "global_status": null,
                "source": null,
                "type": null,
                "portfolios": null
            },
            "import_options": {
                "scheme": null,
                "import_type": null,
                "pricing_policy": null
            },
            "calculation_options": {
                "date_from": null,
                "date_to": null,
                "portfolios": null
            },
            "state_options": {
                "input_path": null
            }
        },
        {
            "order": 3,
            "configuration_code": "com.finmars.standard-workflow",
            "name": "Generate State",
            "user_code": "generate-state",
            "state_type": "fixed",
            "download_options":{
                "date_from": null,
                "date_to": null,
                "type": null,
                "periodicity":null,
                "portfolios": null,
                "secret":null
            },
            "data_options": {
                "global_status": null,
                "source": null,
                "type": null,
                "portfolios": null
            },
            "import_options": {
                "scheme": null,
                "import_type": null,
                "pricing_policy": null
            },
            "calculation_options": {
                "date_from": null,
                "date_to": null,
                "portfolios": null
            },
            "state_options": {
                "input_path": "/input-workflows/exante/exante_historical_step_2.json"
            }
        }
    ]
}

Запуск исторической скачки данных