EA Wizard StrategyQuant

How do you guys backtest a strategy?

I'm new to the forex trading and one of the advices that I often come across is to always backtest a strategy first.
First thing that came to mind is to just go through the chart and start moving forward, simulating a trade and logging if the strategy wins or loses. I actually did this in a 15M chart for a range of 3 months, and while the results were enlightening (my strategy sucked only 36% win rate for that pair and strategy), I found the process very tedious.
So my question is are there automated ways to back test a strategy? Like maybe excel or an application?
I was looking into mt5 and expert advisors the other day, and I tried the strategy tester using a free expert advisor. Should I create a script that mimics my strategy and test it using mt5? I have a bit of programming but I don't know where to start.
submitted by Ogre-kun to Forex [link] [comments]

Releasing a Decade of Forex Tick Data I Crawled and Converted

Releasing a Decade of Forex Tick Data I Crawled and Converted

Intro:

In my exploration of the world of big data and I became curious about tick data. Unfortunately, market data is almost always behind a paywall or de-sampled to the point of uselessness. After discovering the Dukascopy API, I knew I wanted to make this data available for all in a more accessible format. Over the course of a few months, I downloaded, cleaned, parsed, and compressed over a decade of Forex tick data on 37 currency pairs and commodities. Today I am happy to finally release the final result of my work to the DataHoarder community!

Download Links:

Warning: I have rented a seedbox for the next 3 months from seedbox.io but I have been having some issues. If you have any issues with the torrent please leave a comment. Also, PLEASE SEED when you are done. This is quite a large data set and I can only push so much data on my own.
Torrent File: https://drive.google.com/file/d/18ymZWeFLJK7FggK_iiWZ-TxgWIVdJVvv/view?usp=sharingCompanion Blog Post: https://www.driftinginrecursion.com/post/dukascopy_opensource_data/

Stats Overview:

Totals Quantities
Total Files 463
Total Line Count 8,495,770,706
Total Data Points 33,983,082,824
Total Decompressed Size 501 GB
Total Compressed Size 61 GB

About the Data:

The data was collected from https://www.dukascopy.com/ via a public API that allows for the download of tick data on the hour level. These files come in the form of a .bi5 file. The data starts as early as 2004 all the way to 2019.
These files were decompressed, then merged into yearly CSV’s named in the following convention. “AUDCHF_tick_UTC+0_00_2011.csv” or ‘Pair_Resolution_Timezone_Year.csv’
These CSV’s are split into 3 categories “Majors”, “Crosses”, “Commodities”.
Majors, Crosses, and Commodities have had their timestamps modified so that they are in the official UTC ISO standard. This was originally done for a Postgresql database that quickly became obsolesced. Any files that have been modified are appended with a “-Parse”. These timestamps have been modified in the following format.
Millisecond timestamps to UTC +00:00 time [2017.01.01 22:37:08.014] -- [2017-01-01T22:37:08.014+00:00]
https://preview.redd.it/x6g277skfiu51.png?width=1399&format=png&auto=webp&s=35cd6735c1826424580919ac3377612377a3107c

User Resources:

For those looking to use this data in a live context or update it frequently, I have included a number of tools for both Windows and Linux that will be useful.

Windows

The ~/dukascopy/resources/windows folder contains a third party tool written in java that can download and convert Dukascopy’s .bi5 files. I have also included the latest zstd binaries from Zstandard Github page.

Linux

Linux is my daily driver in 99% of cases, so I have developed all my scraping tools using Linux only tools. In the ~/dukascopy/resources/linux folder you will find a number of shell script and pyhton3 files that I used to collect this data. There are quite a few files in this directory but I will cover the core ones below.

download-day.py:

This file is used to download a single symbol for a single day and then convert and merge all 24 .bi5 files into a single CSV.

download-year.py

This file is used to download a single symbol for a full year and then convert and merge all .bi5 files into a single CSV.

dukascopy.py

This file contains all the core logic for downloading and converting data from dukascopy.

utc-timestamp-convert.py

This tad slow but works well enough. It requires the pandas project and parses timestamps into the UTC ISO standard. This is useful for those looking to maintain the format of new files with the those in this repo, or those looking to use this in a SQL database.
submitted by jtimperio to DataHoarder [link] [comments]

🔥 25 FREE Udemy Courses [Highest Rated & BEST Sellers ONLY] : Linux Mastery ,Artificial Intelligence, English, Mastering Agile Scrum, Ultimate Content Writing Masterclass: 30 Courses in 1, Top 10 Excel functions, DevOps, Docker & More

🔥 25 FREE Udemy Courses [Highest Rated & BEST Sellers ONLY] : Linux Mastery ,Artificial Intelligence, English, Mastering Agile Scrum, Ultimate Content Writing Masterclass: 30 Courses in 1, Top 10 Excel functions, DevOps, Docker & More
Source : https://www.facebook.com/groups/FreeOnlineCoursesWithCoupon/permalink/3447249061953946/
🔥 31 FREE Courses [Highest Rated & BEST Sellers ONLY] - 6 More Added - ( FREE CODES are Valid for 1-2 Days Only. Enroll now and will be in your Udemy account for lifetime FREE. )
$0 [28 lectures • 3h 13m total length] Affinity Publisher Guide – Affinity Publisher for Beginners
https://www.udemy.com/course/affinity-publisher-guide/?couponCode=5808DA55E1B099F64B00
$0 [27 lectures • 4h 12m total length] Artificial Intelligence in Digital Marketing Certification
https://www.udemy.com/course/artificial-intelligence-in-digital-marketing/?couponCode=LEGENDROCKS
$0 [11 lectures • 2h 36m total length] Artificial Intelligence in Web Design Certification
https://www.udemy.com/course/artificial-intelligence-website-creation-2018-no-coding/?couponCode=LEGENDROCKS
$0 [121 lectures • 4h 56m total length] Linux Mastery – Complete Linux Course for Beginner
https://www.udemy.com/course/linux-mastery-course/?couponCode=BESTWISHES
$0 [147 lectures • 18h 12m total length]The Complete Python 3 Course: Beginner to Advanced!
https://www.udemy.com/course/python-complete/?couponCode=FB5A44BDB26EEC19E237
$0 [89 lectures • 17h 21m total length]The Complete Python Hacking Course: Beginner to Advanced!
https://www.udemy.com/course/ethical-hacking-python/?couponCode=4CE95C5F45BDC1891C45
$0 [126 lectures • 16h 48m total length]The Complete Front-End Web Development Course!
https://www.udemy.com/course/front-end-web-development/?couponCode=E9BBE6B741BCFFF0F791
$0 [96 lectures • 24h 14m total length]The Complete Full-Stack JavaScript Course!
https://www.udemy.com/course/full-stack-javascript/?couponCode=74F10FBC5800AEC23638
$0 [98 lectures • 19h 25m total length]The Complete Ethical Hacking Course!
https://www.udemy.com/course/ethical-hacking-professional/?couponCode=686B1F12E37644E4F28A
$0 [86 lectures • 7h 22m total length]Linux for Absolute Beginners!
https://www.udemy.com/course/linux-system-admin/?couponCode=071CF309571EDE1C6446
$0 [20 lectures • 2h 43m total length] The complete forex course from scratch to professional
https://www.udemy.com/course/the-complete-forex-course-from-scratch-to-professional/?couponCode=C377D727F69B06F99351
$0 [49 lectures • 3h 27m total length] تعلم الفوتوشوب من الصفر
https://www.udemy.com/course/arabicphotoshop/?couponCode=FREEBIESGLOBAL
$0 [555 lectures • 30h 44m total length] The Complete English Grammar Course – Perfect Your English
https://www.udemy.com/course/the-complete-english-grammar-course/?couponCode=61BA169FDC8E4932A9CF
$0 [47 lectures • 5h 7m total length] The Complete Google Drive Course – Mastering Google Drive
https://www.udemy.com/course/the-complete-google-drive-course-mastering-google-drive/?couponCode=BE5E122EA454F6696FB6
$0 [602 lectures • 28h 46m total length] Complete Personal Development Personal Transformation Course
https://www.udemy.com/course/complete-personal-development-personal-transformation-course/?couponCode=7A8373D5E040B393F544
$0 [123 lectures • 6h 42m total length] Complete Google Classroom Course: Teaching Google Classroom
https://www.udemy.com/course/complete-google-classroom-course-teaching-google-classroom/?couponCode=1087CEF5B26D02CD1101
$0 [369 lectures • 26h 26m total length] The Complete English Language Course Improve Spoken English
https://www.udemy.com/course/the-complete-english-language-course-improve-spoken-english/?couponCode=E34DB641036C564EA13B
$0 [16 lectures • 2h 37m total length] Wie Reichtum entsteht – So bleibt dein Geld bei dir
https://www.udemy.com/course/das-mindset-des-sparmillionars/?couponCode=FACEBOOK1
$0 [49 lectures • 2h 46m total length] Mastering Agile Scrum Workshop
https://www.udemy.com/course/mastering-agile-scrum-workshop/?couponCode=E6DCD3242556F090D60D
$0 [16 lectures • 33m total length] Domain Name System (DNS) Administration- Windows Server 2016
https://www.udemy.com/course/installing-configuring-dns-services-on-windows-server-2016/?couponCode=JULY20FREE
$0 [84 lectures • 11h 6m total length] Marketing Analytics and Retail Business Management
https://www.udemy.com/course/marketing-analytics-marketing-strategy-models-in-excel/?couponCode=JULYFR2020
$0 [336 lectures • 20h 20m total length] Ultimate Content Writing Masterclass: 30 Courses in 1
https://www.udemy.com/course/ultimate-content-writing-masterclass-30-courses-in-1/?couponCode=WRITING88
$0 [42 lectures • 6h 29m total length] HR Analytics Course with R
https://www.udemy.com/course/hr-analytics-course-with-?couponCode=ANALYTICS33
$0 [119 lectures • 12h 46m total length] Complete Machine Learning with R Studio – ML for 2020
https://www.udemy.com/course/machine-learning-with-r-studio/?couponCode=JULYFR2020
$0 [10 lectures • 30m total length] Top 10 Excel functions for Business/Finance/Accounting Users
https://www.udemy.com/course/excel-for-business-users/?couponCode=D76B00BBBC1BE4988D3C
$0 [15 lectures • 1h 14m total length] Excel for Beginners: Functions, formulas, shortcuts & more
https://www.udemy.com/course/getting-started-with-microsoft-excel/?couponCode=13B312528E37853E72B3
$0 [74 lectures • 7h 38m total length] Accounting, Bookkeeping & Financial Statements: Zero to Pro
https://www.udemy.com/course/accounting-for-entrepreneurs/?couponCode=04F7CD1034FE31895A59
$0 [17 lectures • 4h 7m total length] A Beginner's Guide to Android App Development
https://www.udemy.com/course/a-beginners-guide-to-android-app-development/?couponCode=FREEJULY2020
$0 [15 lectures • 1h 49m total length] DevOps Fundamentals
https://www.udemy.com/course/devops-fundamentals-for-beginners/?couponCode=FREEJULY2020
$0 [11 lectures • 1h 27m total length] Docker Course for Beginners
https://www.udemy.com/course/docker-container-course-for-beginners/?couponCode=FREEJULY2020
BEST SELLER DISCOUNTED Courses
💎$9.99 [541 lectures • 41h 19m] Project Management Professional Certification Program (PMP)
https://www.udemy.com/course/project-management-professional-certification-program-pmp/?couponCode=PMP999
💎$9.99 [192 lectures • 13h 39m] The Operations Management Training Program
https://www.udemy.com/course/the-operations-management-training-program/?couponCode=OMT999
💎$11.39 [399 lectures • 82h 6m] Ultimate PHP, Laravel, CSS & Sass! Learn PHP, Laravel & Sass
https://www.udemy.com/course/ultimate-php-css-and-sass-enhance-your-javascript-skills/?couponCode=51DF886B42649358BEE3
💎$13.21 [458 lectures • 37h 7m] Risk Management for Business Analysts (PMI-RMP/IIBA-ECBA)
https://www.udemy.com/course/risk-management-for-business-analysts-pmi-rmpiiba-ecba/?couponCode=STAYSAFE
💎$12.99 [284 lectures • 31h 16m] The Agile Methodology for Project Risk Managers
https://www.udemy.com/course/the-agile-methodology-for-project-risk-managers/?couponCode=STAYSAFE
💎$12.99 [212 lectures • 16h 39m] Business Analysis Certification Program – The Concepts
https://www.udemy.com/course/business-analysis-certification-program-the-concepts/?couponCode=STAYSAFE
💎$11.99 (BEST SELLER) The Complete Storytelling Course for Speaking & Presenting - [29 Hours Content]
https://www.udemy.com/course/the-complete-storytelling-course-for-speaking-presenting/?couponCode=STAYHOME
💎 $13.99 (BEST SELLER) 2020 Complete Public Speaking Masterclass For Every Occasion - [31 Hours Content]
https://www.udemy.com/course/the-complete-public-speaking-masterclass-for-every-occasion/?couponCode=STAYHOME
💎$12.99 [178 lectures • 12h 31m] The Developing Emotional Intelligence Program https://www.udemy.com/course/the-developing-emotional-intelligence-program/?couponCode=STAYSAFE
💎$12.99 [59 lectures • 10h] Business Analysis Certification Program – Exam Questions https://www.udemy.com/course/business-analysis-certification-program-exam-questions/?couponCode=STAYSAFE
💎$14.27 [196 lectures • 18h 11m] The Agile Certified Practitioner Training Program (PMI-ACP) https://www.udemy.com/course/the-agile-certified-practitioner-training-program-pmi-acp/?couponCode=DFD1927D0804CED8F32A
💎 $15.99 [69 lectures • 8h 15] Effective Problem-solving and Decision-making under Pressure https://www.udemy.com/course/effective-problem-solving-and-decision-making-under-pressure/?couponCode=STAYSAFE

