75eac27795
* bitfinex unsubscribe impl * IB implementation * Alpaca Brokerage * Fxcm Brokerage * Bitfinex remake * GDAX Brokerage * move & rename DataQueueHandler subscription manager to better place for using in ToolBox * performance tuning use unified Channel class everywhere BaseWebsocketBrokerage.GetSubscribed method relies on DQHSubscriptionManager * TradierBrokerage implementation * OandaBrokerage implementation * FakeDataQueue subcription manager * Fake SubscriptionManager for testing * CoinApi implementation * IEXDataQueueHandler implementation * IQFeed Implementation * unit tests * fix SubscribeSymbols params * thread safe subscribed symbols * don't need to lock Keys prop, because it's thread safe * accurate PolygonDataQueueHandler subscribe/unsubscribe methods * Alpaca isnt DataQueueHAndler anymore * remove unused variable * remove redundant hashset * fix coin api subscribe method * disclaimer * prettify code * race condition? * fix symbol conversion * log if unsubscribed; change Channel Id type * requested changes * pass GetChannelName func as required parameter * centralized logs * use single name for all idqh with no difference in tick type * change Oanda resubscribe method * CanSubscribe doesn't change instance state - can be marked as static. * change Oanda Subscription tracking * style changes * bitfinex fix * fix spelling
Lean Data ToolBox
Lean Home | Documentation | Download Lean
Introduction
Lean Engine is an open-source algorithmic trading engine built for easy strategy research, backtesting and live trading. We integrate with common data providers and brokerages so you can quickly deploy algorithmic trading strategies.
The ToolBox project is a command line program which wraps over 15 tools.
Usage
Each tool requires a different set of parameters, the only required argument is '--app=', which defines the target tool and is case insensitive.
Help information is available using the '--help' parameter.
Example: --app=YahooDownloader --tickers=SPY,AAPL --resolution=Daily --from-date=yyyyMMdd-HH:mm:ss --to-date=yyyyMMdd-HH:mm:ss
Available downloaders
- '--app='
- GDAXDownloader or GDAXDL
- CryptoiqDownloader or CDL
- DukascopyDownloader or DDL
- FxcmDownloader or FDL
- FxcmVolumeDownload or FVDL
- IBDownloader or IBDL
- KrakenDownloader or KDL
- OandaDownloader or ODL
- QuandlBitfinexDownloader or QBDL
- YahooDownloader or YDL
- IEXDownloader or IEXDL
- BitfinexDownloader or BFXDL
- '--from-date=yyyyMMdd-HH:mm:ss' required
- '--tickers=SPY,AAPL,etc' required, except for QuandlBitfinexDownloader (QBDL)
- '--resolution=Tick/Second/Minute/Hour/Daily/All' required, except for QuandlBitfinexDownloader (QBDL), CryptoiqDownloader (CDL). Case sensitive. Not all downloaders support all resolutions, send empty for more information.
- '--to-date=yyyyMMdd-HH:mm:ss' optional. If not provided 'DateTime.UtcNow' will be used
Available Converters
- '--app='
- AlgoSeekFuturesConverter or ASFC
- '--date=yyyyMMdd' reference date.
- AlgoSeekOptionsConverter or ASOC
- '--date=yyyyMMdd' reference date.
- CoinApiDataConverter or CADC
- '--source-dir=' path to the raw CoinAPI data.
- IVolatilityEquityConverter or IVEC
- '--source-dir=' source archived IVolatility data.
- '--source-meta-dir=' source archived IVolatility meta data.
- '--destination-dir=' directory where Lean Data is located "Lean/Data".
- '--resolution=Minute/Hour/Daily' resolution of your IVolatility data. Case insensitive.
- KaikoDataConverter or KDC
- '--market=' the exchange the data represents.
- '--tick-type=Quote/Trade' the tick type being processed. Case insensitive.
- '--source-dir=' path to the raw Kaiko data.
- NseMarketDataConverter or NMDC
- '--source-dir=' source directory of unzipped NSE data.
- '--destination-dir=' directory where Lean Data is located "Lean/Data".
- QuantQuoteConverter or QQC
- '--source-dir=' directory where your QuantQuote order is extracted.
- '--destination-dir=' directory where Lean Data is located "Lean/Data".
- '--resolution=' resolution of the QuantQuote data.
- AlgoSeekFuturesConverter or ASFC
Other tools
- '--app='
- CoarseUniverseGenerator or CUG