PyGekko (Python package)

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

PyGekko (Python package)

Previous pageReturn to chapter overviewNext page

Gekko is now available in form of a Python package (PyGekko). More to come later on, but for now follow this link:

 

PyGekko on PyPI

 

clip0208

 

At the moment, only a relatively basic string-based interface is up and running in PyGekko, making it possible to execute Gekko commands in the form of strings (at bit like the Gekcel VBA interface). It is the intention to develop this further, among other things by offering loops and if-statements by means of Python control flow.

 

Regarding data transfers between Gekko and Python, the Apache Parquet format (cf. IMPORT/EXPORT) is obvious to try out together with PyGekko, because Gekko 3.3.2+ offers to convert all timeseries inside a Gekko databank into a convenient dataframe for Python (and R and SQL etc.) consumption.

 

Regarding the PYTHON_RUN command, this is a way of calling Python from within the Gekko user interface. PyGekko is the inverse: calling Gekko from inside Python, not leaving the Python environment. (Note: calling PYTHON_RUN from PyGekko would not make much sense).