Stratos Intro
Code and run your trading ideas with Stratos.
Getting Started
Get started by reviewing the Python documentaion.
⚠️ Your code will only run when you have a browser open to stratos.trade. Once you close the browser, your program will cease to execute.
What you'll need
- pandas:
- Data analysis library for Python.
- Pandas TA:
- Technical analysis indicators for Python.
- Stratos Global Variables:
- bar_data - candlestick values as a list of dictionaries
- Stratos Functions:
- plot - display indicators on chart
- trade - submits orders to exchange
How to import Python packages on Stratos
In the Stratos terminal simply import your required package. The Stratos functions are imported in a special case as seen below.
_7import pandas as pd_7import pandas_ta as ta_7from stratos import plot, trade_7_7df = pd.DataFrame({_7 "close": [x['close'] for x in bar_data],_7})
Python packages that can be imported
Name | Version |
---|---|
asciitree | 0.3.3 |
astropy | 5.1 |
atomicwrites | 1.4.0 |
attrs | 21.4.0 |
autograd | 1.4 |
beautifulsoup4 | 4.11.1 |
biopython | 1.79 |
bitarray | 2.5.1 |
bleach | 5.0.0 |
bokeh | 2.4.3 |
boost-histogram | 1.3.1 |
brotli | 1.0.9 |
certifi | 2022.6.15 |
cffi | 1.15.0 |
cffi_example | 0.1 |
cftime | 1.6.0 |
CLAPACK | 3.2.1 |
cloudpickle | 2.1.0 |
cmyt | 1.0.4 |
colorspacious | 1.1.2 |
cryptography | 37.0.3 |
cssselect | 1.1.0 |
cycler | 0.11.0 |
cytoolz | 0.11.2 |
decorator | 5.1.1 |
demes | 0.2.2 |
distlib | 0.3.4 |
docutils | 0.18.1 |
fonttools | 4.33.3 |
freesasa | 2.1.0 |
future | 0.18.2 |
galpy | 1.8.0 |
geos | 3.10.3 |
gmpy2 | 2.1.2 |
gsw | 3.4.0 |
h5py | 3.7.0 |
html5lib | 1.1 |
imageio | 2.19.3 |
iniconfig | 1.1.1 |
jedi | 0.18.1 |
Jinja2 | 3.1.2 |
joblib | 1.1.0 |
jsonschema | 4.6.0 |
kiwisolver | 1.4.3 |
lazy-object-proxy | 1.7.1 |
libmagic | 5.42 |
logbook | 1.5.3 |
lxml | 4.9.0 |
MarkupSafe | 2.1.1 |
matplotlib | 3.5.2 |
mne | 1.0.3 |
more-itertools | 8.13.0 |
mpmath | 1.2.1 |
msgpack | 1.0.4 |
msprime | 1.2.0 |
networkx | 2.8.4 |
newick | 1.3.2 |
nlopt | 2.7.0 |
nltk | 3.7 |
nose | 1.3.7 |
numcodecs | 0.9.1 |
numpy | 1.23.0 |
opencv-python | 4.6.0.66 |
openssl | 1.1.1n |
optlang | 1.5.2 |
packaging | 21.3 |
pandas | 1.4.2 |
pandas-ta | 0.3.14 |
parso | 0.8.3 |
patsy | 0.5.2 |
Pillow | 9.1.1 |
pkgconfig | 1.5.5 |
pluggy | 1.0.0 |
py | 1.11.0 |
pyb2d | 0.7.2 |
pyclipper | 1.3.0.post3 |
pycparser | 2.21 |
pydantic | 1.9.1 |
pyerfa | 2.0.0.1 |
Pygments | 2.12.0 |
pyparsing | 3.0.9 |
pyproj | 3.3.1 |
pyrsistent | 0.18.1 |
pytest | 7.1.2 |
pytest-benchmark | 3.4.1 |
python-dateutil | 2.8.2 |
python-magic | 0.4.27 |
python-sat | 0.1.7.dev19 |
python_solvespace | 3.0.7 |
pytz | 2022.1 |
pywavelets | 1.3.0 |
pyyaml | 6.0 |
rebound | 3.19.8 |
reboundx | 3.7.1 |
regex | 2022.6.2 |
retrying | 1.3.3 |
RobotRaconteur | 0.15.1 |
ruamel | 0.17.21 |
scikit-image | 0.19.3 |
scikit-learn | 1.1.1 |
scipy | 1.8.1 |
setuptools | 62.6.0 |
shapely | 1.8.2 |
six | 1.16.0 |
soupsieve | 2.3.2.post1 |
sparseqr | 1.2 |
sqlalchemy | 1.4.37 |
ssl | 1.0.0 |
statsmodels | 0.13.2 |
suitesparse | 5.11.0 |
svgwrite | 1.4.2 |
swiglpk | 5.0.3 |
sympy | 1.10.1 |
tblib | 1.7.0 |
termcolor | 1.1.0 |
threadpoolctl | 3.1.0 |
tomli | 2.0.1 |
tomli-w | 1.0.0 |
toolz | 0.11.2 |
tqdm | 4.64.0 |
traits | 6.3.2 |
tskit | 0.4.1 |
typing-extensions | 4.2.0 |
uncertainties | 3.1.7 |
unyt | 2.8.0 |
webencodings | 0.5.1 |
wrapt | 1.14.1 |
xarray | 2022.3.0 |
xgboost | 1.6.1 |
xlrd | 2.0.1 |
yt | 4.0.4 |
zarr | 2.11.3 |