Web hosting

Monday, January 22, 2018

Learning Financial Trading, App Inventor Sample Applications, and More

- I've been trying to find a stock, options, futures, etc... market software simulator/game for a while now it's actually really difficult to find up to date software for this?
free stock market simulator games
open source stock market simulation games
Ask HN: Any material on algorithms for a stock exchange simulation game?
stock market simulator
options tradng simulator
options trading simulator excel
- that said, there seems to be plenty of plenty of trading platform options (in the cloud) out there though? Given the lack of options out there I've actually thought about building my own (am certain I can build something workable in a few hours? if you're wondering much of the work out there is limited, old, needs further development, etc...)?
java trading simulator
financial trading game github
- as in much in life, each trading platform normally has pros and cons to them
- the problem with using other people's trading platforms or AI is that you're often relying something more generalised. With most things generalised solutions are slower then something more specialised (though the latter code can break more often owing to it's nature)
- line between HFT, arbitrage, long/medium/short term investing, etc... blurring all the time...
- find safe stocks, calculate moving average then track
- the problem with using other people's trading platforms or AI is that you're often relying something more generalised. With most things generalised solutions are slower then something more specialised (though the latter code can break more often owing to it's nature)
- that said, it's not that easy to get at some of the data that you want sometimes. You need to download it on mass and then build a simulator. Given increasing use of social media for data feeds doesn't seem to be as much trend data as you'd want now? 
google trends
twitter trends
- you need to work a bit to get at some data (this includes RAW data and data that you can actually do something with)...
generate graphs from asx data linux
asx market data
Market Data Feeds
list asx codes
- if you're wondering there sometimes aren't equivalents options locally... Often you can't transfer strategies from one market to another...
penny stock trading equivalent australia
where can i trade penny stocks in aus?
- if you're wondering some people have noticed parallels between finance and sports betting markets... They basically bet/trade when there is an 'edge' traditionally in their favour... For instance, following guys similar theme to Anton Kreil. Traders losing out to machines. Sports betting, advertising, cryptocurrency markets still somewhat immature. Sports betting inherently leveraged. Can lead to massive gains, losses. This guy limited to basketball, football, tennis... Transferred ideas from financial markets to sports markets. Black-Scholes, binary options, machine learning, artificial intelligence, etc... In game as well as out of game trading. Careful not to distort markets. Betting infrastructure key to this market, connectivity everywhere. They've opened up their infrastructure to some bookmakers to avoid being 'shut out'?
Quant Trader Enters World of Sports Betting · Andreas Koukorinis
sports betting vs trading
studies sports betting
odds premier league win
- traders tend to have larger then average personalities... They often think their achievements extend far beyond the domain of finance?
George Soros Lecture Series - General Theory of Reflexivity
- one system never really works well over the long term. Risk management more important then trading strategies. Risk is known uncertainty. Gambing and uncertainty is completely unknown.
What makes a Great Trader Interview to Jack D. Schwager
- people want to deceive themselves into believing that they're special/different? At the end of the day not many really are and a limited few have actual opportunities to make use of it?
- given low interest rate environment and history of asset prices outrunning borrowing rates not a bad idea to to borrow to invest (provided ideas are sound). Like a professional trader, keep an eye out for things going south though. Hedge your bets where you can...
- lots of correlations options out there but most of them want something in a particular format already. Also, the usual problem. Lot of them require extensive framework to be installed alongside the actual code in question itself. R doesn't seem 'too bad'... Line between HFT, arbitrage, long/medium/short term investing, etc... blurring all the time... A lot of well known strategies out there...
basic correlations github
correlation futures markets and asx
While overnight trade in futures is a better guide to the early direction of the ASX trading session, it does also predict to some degree which direction the market will have moved by close.

Exclusive research by Fairfax Media, using Bloomberg data, shows overnight trade in the ASX 200 futures contract has predicted the direction of the benchmark index the following day about 60 per cent of the time over the past five years.

So far this year, the day's trade on the ASX has followed the overnight futures lead only 55 per cent of the time. The equivalent figure in August and September is even lower, at 43 per cent of the time in each of the months.
Burton says it's important to understand how the VIX is determined.

"Volatility is a description of price movement against time. That is, if price moves one unit and time moves one unit then this value of volatility can then be used as a context of future price/time calculations. As the market continues to move, if the price moves two units and time moves one unit then in context the volatility can be said to be twice as high as the previous value."

He explains the index is measured as a value between one and 100. A low volatility measure is considered to be below 15 and a high VIX is when the index reaches 20 or above. "Prior to the GFC the highest value for the VIX was 38 per cent. But during the crisis VIX values exceeded 68 per cent as markets made lows in 2008."

Burton notes there are several other types of volatility measuring tools within the investor's toolbox. "Bollinger bands, developed by John Bollinger in the early 1980s, measure the deviation of price from a 20-day moving average. This method has been very successful as a method of anticipating future volatility. It is john Bollinger's tenet that 'low volatility leads to high volatility' and the reverse applies as well."
- there are a lot of well known strategies out there. It's obvious how some of the algorithmic traders work after you watch for a a little bit. Charting in nowadays is basically about taking whatever scraps are left over from the major institutional investors? It can never really beat the market, it can only trail it?
pattern asx
- interesting because they're all doing the rough same thing. About 15-20%. 2008 only loss year. Started out arbitrage based on research news, then insider information, etc... Rings of traders sharing insider information for trading? A lot of people work around the existing legal framework?
Steven Cohen - Bending rules, making billions · Sheelah Kolhatkar
In 2008, he was inducted into Institutional Investors Alpha's Hedge Fund Manager Hall of Fame along with David Swensen, Louis Bacon, Seth Klarman, Kenneth Griffin, Paul Tudor Jones, George Soros, Michael Steinhardt, Jack Nash, James Simons, Alfred Jones, Leon Levy, Julian Roberston, and Bruce Kovner.[79]
Firms across finance are developing automation technologies to help their business. At Bridgewater Associates, the world’s largest hedge fund, a key project underway involves developing algorithms based on employee data to help automate management decision-making. JPMorgan Chase & Co. is investing in automated technology to streamline systems. One program, called COIN, for Contract Intelligence, interprets commercial-loan agreements that once consumed thousands of hours of work each year by lawyers and loan officers.

Cohen’s efforts come as Point72 suffered along with other multimanager firms by posting a 1 percent gain last year. The performance was a rare setback for the trader, who at SAC averaged returns of about 30 percent annually and posted only one losing year, in 2008. SAC was forced to stop managing money for clients as part of a $1.8 billion insider-trading settlement with the government four years ago.
- most of the guys 'doing well' seem to have been involved in some form of insider knowledge unless they've done something radicaly different? Even those who are 'technically clean' could be accused of having inside type information? Trade isn't fair. If you understood some of what was happening you would laugh? A lot of people in life are in a position to be able to do something about their knowledge to make profitable trades (if they had savings (or borrowed) and thought about it a little)?
soros inside trading
buffett insider trading
ray dalio insider trading
- what I'm finding in this field is that you need to invert your way of thinking? Assume everything is a lie and then find the truth from within this mollasses rather then the conventional wisdom of most people which is the opposite? This area is  nothing like you'd expect
- this is the 'core essence' of trading...
Maybe that's a bit harsh. Lots of people make a great deal of money out of trading on the stupidity of others. And perhaps there is an element of rational thought in trying to capitalise on an asset bubble.
Blockchain explained: the technology behind Bitcoin
Video: Blockchain explained: the technology behind Bitcoin (Lateline)

You just don't want to be caught holding the fireworks when the fuse runs out, when everyone realises at pretty much the same time that they've been stupidly paying way over the odds.
- the hedge fund managers are the 'big earners'. Executive renumeration is nothing compared to them? Concentrated in the US because that's basically where world's finance capital is, better access to information, integration into military industrial complex, better education, they trade in multiple ways, etc... It's mainly marketing/salesmanship where most of the 'big name' fund managers make money. Technically, they're not that 'far ahead' of others? If they can convince others that they're much more special then others that's how they get more 'Funds Under Management'. $1 Bn USD is the mark where you are considered to have 'made it'... Human lives are rediculous? Branson once said that if your product is decent then it's a case of marketing. Do anything to do what is required
Chronic difficulty and failure raising assets - Why 89% of all hedge funds never get over $100m
How do Hedge Fund Managers Make So Much Money
Wall Street Warrior-  Guy de Chimay, The Portfolio Manager (Hedge Fund Manager)
- finance does the job of confusing life perfectly? If the elite came up with the idea to muddy and confuse things for the rest of the populations it's done the perfect job?
- at times it feels like the US has already been cornered and doing what certain other 'rising countries' want?
Meet Danny Yong, Asia's rising hedge fund titan
'US hides real debt, in worse shape than Greece'
- given volume of trade that is now algorithmic and institutional you can have a rough idea of when and where they will profit take by examining historical data (most reset their AI/neural networks reguarly/periodically though)?
- this is what's so interesting about the US/West versus rest of the world dichotomy. The US/West thinks that the world revolves around them and vice-versa? Why is it called 'convential medicine' if only a minority use it?
The World Health Organization estimates that between 65 to 80 percent of the world’s population, over 4 billion people, rely on alternative medicine as their primary form of health care compared to only 10 to 30 percent of people who use conventional medicine. 
- region of uncertainty is where spceulators/manipulators/insiders have the inside running (in finance, business, life, etc.... Those who aren't used to this game are in trouble. They need to just make the call to break away from conventiality if they see an 'honest opportunity'?
- you can basically use standard linear relationship to analyse basic stuff from the data outlined in this post...
calculate days between two dates bash
date -d 'now + 3 weeks'
date -d 'now + 3 weeks' +%d-%m-%y
- P/E of global index to get overall idea of world economy/bubbliness?
- most ideologies/philosophies are mechanisms through which to justify different people exploiting one another for certain reasons?
Kuwait has faced criticism in the past over its "kafala" system for foreign workers which has been likened to a form of bonded labour or even slavery.

The kafala system prevents workers from moving to a new job before their contracts end without their boss's consent, resulting in a wide range of abuses.

The Gulf state is a major destination for migrant workers with the Kuwaiti government estimating that more than 170,000 Philippine nationals live there. Other groups have far higher estimates.
- there's hardly anything 'free' about the world economy when it comes down to it. Look deeper...
History did mark Gekko's words, and they were wrong.

Twenty years later, the greed of Wall Street brought us the global financial crisis which nearly destroyed not just the US economy, but every economy in the world.

Where there is easy money to be made, one of the hardest things to do is keep greed under control.

It is the human condition to want more.

- continuation of my research into Mobile Application development:
- like I said previously very few people out there genuinely make money from mobile applications based on what I've seen? There seem to be some companies who have created code to allow integration of their advertising systems into App Inventor applications...
app inventor monetisation
- I've been looking for more sample code and have been investigating multiple types of applications...
app inventor rss reader
app inventor rss reader aia
Displaying web pages in your Android apps
app inventor gps tracker
building music player app inventor
Creating a Music player
flappy bird aia file
- the irony with a lot of sample code is that you often end up re-using very little of the original code a lot of the time. All you end up using is the 'basic structure'. Most of the core elements completely change in anything you subsequently build if you want to build something geuninely useful...
app inventor sample
app inventor sample games
for i in $(lynx -dump "https://sites.google.com/a/marist.com/michaudcoecsummer2017/mobile-applications" | sed -r 's/^.*http/http/' | grep pdf); do wget -c "$i"; done
calculator aia andoid
games android aia
games aia android
games aia apk
aia android github
blogger apk aia
- apparently, a version for iOS is coming down the line...
app inventor crowdshare
Help App Inventor launch on iOS!
- I've actually been looking for an option to Appify this blog and website but there just aren't that many options. Lot of dead links online now
app inventor blog
for i in $(lynx -dump "http://www.appinventor.org/bookFiles" | grep "http://www.appinventor.org/bookFiles" | sed -r 's/^.*http/http/'); do wget "$i"; done
app inventor aia files torrent
“Siri” for Android, written in App Inventor
torrent android sample projects
- if you don't already know Xamarin is now free...
- funnily enough, educational courses are none of the places where you can find heaps of sample code/ideas. Amazing thing about crawlers is that you often don't expect what they end up finding...
app inventor mpc
wget -c --recursive --no-clobber --convert-links --domains sites.google.com https://sites.google.com/site/kkalantariapps/
- nothing on Github or Sourceforge really...
app inventor aia github

Random Stuff:
- as usual thanks to all of the individuals and groups who purchase and use my goods and services
- I've done remastering/respinning type work before but have been interested in super tiny, custom distros of late. Didn't realise until recently that Damn Small Linux had basically been shut down...
apt-get purge $(dpkg-query -Wf '${Package;-40}${Essential}${Priority}\n'|awk '$2 ~ /nooptional|noextra/ {print $1}'|grep -v -E 'anacron|busybox|initramfs-tools|insserv|klibc-utils|libklibc|libsemanage-common|libsemanage1|libustr-1.0-1|libuuid-perl|linux-base|linux-image')
linux web central management interface
- obvious solution would be to build over or have a 'gate' of some sort in part/s of of the bridge? Russians have done similar things in the past...
- latest in science and technology
- latest in finance and politics
- latest in defense and intelligence
China Dismisses Allegations of US F-35 Stealth Fighter Data Theft
SDF scrambled fewer jets against Chinese aircraft
- latest in animal news
- latest in music and entertainment

Random Quotes:
- The deal must still be approved by the U.S. government, which originally sold the F-18s to Australia and retains control over the transfer of such arms.

During question period Tuesday, Conservative Leader Andrew Scheer blasted Prime Minister Justin Trudeau's plan to buy old, second-hand aircraft that are of a similar vintage to the planes the government is replacing.

"If the prime minister is so keen on buying fixer-uppers, will he come over?" Scheer quipped. "I have an old minivan I would love to show him."

But it was the Conservatives themselves who made a hash of the fighter-jet file and created the need for an interim fleet, Trudeau retorted.

Gen. Jonathan Vance, Canada's chief of the defence staff, was also on the dais at Tuesday's news conference alongside Qualtrough, Sajjan, Transport Minister Marc Garneau and Economic Development Minister Navdeep Bains. The Australian aircraft are safe and will meet Canada's needs, he insisted.

"Make no mistake, these aircraft will work fine and those aircraft are very much needed," Vance said. 

The decision to walk away from the interim Super Hornets — which carried an estimated price tag of $6 billion — was hardly a surprise, considering the government's recent anti-Boeing rhetoric. But it remains to be seen how Boeing will be impacted by the economic-interest test, since the Chicago-based aerospace giant has major operations in Canada.

Boeing has already made it clear it's eager to enter the Super Hornet into the competition, despite its chilly relations with Ottawa over Bombardier. Qualtrough said the competition would be transparent and open to all, and that the new test will apply to all major military purchases in future.

But the ministers didn't dispute the notion that Boeing could be already at a disadvantage.  

"The purpose of this new policy is to clearly demonstrate that anyone that wants to engage Canada, if they cause economic harm, will be at a distinct disadvantage," said Bains.

"That's the objective. This is really about our national interest. Our economy. And good-quality jobs in Canada."
- On Wednesday morning, an angular object roughly 3ft (1 meter) across fell onto a sports field packed with elementary school children near the Futenma US military base in the Japanese prefecture of Okinawa. The object was discovered to be a helicopter window, complete with the frame, that had fallen off an American CH-53 aircraft flying above the school grounds.
Read more
One 10-year-old boy, out of some 50 children who were assembled in the sports field, was slightly injured in the incident, Reuters reports, citing a prefecture official. The exact cause of his injuries was unclear.

Three US helicopters were flying over the school at the time of the incident, according to Japanese media. They also report that there were around 30 children in the schoolyard and that the boy suffered an injury to his left hand. 

The US Marines have admitted helicopter window fell on a children's sports ground, but have not clarified exactly how it happened. The US military also apologized“for any anxiety it has caused the community” and said an investigation into the “regrettable incident” is currently ongoing.

Last week, a US military aircraft dropped an object while flying over a nursery school in the same area. In October, the Japanese Defense Ministry vowed to ground all flights by CH-53E transport helicopters in Okinawa for an "indefinite period," after one of the aircraft crashed on the island.

Such incidents, as well as frequent scandals involving US military staff, have led to large-scale protests from locals and officials who are unhappy at the American military presence on Okinawa. The southern island hosts half of the 100,000 US personnel deployed to Japan, including 54,000 military personnel, 42,000 dependents, and 8,000 civilian employees of the Department of Defense.
- NATO should have been disbanded the day after the Warsaw Pact was.
You've been deceived by NATO brainwashing. It's the Warsaw Pact that was formed years afterwards in response to the NATO threat, not the other way around.
As such, NATO's original aggressor mission to "drive to the east" and export pro-American dictatorships still stands.
- You can think of FSOC as functioning similarly to fiberoptic cable, using beams of light to carry information over huge distances in the blink of an eye. The big difference with FSOC though, is that there is no actual cable, which means there’s no need to dig tunnels or stretch wires across rivers or mountains. Instead, the Google parent company says small FSOC boxes will be installed on elevated structures like poles or roofs and rely on direct line-of-sight in order to transmit data up to 12 miles in a single hop.
- Colonialism, slavery, or the caste system -- whatever may be the systems that have been used to oppress, humiliate, subjugate, monetize, and control humans continue to show very real scars visible in society all over the world today. Considerable, generational damage takes a long time to repair and in India, this is most visible in the shattered confidences amongst its poor and unprivileged.

So it's not surprising to hear NavGurukul's founders say that the biggest challenge they encountered in skilling their wards was in trying to reverse the lack of self belief. Along the way, students at NavGurukul also receive the benefits of a counsellor, learn meditation and yoga, and are exposed to the worlds of gender and LGBT rights via guest lecturers.
- Russia is in Syria with the consent of the legal government the US is not. How can they carve out "their deconliction zone" over someone elses country?
What about these so called international laws that the US always reckons everyone else is breaking.
- The Coming War on China, which I completed last year, has been broadcast in the UK, but not in the United States – where 90 percent of the population cannot name or locate the capital of North Korea or explain why Trump wants to destroy it. China is next door to North Korea.
- “Death is the destination we all share; no one has ever escaped it. Death is very likely the single best invention of life. It is life’s change agent. It clears out the old to make way for the new.” ― Steve Jobs
- Back in 2008, a team of scientists from Scotland and Japan literally bumped into a group of sperm whales drifting vertically close to the surface of the water. The mammals were so immersed in a state called "drift diving" that they didn't even respond to the presence of the passing boat. By observing the whales, the researchers onboard found they spend just seven percent of their day napping, for bursts of around 10 to 15 minutes each time.

Half-awake but sleeping
Such modest slumber make sperm whales the species least needy of sleep on the planet, dethroning giraffes who spend some eight percent of their day in slumber. Humans would likely not be able to live like that. When we sleep, we do so for several hours in a row. The reason is that we are involuntary breathers, which means we can count on our ability to breathe automatically.
Whales, on the other hand, have to think about every breath they take. Scientists believe they sleep with one eye open and one half of their brain awake, not only to control their breathing but also to ensure they can avoid predators, maintain social contact or continue swimming. The phenomenon is called unihemispheric slow-wave sleep and has also been recorded in whales living in captivity.
- “While one is being imprisoned for stealing two eggs, those who stole millions go unpunished,” Aznavour, who is, for the record, Armenia’s Ambassador to Switzerland and UNESCO, told the French publication Nouvelles d’Armenie. According to AzerNews, he warned that if this keeps up, Armenia may disappear one day, and the leaders of the country will be responsible for this.
- AN Islamic preacher has taken beardless shaming to the next level and has warned men who don’t have one they are causing “indecent thoughts” in other men.

Turkish preacher Murat Bayaral made headlines after saying clean-shaven men sometimes “cannot be distinguished from women” and can cause “indecent thoughts” in other men, according to Hurriyet Daily News.

The firebrand preacher also said the beard is “one of the two body parts that separate men from women”.

“For example, if you see a man with long hair from afar you may think he is a woman if he does not have a beard,” he said.
- Fitts also says, “Here’s the magic trick. You don’t need everybody to change this.  It only takes 5% to 10% of the population to completely turn this around.  It doesn’t take everybody, and that is one of the things that has got them so scared. . . . We don’t need to implode the federal government.  We need to take it back, clean it up and get it to run according to the law.”
- It’s no surprise ending estate tax was a Trump/Republican goal. It’s what you’d expect of a plutocracy.  The Senate compromise has been to double the threshold to US$11 million. Not for the first or last time, a John Kenneth Galbraith’s dictum comes to mind: "The modern conservative is engaged in one of man's oldest exercises in moral philosophy; that is, the search for a superior moral justification for selfishness."
- This is typical Bloomberg, I mean, this is Bloomberg representing the voice of financial investors. So obviously they are going to be antithetical to anything [related] to socialism, because socialism means social ownership, collective ownership and Bloomberg and the private sector are based on private ownership, they are based on a private rule of gains. But, of course, when you see the financial system crashing, they want to socialize all of the losses. So, they socialize the losses, but privatize the gains. That's what Bloomberg stands for. One reaction to that is the rise of left-wing socialist movements. You have lots of examples of this, of people saying: "We've had enough of neo-liberalism, we want a much fairer system."
- Study some years ago said SLEP alone would be $2-5M per 300hr of extension. Do the math...and we havent gotten around to new radar arrays etc plus the other stuff.
- Communists want all industries to be state-owned. No member of the public can own property under communism. Can you imagine that? They probably think that they are only after the interests of the public and want everyone to have equal opportunity for all, but that will only happen in an ideal world. The reality is, a lot of people who get a taste of power tend to get overcome by greed. Throughout history, those who promised to distribute wealth, instead, kept most of the wealth to themselves, leaving the public in even worse condition because they do not own anything. Likewise, those in power prefer to keep the power within their own family and circle of friends. They can do this by appointing their own children and allies as successors. The public will have no choice but to accept the decision of the communist party because there are no elections under communism. The people will not have a say in who runs the government in this scenario. And with Philippine society’s penchant for patronage politics, such a system will not even raise eyebrows. This will not help foster an egalitarian society at all especially when the general public can only have what is given to them. This scenario will not foster excellence because there is no competition. Only in an environment where people compete can innovation thrive.
- His signature on the portentous document testified: “Our founding principles have made the United States of America among the greatest forces for good in history… Around the world, nations and individuals admire what America stands for. We treat people equally and value and uphold the rule of law.”

Such lofty claims seem to be only true in the febrile imagination of American officialdom.
In reality, America’s virtuous pretensions are seen increasingly to be a ridiculous sham, flagrantly contradicted by its boorish, thuggish behavior.

There was a time perhaps when the US could command global leadership. That self-declared global authority was always over-rated, but there was a veneer of plausible appearance and credibility in Washington’s claims.

Now, Washington sounds like a pathetic, deluded narcissist, exposed by its own blatant contempt for the very principles it espouses to uphold: democratic rights, free speech, the rule of law.

This week at the UN General Assembly, the United States is no longer a world leader. It is more like a rogue state whose delusional greatness is belied by sordid acts of bribery, bullying, and intimidation. A tyrant whose time is over.

Most telling is that Washington’s threats of intimidation and “name taking” no longer have power. The threats are seen as just more bluffing and puffing by a washed-up superpower.

Cheesy Tomato Based Pasta Recipe, Adding Subtitles to Video Files, and More

This is the latest in my series on quick, easy, and tasty meals:   http://dtbnguyen.blogspot.com/2018/08/cheapeasyhealthy-tomato-based-pa...