This commit is contained in:
MuslemRahimi 2024-12-12 17:55:26 +01:00
parent be140c2bc7
commit 592c428512
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,5 @@
<script lang="ts">
import { etfTicker } from "$lib/store";
import ArrowLogo from "lucide-svelte/icons/move-up-right";
export let data;
@ -40,7 +41,7 @@
class="w-full border border-gray-600 rounded-md h-fit pb-4 mt-4 cursor-pointer"
>
<a
href={"/options-flow"}
href={`/options-flow?query=${$etfTicker}`}
class="w-auto lg:w-full p-1 flex flex-col m-auto px-2 sm:px-0"
>
<div class="w-full flex justify-between items-center p-3 mt-3">

View File

@ -11,6 +11,7 @@
import { Button } from "$lib/components/shadcn/button/index.js";
import { Calendar } from "$lib/components/shadcn/calendar/index.js";
import CalendarIcon from "lucide-svelte/icons/calendar";
import { page } from "$app/stores";
import OptionsFlowTable from "$lib/components/Table/OptionsFlowTable.svelte";
import { writable } from "svelte/store";
@ -23,7 +24,7 @@
let displayRules = [];
let filteredData = [];
let filterQuery = "";
let filterQuery = $page.url.searchParams.get("query") || "";
let socket: WebSocket | null = null; // Initialize socket as null

View File

@ -1,4 +1,5 @@
<script lang="ts">
import { stockTicker } from "$lib/store";
import ArrowLogo from "lucide-svelte/icons/move-up-right";
export let data;
@ -40,7 +41,7 @@
class="w-full border border-gray-600 rounded-md h-fit pb-4 mt-4 cursor-pointer"
>
<a
href={"/options-flow"}
href={`/options-flow?query=${$stockTicker}`}
class="w-auto lg:w-full p-1 flex flex-col m-auto px-2 sm:px-0"
>
<div class="w-full flex justify-between items-center p-3 mt-3">