# This is a sample Python script.
|
import time
|
from futu import *
|
import pymongo
|
import redis
|
import tkinter as tk
|
# Press Shift+F10 to execute it or replace it with your code.
|
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
|
import gpcode_manager
|
|
|
def print_hi(name):
|
# Use a breakpoint in the code line below to debug your script.
|
print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
|
|
|
# Press the green button in the gutter to run the script.
|
if __name__ == '__main__':
|
symbol = '600869'
|
p = gpcode_manager.is_operate(symbol)
|
l = gpcode_manager.is_listen(symbol)
|
print(l, p)
|
|
# See PyCharm help at https://www.jetbrains.com/help/pycharm/
|