unknown
2022-08-18 bc6204f30deb7518b6f4738e3c842598cd040545
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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/