Rusquant is a package for interaction with alternative data, trading API of different exchanges and brokers. Package provides access to market data for storage, analysis, algorithmic trading, strategy backtesting. Also this is data downloader from different data sources starting from close price to order book and tradelog.
pip install pyrusquant
It is possible to import data from a variety of sources with one rusquant
function: get_symbols()
and datasource (as example gigapack). For example:
from pyrusquant.services import gigapack
df0 = gigapack.get_symbols(symbols=['SBER', 'LKOH'], fake=True, type_data='candles')
df1 = gigapack.get_symbols(symbols=['SBER', 'LKOH'], fake=False, type_data='candles')
df2 = gigapack.get_symbols(symbols=['SBER', 'LKOH'], fake=True, type_data='tech')
df3 = gigapack.get_symbols(symbols=['SBER', 'LKOH'], fake=False, type_data='tech')