@extends('dashboard.user.layouts.app') @section('content')

{{ $title }}

{{-- Header --}}

AI Trade Bots

Automate your trading strategy using intelligent bots designed to analyze markets, manage risk, and execute trades with precision.

@forelse ($tradeBots as $tradeBot) @php $tradeBotUser = \App\Models\TradeBotUser::where('user_id', $user->id)->where( 'trade_bot_id', $tradeBot->id, ); $tradeBotUserIsRunning = $tradeBotUser->exists() && $tradeBotUser->first()->status->value == 'running'; @endphp
{{-- Card Header --}}
{{ $tradeBot->name }}
@if ($tradeBotUser->exists()) {{ $tradeBotUser->first()->status->label() }} @else Subscription Required @endif
@if ($tradeBot->description) {{-- Description --}}

{{ $tradeBot->description }}

@endif @if ($tradeBot->features) {{-- Features --}}
    @foreach ($tradeBot->features as $feature) @php $features = explode(',', $feature); @endphp @foreach ($features as $feature)
  • {{ ucwords(trim(str_replace('_', ' ', $feature))) }}
  • @endforeach @endforeach
@endif {{-- Action --}}
{{-- Offcanvas --}}
{{ $tradeBot->name }}
{{-- Bot Parameters --}}
Bot Parameters

Currency: {{ $tradeBot->currency->code() }}

@if ($tradeBot->parameters) @foreach ($tradeBot->parameters as $parameter) @php $parameters = explode(',', $parameter); @endphp @foreach ($parameters as $param) @if (str_contains($param, ':')) @php [$key, $value] = explode(':', $param); @endphp

{{ trim(ucwords(str_replace('_', ' ', $key))) }}: {{ trim($value) }}

@endif @endforeach @endforeach @endif

{{-- Investment Form --}}
Investment Setup
@csrf {{-- Wallet & Amount --}}
Need more funds? Deposit
{{-- Leverage --}}
20x 40x 60x 80x 100x
{{-- Errors --}} @error('trade_bot_id') {{ $message }} @enderror @error('wallet_id') {{ $message }} @enderror @error('amount') {{ $message }} @enderror @error('leverage') {{ $message }} @enderror {{-- Submit --}} @if ($tradeBotUserIsRunning) @else @endif
@empty
No Active Bots

There are currently no trade bots available. We’ll notify you once new bots are launched.

@endforelse
@endsection