Final Day !! These are the cheapest SITEWIDE offer so far from Eduonix .
🔥Eduonix : Sitewide " Buy 1 Get 1 FREE Offer " + Extra 25% Off Code = FLAT25 ( Mix and Match any 2 items & add to cart to get 2ndone for FREE )
Some Popular items : 7 E-Degrees & 10 Mighty Bundles:
🔥 7 E-Degrees:
$42 DevOps E-degree
$42 Fullstack JavaScript Developer E-Degree
$49.50 Artificial Intelligence and Machine Learning E-Degree
$49.50 MERN Stack Developer E-Degree Program
$52.50 Advance Artificial Intelligence & Machine Learning E-Degree
$60 IoT E-degree - The Novice to Expert Program in IOT
$72 Cybersecurity E-Degree
$81 Cloud Computing E-Degree
🔥 10 Mighty Bundles:
$53 Mighty Machine Learning Bundle
$50 Mighty Data Science Bundle
$57 Mighty Cybersecurity Bundle
$57 Mighty Web Development Bundle
$57 Mighty Digital Marketing Bundle
$53 Mighty Python Bundle
$53 Mighty Software Development Bundle
$57 Mighty DevOps Bundle
$57 Mighty JavaScript Bundle
$57 Mighty Web Development Bundle 2.0

https://preview.redd.it/80j1cnlvdke51.jpg?width=1251&format=pjpg&auto=webp&s=e28321023d3434ae5a00b858a4f2e0c0ced9bb49
submitted by ViralMedia007 to FREECoursesEveryday [link] [comments]

Cryptocurrency Investment Script

Cryptocurrency Investment Script
It has been more than a year, people started investing in cryptocurrencies as a Secondary earning method. Some people's main earning base is investing. There will be a common wording - "Never Invest in Something You Don’t Understand". So it's mandatory to have basic ideas about cryptocurrency, Fiats, and Investment before jumping into the digital world. Actually, it's a vast field, you can't complete it. But you can learn enough to find your feet.
What is Cryptocurrency?
We can say simply as digital currencies that are of codes. A cryptocurrency is not owned or backed by any government or country. A cryptocurrency is a new form of digital asset based on a network that is distributed across a large number of computers. Mainly they are decentralized networks maintained using blockchain technology. I.e Distributed ledger. You can call it Money that was created by the people for them and they are controlling it. Many Governments and legal authorities are against cryptocurrency as they have many advantages over regular currencies.

https://preview.redd.it/o8ss0acmezy51.png?width=1280&format=png&auto=webp&s=37acdfa2b625bf3a5926e3a103867e8dd1c3247b
What are Fiat Currencies?
Currencies that are owned and controlled by any government are called FIAT currencies. Some of the well known Fiat currencies are USD(United States Dollar), GBP(Great Britain Pound or Sterling Pound), AUD(Australian Dollar), CNY(Chinese Yen), JPY(Japanese Yen), INR(Indian Rupee), etc.,
FIATs always lacking in the characteristics of sound money. Cryptocurrencies fill almost all gaps. As there are many advantages, the main thing is it's not controlling by any third party sources. Every transaction is made ledger and made available to all users.
Investment based on Cryptocurrency
One can invest Fiat currency as well as cryptocurrency, there will be a fixed profit for them and variable profit for them as per the investment platform they choose. As an investor, you have to select the best platform for your investment. You have to be aware of a scam as well as a real platform that gives you promised profit. Always we have to keep in mind that successful investing is about managing the risk, you have to be ready to face the risk too. There many easy go investment platforms that are helping to attain certain profit over the market. Even you don't have the knowledge about trading, exchange; investing in a proper platform will give you profit. There are multiple ways where you can invest in cryptocurrency and earn more. Some of the well known facts are HYIP investment platforms, peer to peer Exchange platforms, Forex trading using signals also now some newly trended cryptocurrency investment script like PAMM managers, Copy Trading and Auto Trading. There is a wide range of cryptocurrency based opportunity available, choosing the right platform with complete security and risk management is a wise choice. Now there are more opportunities available to start a new investment platform on your own. If you wanna be an entrepreneur, you can choose one among the Ready to use investment software and run your own website. Finally, If you don't find a way to earn while sleeping, you will work until you die!
submitted by kirhyip to u/kirhyip [link] [comments]

184$ Payment Proof - Bitero - Third Withdrawal


Processing video csx7sh48q3w51...

Join Now

