Skip to content

Instantly share code, notes, and snippets.

View ExaByt3s's full-sized avatar
🏠
Working from home

Exabyte ExaByt3s

🏠
Working from home
View GitHub Profile
@ExaByt3s
ExaByt3s / torrc
Created August 29, 2023 00:32
torrc
## Configuration file for a typical Tor user
## Last updated 16 July 2009 for Tor 0.2.2.1-alpha.
## (May or may not work for much older or much newer versions of Tor.)
##
## Lines that begin with "## " try to explain what's going on. Lines
## that begin with just "#" are disabled commands: you can enable them
## by removing the "#" symbol.
##
## See 'man tor', or https://www.torproject.org/tor-manual.html,
@ExaByt3s
ExaByt3s / README.md
Created August 29, 2023 00:30 — forked from gadiener/README.md
ProTip: Specify country exit nodes

With TOR, you can specify the country of exit nodes to test a particular website from a specific country.

Just add these 4 lines in the torrc file.

ExitNodes {jp}
StrictNodes 1
GeoIPExcludeUnknown 1
AllowSingleHopCircuits 0
2023-03-03 12:45:34,665 - freqtrade.misc - INFO - dumping json to "/home/single/Escritorio/trading/freqtrade/user_data/backtest_results/backtest-result-2023-03-03_12-45-34.meta.json"
2023-03-03 12:45:34,856 - freqtrade.misc - INFO - dumping json to "/home/single/Escritorio/trading/freqtrade/user_data/backtest_results/backtest-result-2023-03-03_12-45-34.json"
2023-03-03 12:45:34,926 - freqtrade.misc - INFO - dumping json to "/home/single/Escritorio/trading/freqtrade/user_data/backtest_results/.last_result.json"
2023-03-03 12:45:34,958 - freqtrade.misc - INFO - dumping joblib to "/home/single/Escritorio/trading/freqtrade/user_data/backtest_results/backtest-result-2023-03-03_12-45-34_signals.pkl"
Result for strategy x7aSignalsBeta
=============================================================== BACKTESTING REPORT ==============================================================
| Pair | Entries | Avg Profit % | Cum Profit % | Tot Profit USDT | Tot Profit % | Avg Duration | Win Draw Loss W
@ExaByt3s
ExaByt3s / fourex.py
Created February 15, 2023 14:41 — forked from tartakynov/fourex.py
Fourier Extrapolation in Python
import numpy as np
import pylab as pl
from numpy import fft
def fourierExtrapolation(x, n_predict):
n = x.size
n_harm = 10 # number of harmonics in model
t = np.arange(0, n)
p = np.polyfit(t, x, 1) # find linear trend in x
x_notrend = x - p[0] * t # detrended x
@ExaByt3s
ExaByt3s / proxy.md
Created February 4, 2023 06:14 — forked from yougg/proxy.md
complete ways to set http/socks/ssh proxy environment variables

set http or socks proxy environment variables

# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT

# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT

# set http proxy with user and password (with special characters)
@ExaByt3s
ExaByt3s / gist:c9a75eedd6aed16f28a3903e31d252bb
Last active December 13, 2022 21:33
metodología de backtesting
import json
import os
from functools import reduce
from pathlib import Path
from typing_extensions import Self
import copy
import joblib
import logging
from sqlalchemy import null
@ExaByt3s
ExaByt3s / curl.php
Created August 12, 2022 12:41 — forked from surferxo3/curl.php
Script to demonstrate how to extract Header and Body from the Curl response in PHP.
<?php
/*#############################
* Developer: Mohammad Sharaf Ali
* Designation: Web Developer
* Version: 1.0
*/#############################
// SETTINGS
ini_set('max_execution_time', 0);
@ExaByt3s
ExaByt3s / winsocket resources.txt
Last active July 15, 2022 02:29
winsocket resources
https://www.winsocketdotnetworkprogramming.com/winsock2programming/winsock2advancedmailslot14a.html
#ifndef UNICODE
#define UNICODE
#define _UNICODE
#endif // UNICODE
#include <windows.h>
#include <wininet.h>
#include <wchar.h>
#include <stdio.h>
struct responseGet
@ExaByt3s
ExaByt3s / code.md
Created January 9, 2020 04:16 — forked from gopalindians/code.md
Jetbrains IntelliJ IDEA 2019.2.4 Activation code

Please make fork of this, as this can be removed by Github.com sooner or later.

CATF44LT7C-eyJsaWNlbnNlSWQiOiJDQVRGNDRMVDdDIiwibGljZW5zZWVOYW1lIjoiVmxhZGlzbGF2IEtvdmFsZW5rbyIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJGb3IgZWR1Y2F0aW9uYWwgdXNlIG9ubHkiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiQUMiLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJQUyIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IkdPIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiRE0iLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJDTCIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IlJTMCIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IlJDIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiUkQiLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJQQyIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IlJNIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJEQiIsI