Failed Jobs with class 'BuildOptimizeWorkflowJob'
Showing 0 to 44 jobs
-
- Worker
- resque-background-jobs-7d5bc457b5-vrzsr:7 on background_jobs at 2025/10/06 19:38:29 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82912 --- workflow: symbol: HSY dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '6' 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: '23531' access_key: tradelegs123 controller: workflows action: build_optimize_workflow
- Exception
RuntimeError
- Error
- Sequence aborted by the user!
-
- Worker
- resque-background-jobs-7d5bc457b5-vrzsr:7 on background_jobs at 2025/10/03 14:58:38 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82943 --- workflow: symbol: NKE dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '11' 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: '23536' access_key: tradelegs123 controller: workflows action: build_optimize_workflow
- Exception
RuntimeError
- Error
- Step failed: Settings update timed out after 30 minutes
-
- Worker
- resque-background-jobs-7d5bc457b5-vb2q9:7 on background_jobs at 2025/10/03 14:53:12 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82959 --- 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: '23554' access_key: tradelegs123 controller: workflows action: build_optimize_workflow
- Exception
RuntimeError
- Error
- Step failed: Payout import failed: An Error Occured while performing the task details: {"current_job"=>"10 Target Payout", "error"=>"Unable to find visible css \"span.ui-dialog-title\""}
-
- Worker
- resque-background-jobs-7d5bc457b5-sgg7n:8 on background_jobs at 2025/10/03 14:46:00 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82962 --- workflow: symbol: ZI dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '32' 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: '23557' access_key: tradelegs123 controller: workflows action: build_optimize_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: unexpected token at 'Internal Server Error'. 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-8tckf:7 on background_jobs at 2025/10/03 14:45:45 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82961 --- workflow: symbol: WBD dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '31' 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: '23556' access_key: tradelegs123 controller: workflows action: build_optimize_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 (69). 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-vb2q9:7 on background_jobs at 2025/10/03 14:28:25 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82956 --- workflow: symbol: DIS dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '26' 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: '23551' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for DIS. 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-2fcqp:8 on background_jobs at 2025/10/03 14:25:41 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82947 --- workflow: symbol: VFC dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '17' 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: '23542' access_key: tradelegs123 controller: workflows action: build_optimize_workflow
- Exception
RuntimeError
- Error
- Step failed: Payout import failed: An Error Occured while performing the task details: {"current_job"=>"10 Target Payout", "error"=>"Unable to find css \"span.ui-dialog-title\""}
-
- Worker
- resque-background-jobs-7d5bc457b5-vb2q9:7 on background_jobs at 2025/10/03 14:21:05 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82941 --- workflow: symbol: HUM dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '8' 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: '23533' access_key: tradelegs123 controller: workflows action: build_optimize_workflow
- Exception
RuntimeError
- Error
- Step failed: An Error Occured while performing the task details: {"current_job"=>"12 Optimize: Funding Constraints", "error"=>"Unable to find css \"span.ui-dialog-title\""}
-
- Worker
- resque-background-jobs-7d5bc457b5-tgz5p:7 on background_jobs at 2025/10/03 14:16:51 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82953 --- workflow: symbol: PFE dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '23' 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: '23548' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for PFE. 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-dlxkr:8 on background_jobs at 2025/10/03 14:13:31 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82950 --- workflow: symbol: AAPL dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '20' 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: '23545' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for AAPL. 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-tgz5p:7 on background_jobs at 2025/10/03 14:13:20 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82951 --- workflow: symbol: CVX dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '21' 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: '23546' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for CVX. 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-t89sr:8 on background_jobs at 2025/10/03 14:07:32 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82948 --- workflow: symbol: WB dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '18' 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: '23543' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for WB. 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-tgz5p:7 on background_jobs at 2025/10/03 14:05:09 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82946 --- workflow: symbol: SONY dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '16' 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: '23541' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for SONY. 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-dlxkr:8 on background_jobs at 2025/10/03 14:02:23 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82942 --- workflow: symbol: MDLZ dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '10' 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: '23535' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for MDLZ. 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-sgg7n:8 on background_jobs at 2025/10/03 14:01:55 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82940 --- workflow: symbol: HD dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '7' 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: '23532' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for HD. 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-t89sr:8 on background_jobs at 2025/10/03 14:00:32 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82936 --- workflow: symbol: CSCO dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '2' 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: '23527' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for CSCO. 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-2fcqp:8 on background_jobs at 2025/10/03 13:59:26 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82937 --- workflow: symbol: COST dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '3' 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: '23528' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for COST. 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-tgz5p:7 on background_jobs at 2025/10/03 13:58:31 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82939 --- workflow: symbol: HSY dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '6' 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: '23531' access_key: tradelegs123 controller: workflows action: build_optimize_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: No available calls for min return for HSY. 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-vb2q9:7 on background_jobs at 2025/10/03 13:43:12 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82933 --- workflow: symbol: RUN dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '30' 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: '23555' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-tgz5p:7 on background_jobs at 2025/10/03 13:43:11 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82932 --- 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: '23554' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-2fcqp:8 on background_jobs at 2025/10/03 13:43:11 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82934 --- workflow: symbol: WBD dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '31' 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: '23556' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-djpk8:8 on background_jobs at 2025/10/03 13:43:11 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82935 --- workflow: symbol: ZI dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '32' 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: '23557' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-dlxkr:8 on background_jobs at 2025/10/03 13:43:07 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82930 --- workflow: symbol: AMD dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '27' 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: '23552' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-sgg7n:8 on background_jobs at 2025/10/03 13:43:07 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82931 --- workflow: symbol: ALB dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '28' 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: '23553' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-mc7pj:8 on background_jobs at 2025/10/03 13:43:06 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82929 --- workflow: symbol: DIS dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '26' 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: '23551' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-t89sr:8 on background_jobs at 2025/10/03 13:43:06 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82927 --- workflow: symbol: TSM dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '24' 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: '23549' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-8tckf:7 on background_jobs at 2025/10/03 13:43:04 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82926 --- workflow: symbol: PFE dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '23' 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: '23548' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-vrzsr:7 on background_jobs at 2025/10/03 13:43:03 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82928 --- 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: '23550' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-djpk8:8 on background_jobs at 2025/10/03 13:43:03 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82924 --- workflow: symbol: CVX dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '21' 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: '23546' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-2fcqp:8 on background_jobs at 2025/10/03 13:43:01 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82925 --- workflow: symbol: LLY dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '22' 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: '23547' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-vb2q9:7 on background_jobs at 2025/10/03 13:43:00 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82923 --- workflow: symbol: AAPL dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '20' 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: '23545' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-tgz5p:7 on background_jobs at 2025/10/03 13:42:58 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82921 --- workflow: symbol: WB dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '18' 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: '23543' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-sgg7n:8 on background_jobs at 2025/10/03 13:42:58 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82920 --- workflow: symbol: VFC dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '17' 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: '23542' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-dlxkr:8 on background_jobs at 2025/10/03 13:42:57 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82922 --- workflow: symbol: ZS dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '19' 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: '23544' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-mc7pj:8 on background_jobs at 2025/10/03 13:42:56 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82919 --- workflow: symbol: SONY dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '16' 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: '23541' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-vrzsr:7 on background_jobs at 2025/10/03 13:42:54 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82917 --- workflow: symbol: PYPL dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '14' 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: '23539' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-t89sr:8 on background_jobs at 2025/10/03 13:42:53 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82918 --- workflow: symbol: PENN dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '15' 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: '23540' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-8tckf:7 on background_jobs at 2025/10/03 13:42:52 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82915 --- workflow: symbol: MDLZ dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '10' 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: '23535' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-2fcqp:8 on background_jobs at 2025/10/03 13:42:51 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82916 --- workflow: symbol: NKE dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '11' 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: '23536' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-djpk8:8 on background_jobs at 2025/10/03 13:42:50 +0000
Retried 2025/10/06 15:38:29 +0000 Remove
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82914 --- workflow: symbol: HUM dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '8' 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: '23533' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-vb2q9:7 on background_jobs at 2025/10/03 13:42:50 +0000
Retried 2025/10/06 15:38:30 +0000 Remove
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82913 --- workflow: symbol: HD dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '7' 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: '23532' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-dlxkr:8 on background_jobs at 2025/10/03 13:42:48 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82911 --- workflow: symbol: ETSY dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '5' 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: '23530' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-tgz5p:7 on background_jobs at 2025/10/03 13:42:48 +0000
Retried 2025/10/06 15:38:27 +0000 Remove
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82912 --- workflow: symbol: HSY dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '6' 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: '23531' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-sgg7n:8 on background_jobs at 2025/10/03 13:42:46 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82910 --- workflow: symbol: COST dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '3' 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: '23528' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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-mc7pj:8 on background_jobs at 2025/10/03 13:42:45 +0000
- Class
-
BuildOptimizeWorkflowJob
- Arguments
--- 82909 --- workflow: symbol: CSCO dateRewind: '2024-05-10' targetDate: '2024-05-31' number: '2' 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: '23527' access_key: tradelegs123 controller: workflows action: build_optimize_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: undefined method `deep_symbolize_keys!' for nil:NilClass. 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