From c1109ee3fb848962226c8570c7033f16934dd306 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 6 Nov 2020 12:23:14 -0500 Subject: [PATCH] Add license headers to pertinent files --- piker/_async_utils.py | 16 ++++++++++++++++ piker/_profile.py | 15 +++++++++++++++ piker/brokers/__init__.py | 16 ++++++++++++++++ piker/brokers/_util.py | 16 ++++++++++++++++ piker/brokers/api.py | 16 ++++++++++++++++ piker/brokers/cli.py | 16 ++++++++++++++++ piker/brokers/config.py | 16 ++++++++++++++++ piker/brokers/core.py | 16 ++++++++++++++++ piker/brokers/data.py | 16 ++++++++++++++++ piker/brokers/ib.py | 18 +++++++++++++++++- piker/brokers/kraken.py | 16 ++++++++++++++++ piker/brokers/questrade.py | 16 ++++++++++++++++ piker/brokers/robinhood.py | 16 ++++++++++++++++ piker/calc.py | 16 ++++++++++++++++ piker/data/__init__.py | 19 +++++++++++++++++++ piker/data/_buffer.py | 16 ++++++++++++++++ piker/data/_normalize.py | 17 +++++++++++++++++ piker/data/_sharedmem.py | 16 ++++++++++++++++ piker/data/_source.py | 16 ++++++++++++++++ piker/data/cli.py | 16 ++++++++++++++++ piker/data/marketstore.py | 16 ++++++++++++++++ piker/fsp/__init__.py | 17 +++++++++++++++++ piker/fsp/_momo.py | 18 +++++++++++++++++- piker/log.py | 16 ++++++++++++++++ piker/ui/__init__.py | 16 ++++++++++++++++ piker/ui/_axes.py | 17 +++++++++++++++++ piker/ui/_chart.py | 16 ++++++++++++++++ piker/ui/_exec.py | 16 ++++++++++++++++ piker/ui/_graphics.py | 17 +++++++++++++++++ piker/ui/_interaction.py | 16 ++++++++++++++++ piker/ui/_signalling.py | 16 ++++++++++++++++ piker/ui/_style.py | 16 ++++++++++++++++ piker/ui/cli.py | 16 ++++++++++++++++ piker/watchlists/__init__.py | 16 ++++++++++++++++ piker/watchlists/cli.py | 15 +++++++++++++++ setup.py | 2 +- 36 files changed, 568 insertions(+), 3 deletions(-) diff --git a/piker/_async_utils.py b/piker/_async_utils.py index 7069d597..b358e2f0 100644 --- a/piker/_async_utils.py +++ b/piker/_async_utils.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Async utils no one seems to have built into a core lib (yet). """ diff --git a/piker/_profile.py b/piker/_profile.py index c14071d0..a6f171c1 100644 --- a/piker/_profile.py +++ b/piker/_profile.py @@ -1,3 +1,18 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . """ Profiling wrappers for internal libs. diff --git a/piker/brokers/__init__.py b/piker/brokers/__init__.py index 852b3db2..06328d4f 100644 --- a/piker/brokers/__init__.py +++ b/piker/brokers/__init__.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Broker clients, daemons and general back end machinery. """ diff --git a/piker/brokers/_util.py b/piker/brokers/_util.py index b8b6fccc..64f0ad3a 100644 --- a/piker/brokers/_util.py +++ b/piker/brokers/_util.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Handy utils. """ diff --git a/piker/brokers/api.py b/piker/brokers/api.py index 29fe5577..ba54a565 100644 --- a/piker/brokers/api.py +++ b/piker/brokers/api.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Actor-aware broker agnostic interface. """ diff --git a/piker/brokers/cli.py b/piker/brokers/cli.py index b1047b18..1c340fc3 100644 --- a/piker/brokers/cli.py +++ b/piker/brokers/cli.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Console interface to broker client/daemons. """ diff --git a/piker/brokers/config.py b/piker/brokers/config.py index bbf4d407..6718e794 100644 --- a/piker/brokers/config.py +++ b/piker/brokers/config.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Broker configuration mgmt. """ diff --git a/piker/brokers/core.py b/piker/brokers/core.py index 67255a41..5189df85 100644 --- a/piker/brokers/core.py +++ b/piker/brokers/core.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Broker high level cross-process API layer. diff --git a/piker/brokers/data.py b/piker/brokers/data.py index ea2076bb..cdf056b4 100644 --- a/piker/brokers/data.py +++ b/piker/brokers/data.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Real-time data feed machinery """ diff --git a/piker/brokers/ib.py b/piker/brokers/ib.py index 2a1680ad..cf509bfb 100644 --- a/piker/brokers/ib.py +++ b/piker/brokers/ib.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Interactive Brokers API backend. @@ -150,7 +166,7 @@ class Client: # durationStr='1 D', # time length calcs - durationStr='{count} S'.format(count=3000 * 5), + durationStr='{count} S'.format(count=5000 * 5), barSizeSetting='5 secs', # always use extended hours diff --git a/piker/brokers/kraken.py b/piker/brokers/kraken.py index 90bd6476..4329a981 100644 --- a/piker/brokers/kraken.py +++ b/piker/brokers/kraken.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Kraken backend. """ diff --git a/piker/brokers/questrade.py b/piker/brokers/questrade.py index 6063b9f6..e54c75a2 100644 --- a/piker/brokers/questrade.py +++ b/piker/brokers/questrade.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Questrade API backend. """ diff --git a/piker/brokers/robinhood.py b/piker/brokers/robinhood.py index 34be0627..71b21055 100644 --- a/piker/brokers/robinhood.py +++ b/piker/brokers/robinhood.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Robinhood API backend. diff --git a/piker/calc.py b/piker/calc.py index 679e2782..2e64c684 100644 --- a/piker/calc.py +++ b/piker/calc.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Handy financial calculations. """ diff --git a/piker/data/__init__.py b/piker/data/__init__.py index 77bcba12..cae1347c 100644 --- a/piker/data/__init__.py +++ b/piker/data/__init__.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Data feed apis and infra. @@ -80,6 +96,9 @@ async def maybe_spawn_brokerd( if loglevel: get_console_log(loglevel) + # disable debugger in brokerd? + # tractor._state._runtime_vars['_debug_mode'] = False + tractor_kwargs['loglevel'] = loglevel brokermod = get_brokermod(brokername) diff --git a/piker/data/_buffer.py b/piker/data/_buffer.py index 5e1c3588..64460476 100644 --- a/piker/data/_buffer.py +++ b/piker/data/_buffer.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Data buffers for fast shared humpy. """ diff --git a/piker/data/_normalize.py b/piker/data/_normalize.py index e1120278..cbda6062 100644 --- a/piker/data/_normalize.py +++ b/piker/data/_normalize.py @@ -1,6 +1,23 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Stream format enforcement. """ + from typing import AsyncIterator, Optional, Tuple import numpy as np diff --git a/piker/data/_sharedmem.py b/piker/data/_sharedmem.py index c256da31..7f90d1ae 100644 --- a/piker/data/_sharedmem.py +++ b/piker/data/_sharedmem.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ NumPy compatible shared memory buffers for real-time FSP. """ diff --git a/piker/data/_source.py b/piker/data/_source.py index 1df55f53..3ad6d3e8 100644 --- a/piker/data/_source.py +++ b/piker/data/_source.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Numpy data source machinery. """ diff --git a/piker/data/cli.py b/piker/data/cli.py index 4088f392..7a774fb5 100644 --- a/piker/data/cli.py +++ b/piker/data/cli.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ marketstore cli. """ diff --git a/piker/data/marketstore.py b/piker/data/marketstore.py index 0c68adf7..d8cb3930 100644 --- a/piker/data/marketstore.py +++ b/piker/data/marketstore.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ ``marketstore`` integration. diff --git a/piker/fsp/__init__.py b/piker/fsp/__init__.py index c4b12242..6e56c667 100644 --- a/piker/fsp/__init__.py +++ b/piker/fsp/__init__.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Financial signal processing for the peeps. """ @@ -125,6 +141,7 @@ async def cascade( # check for data length mis-allignment and fill missing values diff = len(src.array) - len(history) if diff >= 0: + print(f"WTF DIFFZZZ {diff}") for _ in range(diff): dst.push(history[:1]) diff --git a/piker/fsp/_momo.py b/piker/fsp/_momo.py index 934a5e70..13bad728 100644 --- a/piker/fsp/_momo.py +++ b/piker/fsp/_momo.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Momentum bby. """ @@ -136,7 +152,7 @@ def wma( # @piker.fsp( -# aggregates=['30s', '1m', '5m', '1H', '4H', '1D'], + # aggregates=[60, 60*5, 60*60, '4H', '1D'], # ) async def _rsi( source: 'QuoteStream[Dict[str, Any]]', # noqa diff --git a/piker/log.py b/piker/log.py index 218a9fdb..7c8bb798 100644 --- a/piker/log.py +++ b/piker/log.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Log like a forester! """ diff --git a/piker/ui/__init__.py b/piker/ui/__init__.py index a7fb1052..88771b2d 100644 --- a/piker/ui/__init__.py +++ b/piker/ui/__init__.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Stuff for your eyes, aka super hawt Qt UI components. diff --git a/piker/ui/_axes.py b/piker/ui/_axes.py index f567c877..dfce7559 100644 --- a/piker/ui/_axes.py +++ b/piker/ui/_axes.py @@ -1,6 +1,23 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Chart axes graphics and behavior. """ + from typing import List, Tuple, Optional import pandas as pd diff --git a/piker/ui/_chart.py b/piker/ui/_chart.py index 004e6b8f..0caf0d17 100644 --- a/piker/ui/_chart.py +++ b/piker/ui/_chart.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ High level Qt chart widgets. """ diff --git a/piker/ui/_exec.py b/piker/ui/_exec.py index 55a703b3..b0424c32 100644 --- a/piker/ui/_exec.py +++ b/piker/ui/_exec.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Trio - Qt integration diff --git a/piker/ui/_graphics.py b/piker/ui/_graphics.py index b8dff5d4..88193a72 100644 --- a/piker/ui/_graphics.py +++ b/piker/ui/_graphics.py @@ -1,6 +1,23 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Chart graphics for displaying a slew of different data types. """ + # import time from typing import List, Optional, Tuple diff --git a/piker/ui/_interaction.py b/piker/ui/_interaction.py index 444dfeda..af5bcec3 100644 --- a/piker/ui/_interaction.py +++ b/piker/ui/_interaction.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ UX interaction customs. """ diff --git a/piker/ui/_signalling.py b/piker/ui/_signalling.py index 66a5bf1c..dbb4f467 100644 --- a/piker/ui/_signalling.py +++ b/piker/ui/_signalling.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Signalling graphics and APIs. diff --git a/piker/ui/_style.py b/piker/ui/_style.py index 98db4bb2..23a3ac09 100644 --- a/piker/ui/_style.py +++ b/piker/ui/_style.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Qt UI styling. """ diff --git a/piker/ui/cli.py b/piker/ui/cli.py index 74a3cae3..0b2422da 100644 --- a/piker/ui/cli.py +++ b/piker/ui/cli.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """ Console interface to UI components. """ diff --git a/piker/watchlists/__init__.py b/piker/watchlists/__init__.py index 707c602f..7448a5c2 100644 --- a/piker/watchlists/__init__.py +++ b/piker/watchlists/__init__.py @@ -1,3 +1,19 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + import os import json from collections import defaultdict diff --git a/piker/watchlists/cli.py b/piker/watchlists/cli.py index 7ed089d1..3d657348 100644 --- a/piker/watchlists/cli.py +++ b/piker/watchlists/cli.py @@ -1,3 +1,18 @@ +# piker: trading gear for hackers +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . """ Watchlist management commands. diff --git a/setup.py b/setup.py index db505cfd..4f8818f5 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # piker: trading gear for hackers -# Copyright 2018 Tyler Goodlet +# Copyright (C) 2018-present Tyler Goodlet (in stewardship of piker0) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by