Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Name": "LHV Baltic Buyer Bot",
- "CreationDate": "2020-2-25",
- "Commands": [
- {
- "Command": "open",
- "Target": "https://www.nasdaqbaltic.com/statistics/et/shares",
- "Value": ""
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'APG1L')]]/td[6]",
- "Value": "APG1Lhighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'CPA1T')]]/td[6]",
- "Value": "CPA1Thighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'EFT1T')]]/td[6]",
- "Value": "EFT1Thighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'HAE1T')]]/td[6]",
- "Value": "HAE1Thighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'LHV1T')]]/td[6]",
- "Value": "LHV1Thighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'MRK1T')]]/td[6]",
- "Value": "MRK1Thighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'NCN1T')]]/td[6]",
- "Value": "NCN1Thighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'SAB1L')]]/td[6]",
- "Value": "SAB1Lhighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'SFG1T')]]/td[6]",
- "Value": "SFG1Thighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'TAL1T')]]/td[6]",
- "Value": "TAL1Thighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'TSM1T')]]/td[6]",
- "Value": "TSM1Thighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'TKM1T')]]/td[6]",
- "Value": "TKM1Thighestbuy"
- },
- {
- "Command": "storeText",
- "Target": "xpath=//table/tbody//tr[td//text()[contains(., 'TVEAT')]]/td[6]",
- "Value": "TVEAThighestbuy"
- },
- {
- "Command": "echo",
- "Target": "Apranga ${APG1Lhighestbuy} & Coop ${CPA1Thighestbuy} & Eften ${EFT1Thighestbuy} & Harju Elekter ${HAE1Thighestbuy} & LHV ${LHV1Thighestbuy} & Merko ${MRK1Thighestbuy} & Nordecon ${NCN1Thighestbuy} & Siauliai ${SAB1Lhighestbuy} & Silvano ${SFG1Thighestbuy} & Tallink ${TAL1Thighestbuy} & Sadam ${TSM1Thighestbuy} & Kaubamaja ${TKM1Thighestbuy} & TVEAT ${TVEAThighestbuy}",
- "Value": ""
- },
- {
- "Command": "open",
- "Target": "https://www.lhv.ee",
- "Value": ""
- },
- {
- "Command": "click",
- "Target": "linkText=Salasõna",
- "Value": ""
- },
- {
- "Command": "click",
- "Target": "id=login-nickname",
- "Value": ""
- },
- {
- "Command": "type",
- "Target": "id=login-nickname",
- "Value": "johannes.vahi"
- },
- {
- "Command": "clickAndWait",
- "Target": "id=login-submit",
- "Value": ""
- },
- {
- "Command": "click",
- "Target": "id=pwd",
- "Value": ""
- },
- {
- "Command": "type",
- "Target": "id=pwd",
- "Value": "BoTlOgIb1"
- },
- {
- "Command": "clickAndWait",
- "Target": "id=login_submit",
- "Value": ""
- },
- {
- "Command": "open",
- "Target": "https://www.lhv.ee/portfolio/view.cfm?vi=0",
- "Value": ""
- },
- {
- "Command": "clickAndWait",
- "Target": "xpath=//*[@id=\"menu_302\"]/a/span",
- "Value": ""
- },
- {
- "Command": "click",
- "Target": "id=i_shortname",
- "Value": ""
- },
- {
- "Command": "type",
- "Target": "id=i_shortname",
- "Value": "APG1L"
- },
- {
- "Command": "click",
- "Target": "id=i_quantity",
- "Value": ""
- },
- {
- "Command": "type",
- "Target": "id=i_quantity",
- "Value": "1"
- },
- {
- "Command": "type",
- "Target": "id=i_limit_market",
- "Value": "1"
- },
- {
- "Command": "click",
- "Target": "id=i_limit_market",
- "Value": ""
- },
- {
- "Command": "click",
- "Target": "id=i_limit_price1",
- "Value": ""
- },
- {
- "Command": "type",
- "Target": "id=i_limit_price1",
- "Value": "${APG1Lhighestbuy}"
- },
- {
- "Command": "click",
- "Target": "id=i_expires",
- "Value": ""
- },
- {
- "Command": "select",
- "Target": "id=i_expires",
- "Value": "label=tühistamiseni"
- },
- {
- "Command": "click",
- "Target": "id=i_expires",
- "Value": ""
- },
- {
- "Command": "clickAndWait",
- "Target": "xpath=//*[@id=\"vorm\"]/div[3]/span/button",
- "Value": ""
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement