-
Oversimplistic asynchronous web api for receiving data from the Moscow Exchange (MOEX)
Through it you can get data on financial instruments, that is, prices (json): opening, closing, minimum prices, maximum prices.
You can also get indicators: MACD, SIGNAL, SMA5, SMA12, EMA5, EMA12, VOLATILITY.
-
Request for get ticker data at 2022-05-01 to 2023-09-26:
from requests import get
data = get('http://127.0.0.1:9999/api_sst/data/GAZP/2022-05-01/2023-09-26').json()
print(data)Request for strategy testing at 2022-05-01 to 2023-09-26:
from requests import get
sst_strategies = get('http://127.0.0.1:9999/api_sst/strategy/GAZP/2022-05-01/2023-09-26').json()
print(sst_strategies) -
requirements
You may use command for install all:
pip install -r requirements.txt
- file is here
ronik-v / stock_strategy_testing_api Goto Github PK
View Code? Open in Web Editor NEWOversimplistic asynchronous web api for receiving data from the Moscow Exchange.
License: Apache License 2.0