Hello here I am back with the Bitero program. The team behind this project has already proven itself with a very good project this year ...
For more information, please come and see me in private ...
Their story : Bitero is a company that started from an idea, around which a team of enthusiastic visionaries has been built.
This team, made up of various investment experts, has experimented and developed new frameworks to create diversified investments with high return and high security. The most successful frameworks have been solidified and have worked (and still function) as the backbone on which this investment platform now known as Bitero was built.
This company has brought together the brightest minds from multiple fields to ensure that all their decisions and actions are always supported by experience, analysis, research and math. By combining the knowledge and experience of financial trading with the possibilities offered by Blockchain technologies.
Their team is made up of several trading experts and financial analysts who work hand in hand with their technical staff to master the possibilities offered by the Blockchain.
With each other, they share a combined experience of over two decades of asset management in Forex, stocks, stocks, bonds, futures, gold and more.
Their dedicated team of technicians, specializing in machine learning and artificial intelligence. Every day, their specialists tweak and improve their neural network algorithms to maximize their efficiency. To this extent, they plan to add further diversification to their already existing strategy to provide even higher security to their investors. The Investment Plan: In Bitcoin Only The investment package has a duration of 30 days with a daily profit of 2% on working days and 1% on Saturday Sundays. Instant withdrawals. Investors can get their initial deposit back at any time with a 10% charge during the first 30 days. Beyond these 30 days, the invested capital will be returned to you free of charge directly to your Back-Office.
Additional Information : Domain registered for 3 years SSL valid from 01 September 2020 to 03 October 2021 Unique Script
The team behind Bitero has this time tailored its investment plan to aim for the Long term ... What to make all good profits! Forward the Gains! ;)
submitted by WINZUSA to CryptoMarkets [link] [comments]

[META] Recent scam/spam trends.. Or, a peak inside what it's like to moderate /r/forex

After a few...especially trying...interactions with unhappy ban recipients today, I thought it would be fun to share a little info on what moderators do to keep this place clean. :)
The forex industry is full of shady characters. Any industry sitting on the intersection of financial independence, work, and money, is bound to attract them. There are many reasons for this; the lower barrier to entry compared to other markets, the lack of public knowledge on the subject, and greedy human nature to name a few.
Moderating a subreddit dedicated to forex (or anything trading realted for that matter,) presents extra challenges beyond your regular sub. Marketers and scammers are super motivated, and MLM / referral marketing is extremely popular right now, which can turn everyday regular users into sources of spam.
How we currently tackle this problem involves technology (scripts, bots, and automod,) a mod review workflow, and some smart sleuthing when needed.
The mod team and our scripts aren't perfect though... but the few false positives we get are a very, very small fraction of all mod actions taken (~1%.) Unfortunately, that means some otherwise sincere members get handled roughly, and that can really suck.. I wish there was a better way, but the alternative is this place becomes a wild west and starts looking like your gmail spam folder.
That said, here's my personal stats for JUST the last 24 hours:
And I'm just one of the mods. . .
So what scammer and marketing trends are we seeing lately?
Honestly, it can be really frustrating at times.. luckily the scripts we have in place make weeding out ~80% of these jokers quite easy and quick. Heck, we had one scammer who blew through 12+ accounts over the last few days trying to scam people but none of their posts ever saw the light of day thanks to the spam triggers I've written.
What motivates the mod team to keep this place clean? That's an easy answer: The majority of users here are new to trading. Making sure they aren't food for the wolves is important.
But even with all the measures we take, some bad actors still get through.
So here's where you can help: Use the report button! Anytime you see something that you think fits the descriptions listed above, or violates our sidebar rules, just report it. Even if you're not 100% sure, don't be afraid to use the report tool.. The worst thing that can happen is the mod team reviews and approves it, but the best outcome is you directly help keep this place clean and humming! :)
And the mod team is always looking to improve where it can: I've already talked about what we do to scrub away bad actors, but one place we could do better is education. The plan is to rewrite a good portion of the wiki to include the following sections:
(Titles above are a work in progress ;P)
Are you a good writer and want to help out with this? Think you can write up a killer wiki article on spotting scam artists? Message the mods and let us know!
Finally, a reminder, we are still interested in taking on more moderators and will be revisiting that very shortly. If you'd be interested, read through this post and reply accordingly: https://www.reddit.com/Forex/comments/h7ok6k/seeking_more_mods_recruitment_thread/
submitted by finance_student to Forex [link] [comments]

Universal Bypass - Changelog

Universal Bypass

Changelog

403e242

32fce08

13.14.0

4efad54

13.13.1

fb4d832

13.13.0

970fd0c

13.12.4

13.12.3

e683d2e

13.12.2

d3af8c5

13.12.1

4eb5057

13.12.0

13.11.3

268aa5a

13.11.2

2f8dfbd

13.11.1

5630ad1

13.11.0

ecf59ee

13.10.3

13.10.2

fc95789

13.10.1

4e02ff7

13.10

c3fc857

13.9

cac4de7

13.8.5

13.8.4

8d38fd9

13.8.3

825167d

13.8.2

aedb2fe

13.8.1

ea9921b

13.8

2a0b327

13.7

7dbafa1

13.6.2

c993457

13.6.1

f612f04

13.6

35e1206

13.5.1

13.5

7d7a91b

13.4

4e8c2d0

13.3

7adc74e

13.2.1

13.2

5cb0e9f

13.1

df11aaf

13.0.1

9166983

13.0 — The Design Update

53e92b2

12.9.2

20c7c99

12.9.1

3816a8b

12.9

1dfbe81

12.8

9ecab92

12.7

3db78cc

12.6

5d58882

12.5

bc958a7

12.4.1

f77e5c1

12.4

08b001d

12.3

d83acea

12.2

d183ae7

12.1

2793696

12.0.1

fee1ebe

12.0 — The Updated Update

11.19.1

11.19

11.18

11.17.2

11.17.1

11.17

11.16

11.15

11.14

11.13

11.12

11.11.1

11.11

11.10

11.9

11.8

11.7

11.6

11.5

11.4.3

11.4.2

11.4.1

11.4

11.3

11.2

11.1

11.0 — The Timed Update

10.47

10.46

10.45

10.44.1

10.44

10.43

10.42

10.41

10.40

10.39

10.38

10.37

10.36

10.35

10.34

10.33

10.32

10.31

10.30.1

10.30

10.29

10.28

10.27

10.26

10.25

10.24

10.23.4

10.23.3

10.23.2

10.23.1

10.23

10.22

10.21.2

10.21.1

10.21

10.20

10.19.1

10.19

10.18

submitted by Hakorr to UniversalBypass [link] [comments]

Any thoughts on a hedge algo

So I was thinking of making a forex script that hedges with a staggered takeprofit stop loss. Something like 20 pips SL and 25 pips TP in both directions. Has anyone done this or anything similar? Or does anyone have any recommendations?
submitted by jasonr8411 to algotrading [link] [comments]

Q: Are you aware of any tools that can be used to compare the results of previously backtested strategies?

There are many tools online, such as TradingView, that allows users to write scripts or strategies to automatically buy and sell stocks or FOREX at certain times. These work on a variety of technical analysis indicators such as a combination of MACD, SMA, ext. Individually, they can be backtested on specific stocks by individually loading each one on a program like TradingView and comparing the returns (which is super annoying).
I was wondering if you were aware of a website, or another tool, that compares all the strategies that have been developed by users on these platforms, and then ranks them according to those that have achieved the biggest returns? Kind of like a strategy screener and ranker.
I am essentially looking to see if anyone has come across some sort of database that can rank and compare among the many thousands of strategies created by users available online. If you are aware of such a service, please let me know! If not, I am happy to consider creating one myself. Please let me know if you would be interested in such a project.
TL;DR: Are you aware of a tool that automatically compares different backtested strategies to find the one that would have historically provided the best returns for a specific stock?
submitted by dabelman to technicalanalysis [link] [comments]

Q: Are you aware of any tools that can be used to compare the results of previously backtested strategies?

There are many tools online, such as TradingView, that allows users to write scripts or strategies to automatically buy and sell stocks or FOREX at certain times. These work on a variety of technical analysis indicators such as a combination of MACD, SMA, ext. Individually, they can be backtested on specific stocks by individually loading each one on a program like TradingView and comparing the returns (which is super annoying). There are many thousands of such strategies created and available to be used on these platforms.
I was wondering if you were aware of a website, or another tool, that compares all the strategies that have been developed by users on these platforms, and then ranks them according to those that have achieved the biggest returns? Kind of like a strategy screener and ranker, that compares them all and lists the ones that would have performed the best on a specific stock or FOREX.
If you are aware of such a service, please let me know! If not, I am happy to consider creating one myself. Please let me know if you would be interested in such a project. I think it would be useful to help traders systematically know what works and what doesn't for the markets they are most familiar with. Thank you for your time in reading this post.
TL;DR: Are you aware of a tool that automatically compares different backtested strategies to find the one that would have historically provided the best returns for a specific stock?
submitted by dabelman to CanadianInvestor [link] [comments]

How to optimise the speed of my Pandas code?

