<?php

return [
    'api_base' => env('FLATTRADE_API_BASE', 'https://piconnect.flattrade.in/PiConnectAPI/'),
    'ws_url' => env('FLATTRADE_WS_URL', 'wss://piconnect.flattrade.in/PiConnectWSAPI/'),
    'auth_url' => env('FLATTRADE_AUTH_URL', 'https://auth.flattrade.in/'),
    'token_url' => env('FLATTRADE_TOKEN_URL', 'https://authapi.flattrade.in/trade/apitoken'),
    'api_key' => env('FLATTRADE_API_KEY'),
    'api_secret' => env('FLATTRADE_API_SECRET'),
    'redirect_uri' => env('FLATTRADE_REDIRECT_URI', env('APP_URL').'/callback'),
    'mock' => env('FLATTRADE_MOCK', false),
    'nifty_index_token' => env('FLATTRADE_NIFTY_TOKEN', '26000'),
    'vix_index_token' => env('FLATTRADE_VIX_TOKEN', '26017'),
    'strike_range' => 400,
    'strike_step' => 50,
    'scan_steps_from_atm' => 5,
    'risk_free_rate' => 0.065,
];
