npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

quantconnect-filesync

v0.0.5

Published

QuantConnect file sync utility

Downloads

5

Readme

QuantConnect File Sync

Installation

$ yarn global add quantconnect-filesync
(or)
$ npm install -g quantconnect-filesync

Usage

$ quantconnect-filesync -h
QuantConnect FileSync v0.0.1

Usage: quantconnect-filesync [options] [command]

Options:
  -v, --version       output the version number
  -h, --help          output usage information

Commands:
  projects [options]  List projects from QuantConnect
  download [options]  Download all files from QuantConnect to the current directory
  upload [options]    Upload all files from current directory to QuantConnect
  watch [options]     Watch for file updates in the current directory and sync changes to QuantConnect

Configuration

All commands accept a --user option to provide the QuantConnect user ID and a --token option to provide the QuantConnect API token. However, quantconnect-filesync will also look in the ENV for QUANTCONNECT_USER_ID and QUANTCONNECT_TOKEN and use these automatically if present. You can set these in your local environment manually or optionally create a .env file with these values set:

# .env
QUANTCONNECT_USER_ID=12345
QUANTCONNECT_TOKEN=ABCDEF

For project-specific commands, quantconnect-filesync will additionally accept a --project option to provide the QuantConnect project ID. This option also has a corresponding QUANTCONNECT_PROJECT_ID ENV variable that can be set in project-specific .env files.

Examples

Projects

$ quantconnect-filesync projects -u 12345 -t ABCDEF
QuantConnect FileSync v0.0.1

Listing all projects from QuantConnect…

1234567: Library / Alphas / RSI Alpha
8901234: Library / Alphas / Supertrend Alpha
5678901: Library / Indicators / AroonOscillator
2345678: Library / Indicators / AverageTrueRange
9012345: Strategies / Profit Strategy

Project Details

$ quantconnect-filesync project -u 12345 -t ABCDEF -p 9012345
QuantConnect FileSync v0.0.1

Listing project 9012345 from QuantConnect…

Name: Strategies / Profit Strategy
Description: My profitable strategy
Project ID: 9012345
Created: 2019-03-02 16:18:45
Last modified: 2020-01-13 05:22:43
Owner ID: 12345
Language: C#

Download

$ quantconnect-filesync download -u 12345 -t ABCDEF -p 9012345
QuantConnect FileSync v0.0.1

Downloading files for project 9012345 from QuantConnect…

Strategies / Profit Strategy:
 - main.cs ✔
 - MyIndicator.cs ✔
 - MyAlpha.cs ✔

Upload

$ quantconnect-filesync upload -u 12345 -t ABCDEF -p 9012345
QuantConnect FileSync v0.0.1

Uploading files for project 9012345 to QuantConnect…

Strategies / Profit Strategy:
 - main.cs ✔
 - MyIndicator.cs ✔
 - MyAlpha.cs ✔

Watch

$ quantconnect-filesync watch -u 12345 -t ABCDEF -p 9012345
QuantConnect FileSync v0.0.1

Downloading files for project 9012345 from QuantConnect…

Strategies / Profit Strategy:
 - main.cs ✔
 - MyIndicator.cs ✔
 - MyAlpha.cs ✔

Watching for local changes to project 9012345…

ADD Strategies / DevTrader Strategy / strategy.cs ✔
CHANGE Strategies / DevTrader Strategy / strategy.cs ✔
CHANGE Strategies / DevTrader Strategy / MyAlpha.cs ✔
CHANGE Strategies / DevTrader Strategy / MyIndicator.cs ✔
CHANGE Strategies / DevTrader Strategy / MyIndicator.cs ✔
DELETE Strategies / DevTrader Strategy / MyAlpha.cs ✔