Skip to main content

Custom QWidget for display historical stock data

Project description

Copyright (c) 2017 Andrew Porter

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Download-URL: https://github.com/AndrewRPorter/pyqt-finance/releases
Description: ============
pyqt-finance
============

Usage
-----

.. code:: python

import sys
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from pyqt_finance import QStockWidget

class MainWindow(QMainWindow):
def __init__(self):
super(MainWindow, self).__init__()
self.graph = QStockWidget()
self.graph.plot("AAPL")
self.setCentralWidget(self.graph)
self.show()

if __name__ == "__main__":
app = QApplication(sys.argv)
window = MainWindow()
sys.exit(app.exec_())

Screenshot
----------

.. image:: imgs/example-graph.png

License
-------

MIT License

Copyright (c) 2017 Andrew Porter

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Platform: UNKNOWN

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqt_finance-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

pyqt_finance-0.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pyqt_finance-0.0.1.tar.gz.

File metadata

File hashes

Hashes for pyqt_finance-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f1a4fad3535ec1d576b2c385a0f9001a1f01484ed03f33619ef45932326ad019
MD5 df368749437dd3b87ca215c8bc49319f
BLAKE2b-256 ba4dcf17e7c5379c949729b46abab5e02dd05151b19c5a9f750ec5c28ea7740c

See more details on using hashes here.

File details

Details for the file pyqt_finance-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyqt_finance-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e84f5478ab36e2535f00251859808fdbd817a00bee9e845cb02d99500f04aad3
MD5 9a888bedaae4b82e352f005a4d51c75a
BLAKE2b-256 b9a29d4e4907fef0c44970af7c045828693a4ce14d2cf28f974bf0538f58d7ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page