Skip to content

Commit

Permalink
testing works in vs code
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesir committed Dec 11, 2022
1 parent 0dc5aef commit 19c349e
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 342 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 0 additions & 8 deletions lumibot/tests/__init__.py

This file was deleted.

204 changes: 0 additions & 204 deletions lumibot/tests/test_ib_broker.py

This file was deleted.

123 changes: 0 additions & 123 deletions lumibot/tests/test_strategies.py

This file was deleted.

11 changes: 7 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Brokers and Datasources dependecies
alpaca_trade_api==1.2.1
ccxt==1.71.84
alpaca_trade_api==1.5.1
ccxt==1.61.51
ibapi==9.81.1.post1
yfinance==0.1.59
yfinance>=0.1.87

# Datascience dependencies
pandas==1.2.4
pandas_datareader==0.9.0
pandas_market_calendars==2.0
pandas_market_calendars==4.2.4
scipy==1.5.4

# Flask ecosystem dependencies
Expand All @@ -26,3 +26,6 @@ pytest==6.2.3
black==20.8b1
isort==5.8.0

# Other
jsonpickle

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ def increment_version():
"alpaca_trade_api==1.5.1",
"alpha_vantage",
"ibapi==9.81.1.post1",
"yfinance>=0.1.70",
"yfinance>=0.1.87",
"matplotlib>=3.3.3",
"quandl",
"pandas>=1.4.0",
"pandas_datareader",
"pandas_market_calendars==3.4",
"pandas_market_calendars==4.2.4",
"plotly",
"flask-socketio",
"flask-sqlalchemy",
Expand Down
Empty file added tests/__init__.py
Empty file.
3 changes: 2 additions & 1 deletion tests/test_alpaca.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@

import pandas as pd
import pytest
from pandas import Timestamp

from credentials import ALPACA_CONFIG
from lumibot.brokers.alpaca import Alpaca
from lumibot.entities.asset import Asset
from lumibot.entities.bars import Bars
from lumibot.entities.order import Order
from lumibot.entities.position import Position
from pandas import Timestamp

# Skip all the tests in this file
# pytestmark = pytest.mark.skip("all tests still WIP")
Expand Down

0 comments on commit 19c349e

Please sign in to comment.