You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
350 B
19 lines
350 B
|
|
import dolphindb as ddb
|
|
|
|
|
|
class DDBBase(object):
|
|
|
|
ddb_config = {
|
|
'host' : '192.168.1.7',
|
|
'username' : 'admin',
|
|
'password' : '123456',
|
|
}
|
|
|
|
|
|
def __init__(self):
|
|
self.ddb_sess = ddb.session(self.ddb_config['host'], 8848)
|
|
self.ddb_sess.login(self.ddb_config['username'], self.ddb_config['password'])
|
|
|
|
|