2021-09-23 15:57:07 +00:00
|
|
|
# piker: trading gear for hackers
|
2022-03-08 14:52:22 +00:00
|
|
|
# Copyright (C) Tyler Goodlet (in stewardship for pikers)
|
2021-09-23 15:57:07 +00:00
|
|
|
|
|
|
|
# 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 <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
'''
|
|
|
|
IB api client data feed reset hack for i3.
|
|
|
|
|
2023-02-28 22:05:54 +00:00
|
|
|
Delegates to ``i3ipc`` python lib to detect the correct local
|
|
|
|
window to click-activate and ``xdotool`` to send the mouse
|
|
|
|
events to said window.
|
2021-09-24 15:27:35 +00:00
|
|
|
|
2023-02-28 22:05:54 +00:00
|
|
|
'''
|
|
|
|
from piker.brokers.ib._util import i3ipc_xdotool_manual_click_hack
|
2022-03-08 14:52:22 +00:00
|
|
|
|
2021-09-30 16:10:01 +00:00
|
|
|
|
2023-02-28 22:05:54 +00:00
|
|
|
if __name__ == '__main__':
|
|
|
|
i3ipc_xdotool_manual_click_hack()
|