Skip to content

Instantly share code, notes, and snippets.

View garyzava's full-sized avatar

garyzava

View GitHub Profile
@garyzava
garyzava / volatility_xemm_strategy_validation.ipynb
Created April 27, 2025 03:24
volatility_xemm_strategy_validation.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@garyzava
garyzava / volatility_xemm.py
Last active April 28, 2025 10:49
This script implements a cross-exchange market making (XEMM) strategy using the hummingbot V2 framework
"""
Author: Gary & Chris
Date: 2025-04-26
Version: 1.0
Description:
This script implements a cross-exchange market making (XEMM) strategy
It uses Bollinger Bands Width (BBW) as a volatility indicator to adjust the strategy's behavior
It uses the Hummingbot V2 framework to manage the strategy
It is designed to be used with two different exchanges (maker and taker) in a cross-exchange market making scenario,
@garyzava
garyzava / sort_pipeline_example.py
Created February 18, 2022 03:18 — forked from thomaspoignant/sort_pipeline_example.py
An example to sort a list of jobs depending on their depends.
from typing import Dict, List, Optional
import networkx as nx
def main():
stages = {
"Lint": [],
"Test": [],
"Coverage": ["Test"],
"Docs": ["Coverage", "Lint"],
@garyzava
garyzava / DownloadFilesFromRepo.ps1
Created March 28, 2020 12:07 — forked from chrisbrownie/DownloadFilesFromRepo.ps1
PowerShell function to download files from a GitHub repository
function DownloadFilesFromRepo {
Param(
[string]$Owner,
[string]$Repository,
[string]$Path,
[string]$DestinationPath
)
$baseUri = "https://api.github.com/"
$args = "repos/$Owner/$Repository/contents/$Path"
@garyzava
garyzava / DownloadFilesFromRepo.ps1
Created March 28, 2020 12:07 — forked from zerotag/DownloadFilesFromRepo.ps1
PowerShell function to download files from a GitHub repository
function DownloadFilesFromRepo {
<#
.SYNOPSIS
This function retrieves the specified repository on GitHub to a local directory with authentication.
.DESCRIPTION
This function retrieves the specified repository on GitHub to a local directory with authentication, being a single file, a complete folder, or the entire repository.
.PARAMETER User
@garyzava
garyzava / README-Template.md
Created November 1, 2018 12:06 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@garyzava
garyzava / market.js
Created December 14, 2017 18:07 — forked from maxant/market.js
Files for creating a trading engine with Node.js.
// /////////////////////////////////////////////////
// this file contains all the classes related to a
// market.
// /////////////////////////////////////////////////
var log4js = require('log4js');
var logger = log4js.getLogger(require('path').basename(__filename, '.js'));
require('es6-collections');
var _ = require('underscore');
/**