Exemple #1
0
def usStock_hpq():
    contract = Contract()
    contract.symbol = 'HPQ'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 209411801)
    return contract
Exemple #2
0
def usStock_gs():
    contract = Contract()
    contract.symbol = 'GS'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 4627828)
    return contract
Exemple #3
0
def usStock_hd():
    contract = Contract()
    contract.symbol = 'HD'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 7930)
    return contract
Exemple #4
0
def usStock_fcx():
    contract = Contract()
    contract.symbol = 'FCX'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 7089)
    return contract
Exemple #5
0
def usStock_glw():
    contract = Contract()
    contract.symbol = 'GLW'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 7655)
    return contract
Exemple #6
0
def usStock_abx():
    contract = Contract()
    contract.symbol = 'ABX'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 611060)
    return contract
Exemple #7
0
def usStock_fb():
    contract = Contract()
    contract.symbol = 'FB'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 107113386)
    return contract
Exemple #8
0
def usStock_dwdp():
    contract = Contract()
    contract.symbol = 'DWDP'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 287025078)
    return contract
Exemple #9
0
def usStock_dis():
    contract = Contract()
    contract.symbol = 'DIS'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 6459)
    return contract
Exemple #10
0
def usStock_cvx():
    contract = Contract()
    contract.symbol = 'CVX'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 5684)
    return contract
Exemple #11
0
def usStock_csco():
    contract = Contract()
    contract.symbol = 'CSCO'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 268084)
    return contract
Exemple #12
0
def usStock_chk():
    contract = Contract()
    contract.symbol = 'CHK'
    contract.secType = "STK"
    contract.exchange = "SMART"
    contract.currency = "USD"
    setattr(contract, 'conId', 661417)
    return contract