Failed Jobs with class 'BuildAnalyzeWorkflowJob'
Showing 0 to 1 jobs
-
- Worker
- resque-background-jobs-7d5bc457b5-k5lxw:8 on background_jobs at 2025/08/18 12:44:10 +0000
- Class
-
BuildAnalyzeWorkflowJob
- Arguments
--- 81447 --- workflow: symbol: UNH dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '25' status: '' link: '' workflow_template: workflow: - action: login tenant: "%{tenant}" email: "%{email}" - action: project_create name: Live Project %{symbol} %{today_date} fhf3 batch1 - action: project_add_prediction symbol: "%{symbol}" target_date: next_friday_expiration: '2' - action: project_create_market_snapshot last_session: 'false' apply_date_rewind: '0' real_time_flag: '0' - action: project_update_event_datetime - action: project_update_vol_assumptions term_structure_model: forward variance event_variance: 'true' - action: project_update_market_data_filters buy_stocks: '1' sell_stocks: '1' buy_puts: '1' sell_puts: '1' exp_dates: '5' long_call_option_moneyness_min: '99.5' long_call_option_moneyness_max: '130' long_put_option_moneyness_min: '70' long_put_option_moneyness_max: '100.5' short_call_option_moneyness_min: '99.5' short_call_option_moneyness_max: '130' short_put_option_moneyness_min: '70' short_put_option_moneyness_max: '100.5' - action: project_update_constraints lot_size_contracts: dynamic lot_size_shares: dynamic max_legs_no: '5' option_lot_size_table: - - '0' - - '10' - - '40' - - '5' - - '50' - - '4' - - '100' - - '2' - - '200' - - '1' apply_notional_position_net: '1' apply_moneyness_notional_net: '1' apply_risk_max_notional_net: '1' apply_risk_min_notional_net: '0' apply_spot_price_notional_net: '0' max_optional_position_net: '1000000' min_optional_position_net: '0' - action: project_update_objective objective: Payout Shape - action: project_update_prediction distribution: - type: service implied name: Service Implied weight: '0.9' use_risk_range: 'true' reduce_risk_range: 'false' - type: context-aware historical weight: '0.1' trim: '0.01' use_risk_range: 'true' delete_previous: 'true' rr_min_percent: '0.05' rr_function: formula rr_min_formula: MIN(d1.min,MAX(Spot - (Spot - d1.min) * 1.5, AVG(mins))) rr_max_formula: MAX(d1.max,MIN(Spot + (d1.max - Spot) * 1.5, AVG(maxs))) - action: project_add_covered_call_strategy strategy_name: Covered Call min_strike_distance: '0' min_weekly_return: '0.01' capital: '250000' fat_finger_stock_factor: '1' fat_finger_option_factor: '3' - action: project_export_and_upload_project prefix: "%{s3_prefix}" bucket: dev.tradelegs export_pdf_including_backtest: 'true' worst_case_factor: '1' margin_stock_short_rate: '0.4' margin_stock_long_rate: '0.4' backtest_long_stock_accounting: Cash Long surface_data_provider: iVolatility surface_data_version: Version 1.0 template: Backtest Template.v58.xlsx sequence_id: '23323' access_key: tradelegs123 controller: workflows action: build_analyze_workflow
- Exception
RuntimeError
- Error
- Step failed: Project build failed: An Error Occured while performing the task details: {"current_job"=>"3 Project Builder", "message"=>"There was an error: Not enough sample dates (93). Tradelegs technical support have been notified of this error. If the problem persists, contact support.", "error"=>"Failed To Build Your Project", "backtrace"=>"/app/lib/tasks_manager.rb:45:in `log'\n/app/app/jobs/project_builder_job.rb:81:in `perform'\n/app/app/jobs/base_job.rb:18:in `perform'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/job.rb:168:in `perform'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:322:in `perform'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:924:in `block in perform_with_fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:10:in `block in fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:10:in `block in fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:8:in `fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:8:in `fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:27:in `fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:8:in `fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:27:in `fork'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:922:in `perform_with_fork'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:278:in `work_one_job'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:249:in `block in work'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:246:in `loop'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:246:in `work'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/tasks.rb:20:in `block (2 levels) in <main>'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:83:in `block in run'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'\n/usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'\n/usr/local/bundle/bin/rake:25:in `load'\n/usr/local/bundle/bin/rake:25:in `<top (required)>'\n/usr/local/lib/ruby/3.0.0/bundler/cli/exec.rb:58:in `load'\n/usr/local/lib/ruby/3.0.0/bundler/cli/exec.rb:58:in `kernel_load'\n/usr/local/lib/ruby/3.0.0/bundler/cli/exec.rb:23:in `run'\n/usr/local/lib/ruby/3.0.0/bundler/cli.rb:479:in `exec'\n/usr/local/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\n/usr/local/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\n/usr/local/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\n/usr/local/lib/ruby/3.0.0/bundler/cli.rb:31:in `dispatch'\n/usr/local/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\n/usr/local/lib/ruby/3.0.0/bundler/cli.rb:25:in `start'\n/usr/local/lib/ruby/gems/3.0.0/gems/bundler-2.2.33/libexec/bundle:49:in `block in <top (required)>'\n/usr/local/lib/ruby/3.0.0/bundler/friendly_errors.rb:103:in `with_friendly_errors'\n/usr/local/lib/ruby/gems/3.0.0/gems/bundler-2.2.33/libexec/bundle:37:in `<top (required)>'\n/usr/local/bundle/bin/bundle:23:in `load'\n/usr/local/bundle/bin/bundle:23:in `<main>'"}
-
- Worker
-
resque-background-jobs-7d5bc457b5-xt6p7:8 on background_jobs at 2025/08/18 12:42:18 +0000
Retried 2025/08/18 17:45:36 +0000 Remove
- Class
-
BuildAnalyzeWorkflowJob
- Arguments
--- 81449 --- workflow: symbol: EL dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '29' status: '' link: '' workflow_template: workflow: - action: login tenant: "%{tenant}" email: "%{email}" - action: project_create name: Live Project %{symbol} %{today_date} fhf3 batch1 - action: project_add_prediction symbol: "%{symbol}" target_date: next_friday_expiration: '2' - action: project_create_market_snapshot last_session: 'false' apply_date_rewind: '0' real_time_flag: '0' - action: project_update_event_datetime - action: project_update_vol_assumptions term_structure_model: forward variance event_variance: 'true' - action: project_update_market_data_filters buy_stocks: '1' sell_stocks: '1' buy_puts: '1' sell_puts: '1' exp_dates: '5' long_call_option_moneyness_min: '99.5' long_call_option_moneyness_max: '130' long_put_option_moneyness_min: '70' long_put_option_moneyness_max: '100.5' short_call_option_moneyness_min: '99.5' short_call_option_moneyness_max: '130' short_put_option_moneyness_min: '70' short_put_option_moneyness_max: '100.5' - action: project_update_constraints lot_size_contracts: dynamic lot_size_shares: dynamic max_legs_no: '5' option_lot_size_table: - - '0' - - '10' - - '40' - - '5' - - '50' - - '4' - - '100' - - '2' - - '200' - - '1' apply_notional_position_net: '1' apply_moneyness_notional_net: '1' apply_risk_max_notional_net: '1' apply_risk_min_notional_net: '0' apply_spot_price_notional_net: '0' max_optional_position_net: '1000000' min_optional_position_net: '0' - action: project_update_objective objective: Payout Shape - action: project_update_prediction distribution: - type: service implied name: Service Implied weight: '0.9' use_risk_range: 'true' reduce_risk_range: 'false' - type: context-aware historical weight: '0.1' trim: '0.01' use_risk_range: 'true' delete_previous: 'true' rr_min_percent: '0.05' rr_function: formula rr_min_formula: MIN(d1.min,MAX(Spot - (Spot - d1.min) * 1.5, AVG(mins))) rr_max_formula: MAX(d1.max,MIN(Spot + (d1.max - Spot) * 1.5, AVG(maxs))) - action: project_add_covered_call_strategy strategy_name: Covered Call min_strike_distance: '0' min_weekly_return: '0.01' capital: '250000' fat_finger_stock_factor: '1' fat_finger_option_factor: '3' - action: project_export_and_upload_project prefix: "%{s3_prefix}" bucket: dev.tradelegs export_pdf_including_backtest: 'true' worst_case_factor: '1' margin_stock_short_rate: '0.4' margin_stock_long_rate: '0.4' backtest_long_stock_accounting: Cash Long surface_data_provider: iVolatility surface_data_version: Version 1.0 template: Backtest Template.v58.xlsx sequence_id: '23327' access_key: tradelegs123 controller: workflows action: build_analyze_workflow
- Exception
RuntimeError
- Error
- Step failed: Project build failed: An Error Occured while performing the task details: {"current_job"=>"3 Project Builder", "message"=>"There was an error: Cached Bloomberg dividends older than 10 days: 2025-08-07 09:33:00 -0400. Tradelegs technical support have been notified of this error. If the problem persists, contact support.", "error"=>"Failed To Build Your Project", "backtrace"=>"/app/lib/tasks_manager.rb:45:in `log'\n/app/app/jobs/project_builder_job.rb:81:in `perform'\n/app/app/jobs/base_job.rb:18:in `perform'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/job.rb:168:in `perform'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:322:in `perform'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:924:in `block in perform_with_fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:10:in `block in fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:10:in `block in fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:8:in `fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:8:in `fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:27:in `fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:8:in `fork'\n/usr/local/bundle/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:27:in `fork'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:922:in `perform_with_fork'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:278:in `work_one_job'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:249:in `block in work'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:246:in `loop'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/worker.rb:246:in `work'\n/usr/local/bundle/gems/resque-2.7.0/lib/resque/tasks.rb:20:in `block (2 levels) in <main>'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:83:in `block in run'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'\n/usr/local/bundle/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'\n/usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'\n/usr/local/bundle/bin/rake:25:in `load'\n/usr/local/bundle/bin/rake:25:in `<top (required)>'\n/usr/local/lib/ruby/3.0.0/bundler/cli/exec.rb:58:in `load'\n/usr/local/lib/ruby/3.0.0/bundler/cli/exec.rb:58:in `kernel_load'\n/usr/local/lib/ruby/3.0.0/bundler/cli/exec.rb:23:in `run'\n/usr/local/lib/ruby/3.0.0/bundler/cli.rb:479:in `exec'\n/usr/local/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\n/usr/local/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'\n/usr/local/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'\n/usr/local/lib/ruby/3.0.0/bundler/cli.rb:31:in `dispatch'\n/usr/local/lib/ruby/3.0.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'\n/usr/local/lib/ruby/3.0.0/bundler/cli.rb:25:in `start'\n/usr/local/lib/ruby/gems/3.0.0/gems/bundler-2.2.33/libexec/bundle:49:in `block in <top (required)>'\n/usr/local/lib/ruby/3.0.0/bundler/friendly_errors.rb:103:in `with_friendly_errors'\n/usr/local/lib/ruby/gems/3.0.0/gems/bundler-2.2.33/libexec/bundle:37:in `<top (required)>'\n/usr/local/bundle/bin/bundle:23:in `load'\n/usr/local/bundle/bin/bundle:23:in `<main>'"}
1