Hi learnpython,
My first attempt at writing my own project. Prior to this I had never used classes or Pandas so it's been a difficult learning curve. I was hoping to get some feedback on the overall structure - does everything look sensible? Are there better ways of writing some bits?
I also wanted to specifically check how I can increase the execution speed. I currently iterate rows which Pandas did say will be slow, but I couldn't see a workaround. The fact it is quite slow makes me think there is a better solution that I'm missing.
To run the code yourself download a .csv of Forex data and store in same folder as script - I used Yahoo finance GBP USD.
"""This program simulates a Double SMA (single moving average) trading strategy. The user provides a .csv file containing trade history and two different window sizes for simple moving averages (smallest number first). The .csv must contain date and close columns - trialled on Yahoo FX data). The program will generate a 'buy' signal when the short SMA is greater than the long SMA, and vice versa. The results of each trade are stored and can be output to a .csv file.""" import pandas as pd class DoubleSMA(): """Generates a Double SMA trading system.""" def __init__(self, name, sma_a, sma_b): """Don't know what goes here.""" self.name = name self.sma_a = sma_a self.sma_b = sma_b self.index = 0 self.order = 'Start' self.signal = '' def gen_sma(self, dataset, sma): """Calculates SMA and adds as column to dataset.""" col_title = 'sma' + str(sma) dataset[col_title] = dataset['Close'].rolling(sma).mean() return dataset def gen_signal(self, row, dataset): """Generates trade signal based on comparison of SMAs.""" if row[0] == (dataset.shape[0] - 1): #Reached final line of dataset; close current trade. self.order = 'Finish' elif row[3] > row[4]: self.signal = 'Buy' elif row[3] < row[4]: self.signal = 'Sell' def append_result(row, result, order): """Adds 'entry' details to results dataframe (i.e. opens trade).""" result = result.append({"Entry date": row[1], "Pair": "GBPUSD", "Order": order, "Entry price": row[2]}, ignore_index=True) return result def trade(row, order, signal, index, result): """Executes a buy or sell routine depending on signal. Flips between 'buy' and 'sell' on each trade.""" if order == 'Start': order = signal result = append_result(row, result, order) elif order == 'Finish': result.iloc[index, 1] = row[1] result.iloc[index, 5] = row[2] elif order != signal: #Close current trade result.iloc[index, 1] = row[1] result.iloc[index, 5] = row[2] index += 1 order = signal result = append_result(row, result, order) return order, index, result def result_df(): """Creates a dataframe to store the results of each trade.""" result = pd.DataFrame({"Entry date": [], "Exit date": [], "Pair": [], "Order": [], "Entry price": [], "Exit price": [], "P/L": []}) return result def dataset_df(): """Opens and cleans up the data to be analysed.""" dataset = pd.read_csv('GBPUSD 2003-2020 Yahoo.csv', usecols=['Date', 'Close']) dataset.dropna(inplace=True) dataset['Close'] = dataset['Close'].round(4) return dataset def store_result(result): """Outputs results table to .csv.""" result.to_csv('example.csv') def calc_pl(result): """Calculates the profil/loss of each row of result dataframe.""" pass #Complete later dataset = dataset_df() result = result_df() sma_2_3 = DoubleSMA('sma_2_3', 2, 3) dataset = sma_2_3.gen_sma(dataset, sma_2_3.sma_a) dataset = sma_2_3.gen_sma(dataset, sma_2_3.sma_b) dataset.dropna(inplace=True) dataset.reset_index(inplace=True, drop=True) for row in dataset.itertuples(): sma_2_3.gen_signal(row, dataset) sma_2_3.order, sma_2_3. index, result = trade(row, sma_2_3.order, sma_2_3.signal, sma_2_3.index, result) calc_pl(result) print(result) store_result(result) 
submitted by tbYuQfzB to learnpython [link] [comments]

Seeking advice on platforms (or not) for integrated Algo development.

Starting at ground-zero as an Algo Trading developer, I am hoping for some advice on platforms for operationalizing strategies—i.e. would like to ultimately only build things 2 to 3 times before actually getting a clue of what I should have done to begin with. ; )
I have 20+ years of professional software development experience, mainly writing backend services in Perl, Java, Python, JavaScript or Go. Finance was my Major as an Undergrad. Instruments of interest are Options, Futures and maybe Forex.
First question; should I even seriously choose an integrated environment, or—like everything else I do for a paycheck—build something from 'scratch' because of bad fills or high commissions? Normally, for a question like this, in some order, I'll do exhaustive feature comparisons, correspond/talk with vendors, kick some tires and talk to peers to make sure nothing has been missed, however, nobody I know has ever done anything like what people here are doing or trying to do, so...
Has anyone had experience with Quantower? Quantower looks impressive and allows for writing strategies in C#.
Noted also that cTrader Automate (formerly known as cAlgo), MultiCharts .NET and NinjaTrader (via NinjaScript) also have integrated C# or C#-ish software language strategy development and IB allows C# as well as other languages via the Trader Workstation API.
C# seems like a good choice (nowish) for the sake of portability as it looks like more platforms run on Windows than Mac or Linux and most support integrated strategy development using the C or C++ or C# languages, or scripts based thereon.
People mention a lot of interest in using R and Python, two languages I like, though their support for integrated strategy development seems to be only slowly catching up to the other languages. Is this accurate?
submitted by whimpy_dalek to algotrading [link] [comments]

2020 on Forex: the new forecasts

The coronavirus has changed everything. When analysts gave forecasts for 2020 at the end of last year, no one could foresee that the whole world would be seized by the pandemic. Call it a “black swan” or not, it’s necessary to re-evaluate the situation and adjust the medium- and the long-term outlook. Below you will find the analysis of the main Forex drivers and the overview of the prospects for the key commodities.

US recession

In 2019, economists had some fears of a potential US recession. Well, they were right not only about the USA, but also about the whole world as lockdowns pushed every country to the deep downturn. Now it’s clear that earlier the view was naturally more optimistic. How encouraging the US unemployment rate and NFP were at the end of 2019! We couldn’t imagine at that time that more than 33 million Americans would lose jobs and economic activity would fall to unprecedented lows. The Fed made a dire scenario for the prolonged US recession. All the needed measures have been taken, almost 3 trillion dollars were provided to support the market and additional aids are expected. Anyway, the US dollar gains as a safe-haven currency. The collapse of USD this year remains highly unlikely.

Central banks’ monetary policy

In December, we expected the Federal Reserve to be patient in its monetary policy decisions. At the same time, we didn’t underestimate the power of rate cuts due to recession fears. Coronavirus outbreak flipped the script with the Federal Reserve unveiling outstanding measures to support the suffering economy. The first rate cut from 1.5-1.75% to 1-1.25% happened at the beginning of March and was followed by an even bigger rate cut to the range of 0-0.25% just after a week. At the same time, the regulator announced an unlimited buying of mortgage-backed securities and plans to buy corporate bonds and bonds backed by consumer debt. Moreover, the Fed Chair Jerome Powell didn’t exclude the possibility of negative interest rates. Even though our forecasts were not 100% accurate, the upside for the USD has been indeed limited. As for the stock market, after a shock wave caused by Covid-19, the ultra-loose monetary policy pushed the indices up.
Other major central banks also joined the easing game. The Reserve banks of Australia and New Zealand cut their interest rate to unprecedented lows of 0.25%. The Bank of England and the Bank of Canada lowered their interest rate as well to 0.1% and 0.25% respectively. As for the European Central bank, it keeps the zero interest rate on hold. The supportive tool the ECB presented is the 750 billion euro Pandemic Emergency Purchase Programme (PEPP) aimed to counter the serious risks to the outlook of the Eurozone.
As all major central banks conduct almost similar easing policy, the Forex pairs can fluctuate within certain levels for a long period. That is actually a good news for range-bound traders, as channels are expected to remain quite strong.
ECB
The European Central Bank let the market know that it was aiming to do whatever it takes to save the euro area from the coronavirus damage. However, trouble always brings his brother: Germany was so tired to be the sponsor of the unlimited bond-purchasing ECB program that the German court claimed that it actually violated constitution. Now, the ECB has three months to explain that purchases were "proportionate". The ECB credibility is under threat as Germany may pull out of the next ECB's bond purchases. This situation has made euro quite volatile.

Brexit

Boris Johnson hasn’t kept his promise “to get Brexit done” yet. However, we can forgive him for that as this year brings much worse problems to deal with. Now, when countries are getting over the coronavirus shock, the UK and EU should hold the last round of trade talks and finalize an agreement by the end of December. Some analysts are skeptical about that. They think the deadline could be extended beyond the end of December, leaving the UK subject to tariffs on most goods. This would be devastating for the British pound. The sooner the UK and EU make a deal, the better for GBP.

Oil

Oil prices spent last year between $50 and $70. December was positive with the US and China ceasing fire in the trade war and OPEC extending production cuts. Possibility of a scenario where prices drop to 0 and below was absolutely inconceivable even for the most pessimistic observers, and yet it came true. It marked the beginning of 2020 with historically unseen turbulence, even apart from the coronavirus hit.
In the long term, however, there are all fundamentals for oil prices to get back to where they were. However, that may not happen this year. Observers predict that oil prices will recover to the levels of $55-60 if there is nothing in the way during the year. Otherwise, $30 is seen as the safest baseline level for the commodity during 2020.

Stocks

Just like in 2019, the stock market had a nightmarish beginning of 2020. S&P lost 35%, with some stocks losing more than 50% of value. As the summer season is coming, the market sees 50% of the losses recovered in most sectors. While the shape of recovery is being discussed, most analysts agree that after the worst-performing Q2, the S&P will continue restoring its value.
Notice that the situation is different for different stocks. Locked by the anti-virus restrictions, most of the world population was forced to spend weeks and months at home facing their TVs, laptops, and desktops. That made strong Internet-related companies blossom, so we saw Amazon and Netflix rise to even higher value than before the virus. On the contrary, the healthcare sector struggling to invent the vaccine saw Moderna, BionTech, Inovio, and other new and old pharma companies surge to unexpected heights.
IT and Internet communications companies will likely gain much more attention during the year.
Google, Nvidia, Disney, Apple, and many more around the IT and Internet sectors have the full potential to spearhead the S&P in 2020 and further on.
submitted by FBS_Forex to u/FBS_Forex [link] [comments]

How would you market this business idea?

Hello everybody, I just made a reddit account (Lost my old login) and this is my first post on this sub, so if I'm breaking any rules that I'm unaware of please let me know! :)
My buddy and I started drafting a business plan yesterday. Initially we were just going to sell his stock / Forex trading strategy that's been making him a killing, but it spawned an entirely new idea. I realize that this idea's success is highly dependent on how we market it, so I wanted to ask the pros what they think. I am entirely open to criticism in any form, but keep in mind that this was literally a two-hour idea and is in its baby stages.
The idea is a free online community for younger people who seek financial literacy/freedom by learning to build passive and portfolio income streams. This community will feature a forum which encourages people to network, work/learn together, and hopefully contribute. We will post weekly market analysis, hot industries, explain this weeks news catalysts (News' effect on markets and how you can capitalize from it), tools and more. We want to break everything down into simple Layman's terms and maintain a laid-back culture since financial freedom is about living how you want to live and not "how you're told" to live.
We additionally want to utilize social media to organize local meetups of young like-minded entrepreneurs, investors, and day-traders alike with the purpose of sharing skills, value, and ideas.
This community will additionally serve as a sales funnel to our premium course on trading that includes personal support, privately coded ThinkOrSwim scripts that scan for potentially profitable trades, etc. This will not be the primary purpose of the community, but a means to generate some revenue in order to sustain growth.
I realize that this industry is cut throat, but I also understand that most paid courses on any form of moneymaking come from "Here in my garage" marketers like Grant Cardone who seem to have more interest in short-term sales of their course than truly making a positive impact and finding success and meaning in helping people. I also think people are waking up to that.
My question to you guys' is how would you brand and market this community? How do you get people to sign up to a forum that nobody else is posting on besides the administrators? If you think this is a horrible idea that would never work, why? I just want to hear your thoughts
submitted by RoundTable99 to AskMarketing [link] [comments]

Are there any people in here successfully using FXCM api in Python (REST or Forexconnect)

Hi everyone,
I have been trying to use FXCM API in my Python trading bot for almost a month now. I have been facing issues with both FXCM rest api and ForexConnect API which support is unable to solve. I am curious if there is anyone here using their API successfully. Have you faced the issues below? How did you manage to solve them? I am ready to give up on them, but spreads and lower unit costs keep me trying. The issues below are relevant for demo and real account.
The issues are:
  1. Getting 'unauthorized' in response after a while when using FXCM rest api. I see this issue raised in the issues on the github repo and the issues were mostly closed despite being no proper answer to them. A useful piece of advise from support is to not request Offers table for prices every second and switch to getting price updates from market subscription. I have done that, but I am still getting the 'unauthorized' error after a while (30 min / 1h / 5h / day) and trying to relogin returns the same error.
  2. Getting 'terminate called without an active exception' on ForexConnect API, which not only stops one Python script, but also kills all the running Python scripts using the ForexConnect library (!). After enabling multi-session, I was hoping that this would go away, but I am still getting this error randomly throughout the day and it still kills all the running Python scripts. It is impossible to troubleshoot because there are no error messages except for that.
Any advise would be appreciated. I am surprised with these issue and it doesn't seem that it is possible to run their API reliably - however, as far as I understand, there are a lot of people using it successfully.
submitted by myspacerocket to algotrading [link] [comments]

Playbook shows Conditional result was False even if its being met

Hi Friend
I have this playbook the run a db querry script and it creates an output file. In the output file I grep text that has IB and then send that information as an email and sms. In the email module I uses a when to get the exit status of grep command but the task is skipped because it thinks the condition is not met what am I missing
"skip_reason": "Conditional result was False"
I have included the playbook and it entire output.

Playbook

Output
SEARCH Identity added: /tmp/awx1523_0XVz6y/credential_12 (/tmp/awx_1523_0XVz6y/credential_12) ansible-playbook 2.7.5 config file = /valib/awx/projects/_31start_bridge/ansible.cfg configured module search path = [u'/valib/awx/.ansible/plugins/modules', u'/usshare/ansible/plugins/modules'] ansible python module location = /opt/awx/embedded/lib/python2.7/site-packages/ansible executable location = /opt/awx/bin/ansible-playbook python version = 2.7.5 (default, Jun 11 2019, 14:33:56) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /valib/awx/projects/_31start_bridge/ansible.cfg as config file setting up inventory plugins /tmp/awx_1523_0XVz6y/tmpTgfuG3 did not meet host_list requirements, check plugin documentation if this is unexpected Parsed /tmp/awx_1523_0XVz6y/tmpTgfuG3 inventory source with script plugin Loading callback plugin awx_display of type stdout, v2.0 from /opt/awx/embedded/lib/python2.7/site-packages/awx/lib/awx_display_callback/module.pyc PLAYBOOK: Run_High_value_script.yml ******************************************** 1 plays in Run_High_value_script.yml PLAY [Playbook to send alert ibcs high value payments] ************************* META: ran handlers TASK [Include variables file] ************************************************** task path: /valib/awx/projects/_31start_bridge/Run_High_value_script.yml:8 ok: [crp-r3intibcsjvm01.fnb.co.za] => { "ansible_facts": { "recipients": { "email": [ "[email protected]", "[email protected]" ], "sms": [ "[email protected]", "[email protected]" ] } }, "ansible_included_var_files": [ "/valib/awx/projects/_31start_bridge/vars/send_sms_email.yml" ], "changed": false } TASK [Running startHighAmountAlertJob.sh] ************************************** task path: /valib/awx/projects/_31start_bridge/Run_High_value_script.yml:12 ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'( umask 77 && mkdir -p "echo $HOME/.ansible/tmp/ansible-tmp-1580896554.57-52861575077399" && echo ansible-tmp-1580896554.57-52861575077399="echo $HOME/.ansible/tmp/ansible-tmp-1580896554.57-52861575077399" ) && sleep 0'"'"'' (0, 'ansible-tmp-1580896554.57-52861575077399=/opt/forex/.ansible/tmp/ansible-tmp-1580896554.57-52861575077399\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for \r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9997 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /v… Using module file /opt/awx/embedded/lib/python2.7/site-packages/ansible/modules/commands/command.py PUT /valib/awx/.ansible/tmp/ansible-local-8426S6tYt8/tmprJt7k8 TO /opt/forex/.ansible/tmp/ansible-tmp-1580896554.57-52861575077399/AnsiballZ_command.py SSH: EXEC scp -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 /valib/awx/.ansible/tmp/ansible-local-8426S6tYt8/tmprJt7k8 '[crp-r3intibcsjvm01.fnb.co.za]:/opt/forex/.ansible/tmp/ansible-tmp-1580896554.57-52861575077399/AnsiballZ_command.py' (0, '', 'Executing: program /usbin/ssh host crp-r3intibcsjvm01.fnb.co.za, user (unspecified), command scp -v -t /opt/forex/.ansible/tmp/ansible-tmp-1580896554.57-52861575077399/AnsiballZ_command.py\nOpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9998 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type… ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'chmod u+x /opt/forex/.ansible/tmp/ansible-tmp-1580896554.57-52861575077399/ /opt/forex/.ansible/tmp/ansible-tmp-1580896554.57-52861575077399/AnsiballZ_command.py && sleep 0'"'"'' (0, '', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9995 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identi… ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 -tt crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'/usbin/python /opt/forex/.ansible/tmp/ansible-tmp-1580896554.57-52861575077399/AnsiballZ_command.py && sleep 0'"'"'' (0, '\r\n{"changed": true, "end": "2020-02-05 11:56:17.523382", "stdout": "2020-02-05 11:55:56,049 INFO [main] (HighAmountAlertJob.java:130) - Reading properties file\n2020-02-05 11:55:56,056 INFO [main] (HighAmountAlertJob.java:138) - Setting DB driver -> com.ibm.db2.jcc.DB2Driver\n2020-02-05 11:55:56,645 INFO [main] (HighAmountAlertJob.java:142) - Getting connection\n2020-02-05 11:55:56,960 INFO [main] (HighAmountAlertJob.java:80) - SQL SELECT app.APPLICATION_NO FROM FOREXDBO.APPLICATION app join FOREXDBO.APP_SETTLE_INSTR asi on asi.APPLICATION_NO=app.APPLICATION_NO where asi.REQUEST_PAYMENT_IND=\'R\' and abs(asi.NET_ZAR_EQUIVALENT) >=20000000 and timestamp(app.CAPTURE_DATETIME) >= timestamp(current date) - 1 hour \n2020-02-05 11:56:17,515 INFO [main] (HighAmountAlertJob.java:104) - write created 5\n2020-02-05 11:56:17,516 INFO [main] (HighAmountAlertJob.java:123) - File rename ", "cmd": ["./startHighAmountAlertJob.sh"], "rc": 0, "start": "2020-02-05 11:55… ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'rm -f -r /opt/forex/.ansible/tmp/ansible-tmp-1580896554.57-52861575077399/ > /dev/null 2>&1 && sleep 0'"'"'' (0, '', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9999 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identi… changed: [crp-r3intibcsjvm01.fnb.co.za] => { "changed": true, "cmd": [ "./startHighAmountAlertJob.sh" ], "delta": "0:00:22.049762", "end": "2020-02-05 11:56:17.523382", "invocation": { "module_args": { "_raw_params": "./startHighAmountAlertJob.sh", "_uses_shell": false, "argv": null, "chdir": "/opt/forex/ibcs/settlementservebin", "creates": null, "executable": null, "removes": null, "stdin": null, "warn": true } }, "rc": 0, "start": "2020-02-05 11:55:55.473620", "stderr": "", "stderr_lines": [], "stdout": "2020-02-05 11:55:… TASK [Find files to delete] *************************************************** task path: /valib/awx/projects/_31start_bridge/Run_High_value_script.yml:17 ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'( umask 77 && mkdir -p "echo $HOME/.ansible/tmp/ansible-tmp-1580896577.89-161877301023431" && echo ansible-tmp-1580896577.89-161877301023431="echo $HOME/.ansible/tmp/ansible-tmp-1580896577.89-161877301023431" ) && sleep 0'"'"'' (0, 'ansible-tmp-1580896577.89-161877301023431=/opt/forex/.ansible/tmp/ansible-tmp-1580896577.89-161877301023431\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for \r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9998 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file … Using module file /opt/awx/embedded/lib/python2.7/site-packages/ansible/modules/files/find.py PUT /valib/awx/.ansible/tmp/ansible-local-8426S6tYt8/tmpWoqwod TO /opt/forex/.ansible/tmp/ansible-tmp-1580896577.89-161877301023431/AnsiballZ_find.py SSH: EXEC scp -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 /valib/awx/.ansible/tmp/ansible-local-8426S6tYt8/tmpWoqwod '[crp-r3intibcsjvm01.fnb.co.za]:/opt/forex/.ansible/tmp/ansible-tmp-1580896577.89-161877301023431/AnsiballZ_find.py' (0, '', 'Executing: program /usbin/ssh host crp-r3intibcsjvm01.fnb.co.za, user (unspecified), command scp -v -t /opt/forex/.ansible/tmp/ansible-tmp-1580896577.89-161877301023431/AnsiballZ_find.py\nOpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9998 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type -… ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'chmod u+x /opt/forex/.ansible/tmp/ansible-tmp-1580896577.89-161877301023431/ /opt/forex/.ansible/tmp/ansible-tmp-1580896577.89-161877301023431/AnsiballZ_find.py && sleep 0'"'"'' (0, '', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9998 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identi… ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 -tt crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'/usbin/python /opt/forex/.ansible/tmp/ansible-tmp-1580896577.89-161877301023431/AnsiballZ_find.py && sleep 0'"'"'' (0, '\r\n{"files": [{"uid": 494, "woth": false, "mtime": 1580896577.5155873, "inode": 1320040, "isgid": false, "size": 74, "roth": false, "isuid": false, "isreg": true, "pw_name": "ibcsapp", "gid": 493, "ischr": false, "wusr": true, "xoth": false, "rusr": true, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "ibcsapp", "path": "/opt/forex/ibcs/HighLimit/out/High_Alert_05022020-11:55:56.048.txt", "xusr": false, "atime": 1580896577.5145872, "isdir": false, "ctime": 1580896577.5165873, "isblk": false, "xgrp": false, "dev": 64770, "wgrp": false, "isfifo": false, "mode": "0640", "islnk": false}], "changed": false, "msg": "", "examined": 1, "invocation": {"module_args": {"excludes": null, "paths": ["/opt/forex/ibcs/HighLimit/out"], "file_type": "file", "age": null, "contains": null, "recurse": false, "age_stamp": "mtime", "patterns": [".txt"], "depth": null, "get_checksum": false, "use_regex": false, "follow": false, "hidden": false, "size": null}}, "matched": 1}\r\n', … ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'rm -f -r /opt/forex/.ansible/tmp/ansible-tmp-1580896577.89-161877301023431/ > /dev/null 2>&1 && sleep 0'"'"'' (0, '', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for \r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9999 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identi… ok: [crp-r3intibcsjvm01.fnb.co.za] => { "changed": false, "examined": 1, "files": [ { "atime": 1580896577.5145872, "ctime": 1580896577.5165873, "dev": 64770, "gid": 493, "gr_name": "ibcsapp", "inode": 1320040, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0640", "mtime": 1580896577.5155873, "nlink": 1, "path": "/opt/forex/ibcs/HighLimit/out/High_Alert_05022020-1… TASK [Show found files] ******************************************************* task path: /valib/awx/projects/_31start_bridge/Run_High_value_script.yml:23 ok: [crp-r3intibcsjvm01.fnb.co.za] => { "msg": [ { "atime": 1580896577.5145872, "ctime": 1580896577.5165873, "dev": 64770, "gid": 493, "gr_name": "ibcsapp", "inode": 1320040, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0640", "mtime": 1580896577.5155873, "nlink": 1, "path": "/opt/forex/ibcs/HighLimit/out/High_Alert_05022020-11:55:56.048.txt", "pw_name": "ibcsapp", … TASK [Grep file contents] ****************************************************** task path: /valib/awx/projects/_31start_bridge/Run_High_value_script.yml:27 ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'( umask 77 && mkdir -p "echo $HOME/.ansible/tmp/ansible-tmp-1580896579.29-155524986624834" && echo ansible-tmp-1580896579.29-155524986624834="echo $HOME/.ansible/tmp/ansible-tmp-1580896579.29-155524986624834" ) && sleep 0'"'"'' (0, 'ansible-tmp-1580896579.29-155524986624834=/opt/forex/.ansible/tmp/ansible-tmp-1580896579.29-155524986624834\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for \r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9993 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file … Using module file /opt/awx/embedded/lib/python2.7/site-packages/ansible/modules/commands/command.py PUT /valib/awx/.ansible/tmp/ansible-local-8426S6tYt8/tmp6Mcf0N TO /opt/forex/.ansible/tmp/ansible-tmp-1580896579.29-155524986624834/AnsiballZ_command.py SSH: EXEC scp -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 /valib/awx/.ansible/tmp/ansible-local-8426S6tYt8/tmp6Mcf0N '[crp-r3intibcsjvm01.fnb.co.za]:/opt/forex/.ansible/tmp/ansible-tmp-1580896579.29-155524986624834/AnsiballZ_command.py' (0, '', 'Executing: program /usbin/ssh host crp-r3intibcsjvm01.fnb.co.za, user (unspecified), command scp -v -t /opt/forex/.ansible/tmp/ansible-tmp-1580896579.29-155524986624834/AnsiballZ_command.py\nOpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9998 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa typ… ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'chmod u+x /opt/forex/.ansible/tmp/ansible-tmp-1580896579.29-155524986624834/ /opt/forex/.ansible/tmp/ansible-tmp-1580896579.29-155524986624834/AnsiballZ_command.py && sleep 0'"'"'' (0, '', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9989 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identi… ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 -tt crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'/usbin/python /opt/forex/.ansible/tmp/ansible-tmp-1580896579.29-155524986624834/AnsiballZ_command.py && sleep 0'"'"'' (0, '\r\n{"changed": true, "end": "2020-02-05 11:56:20.078354", "stdout": "IBJCH01864\nIBJCH01953\nIBJCH01963\nIBJCH01973\nIBJCH01988", "cmd": "grep -i IB /opt/forex/ibcs/HighLimit/out/.txt", "rc": 0, "start": "2020-02-05 11:56:20.052032", "stderr": "", "delta": "0:00:00.026322", "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": true, "_raw_params": "grep -i IB /opt/forex/ibcs/HighLimit/out/.txt", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}}\r\n', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug… ESTABLISH SSH CONNECTION FOR USER: ibcsapp SSH: EXEC ssh -vvv -o ForwardAgent=yes -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ibcsapp -o ConnectTimeout=10 crp-r3intibcsjvm01.fnb.co.za '/bin/sh -c '"'"'rm -f -r /opt/forex/.ansible/tmp/ansible-tmp-1580896579.29-155524986624834/ > /dev/null 2>&1 && sleep 0'"'"'' (0, '', 'OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug2: resolving "crp-r3intibcsjvm01.fnb.co.za" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to crp-r3intibcsjvm01.fnb.co.za [10.5.1.114] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9995 ms remain after connect\r\ndebug1: identity file /valib/awx/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /valib/awx/.ssh/id_dsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identi… changed: [crp-r3intibcsjvm01.fnb.co.za] => { "changed": true, "cmd": "grep -i IB /opt/forex/ibcs/HighLimit/out/.txt", "delta": "0:00:00.026322", "end": "2020-02-05 11:56:20.078354", "invocation": { "module_args": { "_raw_params": "grep -i IB /opt/forex/ibcs/HighLimit/out/.txt", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "warn": true } }, "rc": 0, "start": "2020-02-05 11:56:20.052032", "stderr": "", "stderr_lines": [], "stdout": "IBJCH01864\nIBJCH01953\nIBJCH01963\nIBJCH01973\nIBJCH019… TASK [Text file contents] ***************************************************** task path: /valib/awx/projects/_31_start_bridge/Run_High_value_script.yml:32 skipping: [crp-r3intibcsjvm01.fnb.co.za] => (item={'key': u'sms', 'value': [u'[email protected]', u'[email protected]']}) => { "changed": false, "item": { "key": "sms", "value": [ "[email protected]", "[email protected]" ] }, "skip_reason": "Conditional result was False" } skipping: [crp-r3intibcsjvm01.fnb.co.za] => (item={'key': u'email', 'value': [u'[email protected]', u'[email protected]']}) => { "changed": false, "item": { "key": "email", "value": [ "[email protected]", "[email protected]" ] }, "skip_reason": "Conditional result was False" }
submitted by thunyiwe to ansible [link] [comments]

[Money reward] How to calculate CCFP values in 2 weeks for each currency?

Just learn about Forex and I'm having information overload. I can't find the needed information, for example, how to calculate the CCFP values of the previous week and the week before that like this table:
https://i.imgur.com/TjhulWA.png?
I would be appreciated if anyone can chat with me and answer some basic questions regarding CCFP, MQL scripts (via fb, skype, anything). I have some gift cards to repay you. Thanks a lot.
submitted by bitieubom to Forex [link] [comments]

How would you market this business idea? (Online Financial Literacy Community)

Hello everybody, I just made a reddit account (Lost my old login) and this is my first post on this sub, so if I'm breaking any rules that I'm unaware of please let me know! :)
My buddy and I started drafting a business plan yesterday. Initially we were just going to sell his stock / Forex trading strategy that's been making him a killing, but it spawned an entirely new idea. I realize that this idea's success is highly dependent on how we market it, so I wanted to ask the pros what they think. I am entirely open to criticism in any form, but keep in mind that this was literally a two-hour idea and is in its baby stages.
The idea is a free online community for younger people who seek financial literacy/freedom by learning to build passive and portfolio income streams. This community will feature a forum which encourages people to network, work/learn together, and hopefully contribute. We will post weekly market analysis, hot industries, explain this weeks news catalysts (News' effect on markets and how you can capitalize from it), tools and more. We want to break everything down into simple Layman's terms and maintain a laid-back culture since financial freedom is about living how you want to live and not "how you're told" to live.
We additionally want to utilize social media to organize local meetups of young like-minded entrepreneurs, investors, and day-traders alike with the purpose of sharing skills, value, and ideas.
This community will additionally serve as a sales funnel to our premium course on trading that includes personal support, privately coded ThinkOrSwim scripts that scan for potentially profitable trades, etc. This will not be the primary purpose of the community, but a means to generate some revenue in order to sustain growth.
I realize that this industry is cut throat, but I also understand that most paid courses on any form of moneymaking come from "Here in my garage" marketers like Grant Cardone who seem to have more interest in short-term sales of their course than truly making a positive impact and finding success and meaning in helping people. I also think people are waking up to that.
My question to you guys' is how would you brand and market this community? How do you get people to sign up to a forum that nobody else is posting on besides the administrators? If you think this is a horrible idea that would never work, why? I just want to hear your thoughts
submitted by RoundTable99 to EntrepreneurRideAlong [link] [comments]

Looking back 18 months.

I was going through old emails today and came across this one I sent out to family on January 4, 2018. It was a reflection on the 2017 crypto bull market and where I saw it heading, as well as some general advice on crypto, investment, and being safe about how you handle yourself in cryptoland.
I feel that we are on the cusp of a new bull market right now, so I thought that I would put this out for at least a few people to see *before* the next bull run, not after. While the details have changed, I don't see a thing in this email that I fundamentally wouldn't say again, although I'd also probably insist that people get a Yubikey and use that for all 2FA where it is supported.
Happy reading, and sorry for some of the formatting weirdness -- I cleaned it up pretty well from the original email formatting, but I love lists and indents and Reddit has limitations... :-/
Also, don't laught at my token picks from January 2018! It was a long time ago and (luckliy) I took my own advice about moving a bunch into USD shortly after I sent this. I didn't hit the top, and I came back in too early in the summer of 2018, but I got lucky in many respects.
----------------------------------------------------------------------- Jan-4, 2018
Hey all!
I woke up this morning to ETH at a solid $1000 and decided to put some thoughts together on what I think crypto has done and what I think it will do. *******, if you could share this to your kids I’d appreciate it -- I don’t have e-mail addresses, and it’s a bit unwieldy for FB Messenger… Hopefully they’ll at least find it thought-provoking. If not, they can use it as further evidence that I’m a nutjob. 😉
Some history before I head into the future.
I first mined some BTC in 2011 or 2012 (Can’t remember exactly, but it was around the Christmas holidays when I started because I had time off from work to get it set up and running.) I kept it up through the start of summer in 2012, but stopped because it made my PC run hot and as it was no longer winter, ********** didn’t appreciate the sound of the fans blowing that hot air into the room any more. I’ve always said that the first BTC I mined was at $1, but looking back at it now, that’s not true – It was around $2. Here’s a link to BTC price history.
In the summer of 2013 I got a new PC and moved my programs and files over before scrapping the old one. I hadn’t touched my BTC mining folder for a year then, and I didn’t even think about salvaging those wallet files. They are now gone forever, including the 9-10BTC that were in them. While I can intellectually justify the loss, it was sloppy and underlines a key thing about cryptocurrency that I believe will limit its widespread adoption by the general public until it is addressed and solved: In cryptoland, you are your own bank, and if you lose your password or account number, there is no person or organization that can help you reset it so that you can get access back. Your money is gone forever.
On April 12, 2014 I bought my first BTC through Coinbase. BTC had spiked to $1000 and been in the news, at least in Japan. This made me remember my old wallet and freak out for a couple of months trying to find it and reclaim the coins. I then FOMO’d (Fear Of Missing Out”) and bought $100 worth of BTC. I was actually very lucky in my timing and bought at around $430. Even so, except for a brief 50% swing up almost immediately afterwards that made me check prices 5 times a day, BTC fell below my purchase price by the end of September and I didn’t get back to even until the end of 2015.
In May 2015 I bought my first ETH at around $1. I sent some guy on bitcointalk ~$100 worth of BTC and he sent me 100 ETH – all on trust because the amounts were small and this was a small group of people. BTC was down in the $250 range at that point, so I had lost 30-40% of my initial investment. This was of the $100 invested, so not that much in real terms, but huge in percentages. It also meant that I had to buy another $100 of BTC on Coinbase to send to this guy. A few months after I purchased my ETH, BTC had doubled and ETH had gone down to $0.50, halving the value of my ETH holdings. I was even on the first BTC purchase finally, but was now down 50% on the ETH I had bought.
The good news was that this made me start to look at things more seriously. Where I had skimmed white papers and gotten a superficial understanding of the technology before FOMO’ing, I started to act as an investor, not a speculator. Let me define how I see those two different types of activity:
So what has been my experience as an investor? After sitting out the rest of 2015 because I needed to understand the market better, I bought into ETH quite heavily, with my initial big purchases being in March-April of 2016. Those purchases were in the $11-$14 range. ETH, of course, dropped immediately to under $10, then came back and bounced around my purchase range for a while until December of 2016, when I purchased a lot more at around $8.
I also purchased my first ICO in August of 2016, HEAT. I bought 25ETH worth. Those tokens are now worth about half of their ICO price, so about 12.5ETH or $12500 instead of the $25000 they would be worth if I had just kept ETH. There are some other things with HEAT that mean I’ve done quite a bit better than those numbers would suggest, but the fact is that the single best thing I could have done is to hold ETH and not spend the effort/time/cost of working with HEAT. That holds true for about every top-25 token on the market when compared to ETH. It certainly holds true for the many, many tokens I tried to trade in Q1-Q2 of 2017. In almost every single case I would have done better and slept better had I just held ETH instead of trying to be smarter than Mr. Market.
But, I made money on all of them except one because the crypto market went up more in USD terms than any individual coin went down in ETH or BTC terms. This underlines something that I read somewhere and that I take to heart: A rising market makes everyone seem like a genius. A monkey throwing darts at a list of the top 100 cryptocurrencies last year would have doubled his money. Here’s a chart from September that shows 2017 year-to-date returns for the top 10 cryptocurrencies, and all of them went up a *lot* more between then and December. A monkey throwing darts at this list there would have quintupled his money.
When evaluating performance, then, you have to beat the monkey, and preferably you should try to beat a Wall Street monkey. I couldn’t, so I stopped trying around July 2017. My benchmark was the BLX, a DAA (Digital Asset Array – think fund like a Fidelity fund) created by ICONOMI. I wasn’t even close to beating the BLX returns, so I did several things.
  1. I went from holding about 25 different tokens to holding 10 now. More on that in a bit.
  2. I used those funds to buy ETH and BLX. ETH has done crazy-good since then and BLX has beaten BTC handily, although it hasn’t done as well as ETH.
  3. I used some of those funds to set up an arbitrage operation.
The arbitrage operation is why I kept the 11 tokens that I have now. All but a couple are used in an ETH/token pair for arbitrage, and each one of them except for one special case is part of BLX. Why did I do that? I did that because ICONOMI did a better job of picking long-term holds than I did, and in arbitrage the only speculative thing you must do is pick the pairs to trade. My pairs are (No particular order):
I also hold PLU, PLBT, and ART. These two are multi-year holds for me. I have not purchased BTC once since my initial $200, except for a few cases where BTC was the only way to go to/from an altcoin that didn’t trade against ETH yet. Right now I hold about the same 0.3BTC that I held after my first $100 purchase, so I don’t really count it.
Looking forward to this year, I am positioning myself as follows:
Looking at my notes, I have two other things that I wanted to work into this email that I didn’t get to, so here they are:
  1. Just like with free apps and other software, if you are getting something of value and you didn’t pay anything for it, you need to ask why this is. With apps, the phrase is “If you didn’t pay for the product, you are the product”, and this works for things such as pump groups, tips, and even technical analysis. Here’s how I see it.
    1. People don’t give tips on stocks or crypto that they don’t already own that stock or token. Why would they, since if they convince anyone to buy it, the price only goes up as a result, making it more expensive for them to buy in? Sure, you will have friends and family that may do this, but people in a crypto club, your local cryptocurrency meetup, or online are generally not your friends. They are there to make money, and if they can get you to help them make money, they will do it. Pump groups are the worst of these, and no matter how enticing it may look, stay as far away as possible from these scams. I even go so far as to report them when I see them advertise on FB or Twitter, because they are violating the terms of use.
    2. Technical analysis (TA) is something that has been argued about for longer than I’ve been alive, but I think that it falls into the same boat. In short, TA argues that there are patterns in trading that can be read and acted upon to signal when one must buy or sell. It has been used forever in the stock and foreign exchange markets, and people use it in crypto as well. Let’s break down these assumptions a bit.
i. First, if crypto were like the stock or forex markets we’d all be happy with 5-7% gains per year rather than easily seeing that in a day. For TA to work the same way in crypto as it does in stocks and foreign exchange, the signals would have to be *much* stronger and faster-reacting than they work in the traditional market, but people use them in exactly the same way.
ii. Another area where crypto is very different than the stock and forex markets centers around market efficiency theory. This theory says that markets are efficient and that the price reflects all the available information at any given time. This is why gold in New York is similar in price to gold in London or Shanghai, and why arbitrage margins are easily <0.1% in those markets compared to cryptoland where I can easily get 10x that. Crypto simply has too much speculation and not enough professional traders in it yet to operate as an efficient market. That fundamentally changes the way that the market behaves and should make any TA patterns from traditional markets irrelevant in crypto.
iii. There are services, both free and paid that claim to put out signals based on TA for when one should buy and sell. If you think for even a second that they are not front-running (Placing orders ahead of yours to profit.) you and the other people using the service, you’re naïve.
iv. Likewise, if you don’t think that there are people that have but together computerized systems to get ahead of people doing manual TA, you’re naïve. The guys that I have programming my arbitrage bots have offered to build me a TA bot and set up a service to sell signals once our position is taken. I said no, but I am sure that they will do it themselves or sell that to someone else. Basically they look at TA as a tip machine where when a certain pattern is seen, people act on that “tip”. They use software to see that “tip” faster and take a position on it so that when slower participants come in they either have to sell lower or buy higher than the TA bot did. Remember, if you are getting a tip for free, you’re the product. In TA I see a system when people are all acting on free preset “tips” and getting played by the more sophisticated market participants. Again, you have to beat that Wall Street monkey.
  1. If you still don’t agree that TA is bogus, think about it this way: If TA was real, Wall Street would have figured it out decades ago and we would have TA funds that would be beating the market. We don’t.
  2. If you still don’t agree that TA is bogus and that its real and well, proven, then you must think that all smart traders use them. Now follow that logic forward and think about what would happen if every smart trader pushing big money followed TA. The signals would only last for a split second and would then be overwhelmed by people acting on them, making them impossible to leverage. This is essentially what the efficient market theory postulates for all information, including TA.
OK, the one last item. Read this weekly newsletter – You can sign up at the bottom. It is free, so they’re selling something, right? 😉 From what I can tell, though, Evan is a straight-up guy who posts links and almost zero editorial comments.
Happy 2018.
submitted by uetani to CryptoCurrency [link] [comments]

Moving python webscrapper to the cloud....how?

Hello aws,
I have a python script, several actually, pulling from several pages on the same main site.
I am pulling forex data, 24/7, for a stats capstone project and the values are being logged to a .csv file. The script keeps the .csv it is logging too locked until 23:59:59, where it closes out that day's .csv and then opens a new one for the new day logging. Had a power outage here and since I am capturing this data from my house, that was the end for my data capture.
How would I go about putting this application on the cloud to avoid this problem? Also, this program runs on windows now, I would like to move it over to a raspberry pi. How would I go about doing that? Would I be able to use the Windows 10 IOT or should I use linux? What ways would I need to adapt this python script to work on linux?
Any recommendations are much appreciated on both fronts, thank you!
submitted by LavishManatee to aws [link] [comments]

99% OF BILLIONAIRES THINK LIKE THIS! - Learn How To Think ... BEST WAY TO ORGANISE YOUR TRADING SCREENS/CHARTS IN ... FOREX I JINSI YA KUFANYA ANALYSIS I FOREX MARKET Tradingview Tips & Tricks 2019 - YouTube Meta Trader 4 Tutorial Part 3  Memahami Buy Stop, Sell Stop, Buy Limit, Sell Limit Tutorial Forex Screening for Stocks using the Thinkorswim Scanner by Adam ... ROBOT EA FOREX TERBAIK , TESTING, CARA PASANG EA YouTube

The next step is to lead into your usual cold calling script. 10. The Detail-Oriented Follow-Up. Let’s say a prospect was genuinely busy and asked you to call back. You’ve already told them why you’re calling, and you may have even emailed to provide context for the next time you call. If this is the case, use this script to follow-up: Forex EA generator can create amazing money-making robots for you without requiring any programming skills or other technical skills. We call it Forex Robot Factory which is a very easy to use Expert Advisor generator. You can easily develop an application that automatically makes trades on your behalf. Forex trading involves significant risk of loss and is not suitable for all investors. Full Disclosure. Spot Gold and Silver contracts are not subject to regulation under the U.S. Commodity Exchange Act. *Increasing leverage increases risk. GAIN Capital Group LLC (dba FOREX.com) 135 US Hwy 202/206 Bedminster NJ 07921, USA. GAIN Capital Group LLC is a wholly-owned subsidiary of StoneX Group Inc ... Analisis Forex yang Baik dan Benar Mengenal Tentang Trading Forex Ingin Punya Usaha Sendiri Tanpa Modal Jutaan? Coba Bisnis Dropship, Yuk! Berbagai Keuntungan Dalam Berbisnis Dropship Script 85.000 Diamond Mobile Legend Gratis Terbaru 2020 Patch Atlas Download IMLS 1.8.12 Apk Terbaru 2020 Skin Gratis ML Patch Atlas Arsip. Oktober 2020 (4) September 2020 (2) Maret 2020 (4) Februari 2020 (7 ... Build any EA you want – simplest way to convert your trading idea into a forex robot, ready for testing or real trading. No programming needed. Test your trading idea on real market data and immediately find out if it is profitable. Create a Trading Signals Alerts Indicator. Or create a Trading Signals Alerts Indicator that will notify you about trading signal by sound or email alert ... Indicator Waddah_Attar_Explosion is very powerful. It alerts you to buy , sell , exit buy and exit sell. - Free download of the 'Waddah Attar Explosion' indicator by 'waddahattar' for MetaTrader 4 in the MQL5 Code Base, 2007.02.02 Forex Strategies resources is a collection free resources for trading: trading method,forex strategies, binary options Strategies, trading system, indicators,chart patterns, candlestick analysis, forex e-book and use free online forex tools, free forex trading signals and FX Forecast. In Forex Strategies Resources the best forex strategies.Now also Binary options strategies. Volume analysis might seem esoteric and challenging to master. While volume analysis has great potential, some volume trading indicators, with their many inputs, are hard to understand. This is why the Volume-Weighted Moving Average (VWMA) is a suitable choice for anyone new to volume analysis.. If you are familiar with the Simple Moving Average (SMA), you’re already well-poised to pick up ... WA 0838-4065-2485, Robot Forex Profit Konsisten, Rsi Ea Forex, Cara Edit Ea Forex Menawarkan Jasa Pembuatan EA. Bergaransi hingga Sesuai dengan pesanan Anda. GRATIS revisi jika belum sesuai. Proses... WA 0838-4065-2485, Jasa EA MT4, Jasa EA Forex. 1.5M ratings 277k ratings See, that’s what the app is perfect for. Sounds ... Menerima juga pembuatan Script dan Indikator. Juga menerima Edit EA. Silahkan jika Anda mau membuat sistem trading nya menjadi ea, bisa hubungi di. WA O838 dan 4O65 sama 2485. Garansi sesuai Permintaan. Garansi Cepat 1 Hari Jadi. Garansi Harga Termurah. JasaEa ...

[index] [16582] [27680] [20496] [4305] [6939] [498] [1657] [18987] [7404] [28664]

99% OF BILLIONAIRES THINK LIKE THIS! - Learn How To Think ...

This video shows you how to screen for specific stock trade setups using the thinkorswim scanning tool These are essential strategies for stock traders and i... Hii ni Video inayoelezea Kwa Ufupi Jinsi ya Kufanya Uchambuzi wa soko la Forex kwa Kutumia Time frame Kubwa . Kama una maoni au Ushauri usisite Kutuandikia. Acha comment Yako . Pia waweza ... Live Forex Trading - EURUSD, AUDUSD, GBPUSD, NZDUSD, USDCAD, USDCHF, USDJPY UFX Trend Scalper 34 watching Live now What's the difference between Market Execution and Sell/Buy by Market - Duration ... Learn an efficient and clutter-free approach to organising your trading screens and charts for trading in Metatrader 4 (MT4) or Metatrader 5 (MT5). ️Watch more ... This is a channel for Forex(Metatrader 4) cool things like scripts,tips how to start them and other items. Information and content published on this website ... ROBOT EA FOREX TERBAIK , TESTING, CARA PASANG EA ... WA 081253691668 JANGAN LUPA LIKE DAN SUBSCRIBE . Loading... Autoplay When autoplay is enabled, a suggested video will automatically play next ... #Stocks #Trading #InvestingStop over complicating your trading. It doesn't have to be so confusing. Keep it simple!! Simple is profitable!https://www.livetrader... Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. In this video I share some of my top Tradingview Tips & Tricks. For more on how to use Tradingview check out my comprehensive guide. https://www.forex4noobs.... Learn how to think like a billionaire and never be poor again!! GET 2 FREE STOCKS at Webull VALUED UP TO $1400 : https://act.webull.com/kol-us/share.html?...

https://binaryoptiontrade.obnadpodingnodu.gq