Share trading sites

REAL TIME PRICES USA (and more)
https://finance.yahoo.com/
https://www.investing.com

HISTORIC PRICES
https://finance.yahoo.com/
https://www.investing.com

BEST STOCK API
https://finance.yahoo.com
The best API for real time stock prices that I have found. To see which countries they have quotes to, visit: http://www.jarloo.com/yahoo_finance/
and to see which are in realtime or not visit: https://help.yahoo.com/kb/finance/SLN2310.html

Another alternative:
https://www.google.com/googlefinance/disclaimer/

BEST API FOR INTRADAY QUOTES
https://chartapi.finance.yahoo.com/instrument/1.0/AAPL/chartdata;type=quote;range=1d/csv
You can get quotes for up to 15 days.
Other sources:
https://www.bloomberg.com/markets/api/bulk-time-series/price/ERICB:SS?timeFrame=1_DAY
Here are a few more: https://www.quantshare.com/sa-426-6-ways-to-download-free-intraday-and-tick-data-for-the-us-stock-market

For swedish shares this can be an alternative:
https://www.nordnet.se/mux/popups/marknaden/aktiehemsidan/avslut.html?containerid=avslut&identifier=10751&marketplace=11&limit=100000
But that is not through an api.

BEST STOCK SCREENER FOR US SHARES
https://www.trade-ideas.com/
Haven’t tested it yet but seen it many times when used by Ross in Warriortrading. Not sure if this works with European shares. Costs around 100 dollars each month.

Some free alternaves are:
http://finviz.com/screener.ashx?v=111
Stock screener. Here you can find shares based on for example the average trade volume each minute.

and

https://finance.yahoo.com/screener/new
A good site for find specific shares for example the lowest or highest in volume and for example in the Small Cap-list. Many different filterings.

BEST STOCK SCREENER FOR EUROPEAN SHARES
https://uk.investing.com/stock-screener/?sp=country::9|sector::a|industry::a|equityType::a%3Ceq_market_cap;1
Some other are:
https://www.google.com/finance?ei=gGrnWLD4JszEswHj6ZyQCQ#stockscreener
and
http://stockscreener.uk.reuters.com/Stock/UK/Index?quickscreen=gaarp

BEST WHEN IT COMES TO CHARTS
http://www.esignal.com/
Charts, backtesting and scanning. Costs around 150 dollars each month. Haven’t tested it yet but seen it many times when used by Ross in Warriortrading. Not sure if this works with European shares. If not then InFront may be a good alternative.

BEST SITE FOR LEVEL 2 SHARES IN USA
The best I have found to see order books/market depth:
https://bats.com/us/equities/market_statistics/book/AAPL/
But I need to find a better one.  https://www.scottrade.com/ seems to have this service for 10 dollars each month but you then need to be an american citizen.

BEST DAY TRADING COURSE
https://www.youtube.com/user/DaytradeWarrior
This channel seems to have a good day trading course for free. The owner Ross seems to be very legit. He also show how he starts with 583 dollars and raise it day by day on SureTrader.

BEST TRADING FORUM
http://www.trade2win.com/boards/
The best trading forum I have seen so far, but I suppose there are a lot more good ones out there.

BEST STOCK SIMULATOR
http://www.fantasystocktraders.com/
Compete in paper trading. Real time quotes with level 2. But costs around 100 dollars each month. Haven’t tested it yet but seen it a few times when used by Ross in Warriortrading. Probably only for american shares.

 

BEST FREE DEMO SITE WITH CANDLESTICS AND GLOBAL MARKETS
https://app.plus500.com/
Really fun but I have a lot to learn before using real money

NEED TO FIND:
– A great api for stock shares with order books/market dephts
– A great site for order books/market depths in Europe and USA with real time quotes.

 

 

Check out:

http://quant.caltech.edu/historical-stock-data.html
They have a lot of good links.

http://www.netfonds.se
Seems to have an api. I emailed them and NGM is free! 🙂

http://quotes.freerealtime.com
Seems to have some good services. For example charts, and also level 2 if you pay some. Seems to have a 7-day tryout.

 

https://www.ig.com/
A lot of cfd trading to check out later. You can test with a demo account. Also has an API for cfds.

https://www.millistream.com/
They have some services for real time prices with an api. I emailed them but they are a bit expensive.

http://tradenode.com/
They have some services for real time prices with an api.

http://financial.thomsonreuters.com/en/products/data-analytics/market-data/real-time-market-data.html
Seems to have a feed with market data from a looot of countries.

http://www.euroinvestor.dk
Seems to have historical share prices and also real time prices. I emailed them but they do not have an api unfortuately.

SERVICES THAT I HAVE READ ABOUT AND FOUND INTERESTING AND WHICH MIGHT BE USED LATER:

 

https://www.zacks.com/screening/stock-screener
Stock screener for UK shares

 

 

 

OTHER USEFUL LINKS
https://www.nordnet.se/mux/popups/marknaden/aktiehemsidan/avslut.html?containerid=avslut&identifier=10751&marketplace=11&limit=100000
Will give you all the trades for a Swedish share.

EPiServer Search

Also called the EPiServer Full Text Search/EPIServer FTS.

In web.config there should be something like this:

<add name=”localIndex” baseUri=”http://mysite.local/IndexingService/IndexingService.svc ” accessKey=”local” />

 

Be sure that the url contains your url.

Also there is a hidden url for updating the index:

http://www.xxxx.com/EPiServer/CMS/Admin/IndexContent.aspx

 

More info

http://sveinaandahl.blogspot.se/2013/06/how-to-install-episerver-search-for.html

Syntax highlighter in WordPress

 

If you need some code highligthning test this

[ sourcecode language=”csharp” ] (without spaces)
Your code
[ /sourcecode ] (without spaces)

This will make the code look similar to this:


public ActionResult SomePage()

{

var model = new SomePageModel();

return this.View(null, model);

}

You can also try:

[ code language=”csharp” ]
your code here
[ /code ]

This will make the code look similar to this:

public ActionResult SomePage() {
var model = new SomePageModel();
return this.View(null, model);
}

 

 

Read More

https://en.support.wordpress.com/code/posting-source-code/

Paging with filters in Umbraco 7

In the controller:

public ActionResult SomePage()
{
var model = new SomePageModel();

return this.View(null, model);
}

protected ViewResult View(string view, SomePageModel model)
{
var search = QueryString&amp;amp;amp;lt;Int32&amp;amp;amp;gt;.Value(&amp;amp;quot;search&amp;amp;quot;, 0);
var county = QueryString&amp;amp;amp;lt;string&amp;amp;amp;gt;.Value(&amp;amp;quot;county&amp;amp;quot;, string.Empty);

var result = base.View(view, model);

model.SearchFormVM = new SearchFormViewModel(CurrentPage, model, true);

if (search == 1)
{

IPublishedContent someContainer = model.Umbraco.TypedContent(model.RootModel.SomeContainer);

var nodes = someContainer.Descendants(&amp;amp;quot;Somepage&amp;amp;quot;).Where(x =&amp;amp;amp;gt; x.IsVisible());

var filteredNodes = nodes.Select(x =&amp;amp;amp;gt; new SomePageModel(x));

if (!string.IsNullOrEmpty(county))
{
filteredNodes = filteredNodes.Where(x =&amp;amp;amp;gt; x.County == county);
}

model.SearchFormVM.SomePages = filteredNodes.OrderByDescending(x =&amp;amp;amp;gt; x.CurrentPage.CreateDate).ToList();
}
else
{
model.ShowForm = true;
}

return result;
}

In the view:

<h1>@Model.Header</h1>
<div class="search-form">

@if (Model.ShowForm)
{
@Model.BodyText

using (Html.BeginUmbracoForm<Namepace.Controllers.SearchFormSurfaceController>("HandleFormPost", new { @role = "form" }))
{
<div class="form-group">
<label for="SearchFormVM.County">County</label>
@{
<select name="SearchFormVM.County" id="SearchFormVM.County" class="form-control">
<option value="">All</option>
@foreach (var item in @Model.SearchFormVM.CountyData)
{
<option value="@item.Id">@item.Value</option>
}
</select>
}
</div>
}

</div>
<button type="submit" class="btn btn-default btn-success">Search</button>
}
}
else
{
var pageSize = 20;
var page = 1;
int.TryParse(Request.QueryString["page"], out page);
var items = Model.SearchFormVM.SomePages;
var totalPages = (int)Math.Ceiling((double)items.Count() / (double)pageSize);
<div class="search-result">

@if (items.Count < 1)
{
No result.
}
@foreach (var somePage in Model.SearchFormVM.SomePages.Skip((page - 1) * pageSize).Take(pageSize))
{
<div class="row search-result-row">
<div class="col-md-7">
some data

</div>
<div class="col-md-5">
<a href="@somePage.Url">
<h3>@somePage.Header</h3>
</a>
<h4>County:</h4>
@somePage.CountyString

</div>
</div>
}

@{
var nextPage = page + 1;
var queryStringsInPager = string.Empty;
foreach (string key in Request.QueryString)
{
string value = Request.QueryString[key];

if (!String.IsNullOrEmpty(value))
{

if (key.ToLower() != "page")
{
queryStringsInPager += "&" + key.ToLower() + "=" + value;
}
}
}

}
@if (items.Count > pageSize)
{
<ul class="pagination">
@if (page > 1)
{
	<li>
<a href="?page=@(page-1)@queryStringsInPager"><</a></li>
}
@for (int p = 1; p < totalPages + 1; p++)
{
var active = (p == page) ? " class=\"active\"" : string.Empty;
	<li @Html.Raw(active)>
<a href="?page=@p@queryStringsInPager">@p</a></li>
}
@if (page < totalPages)
{
	<li>
<a href="?page=@nextPage@queryStringsInPager">></a></li>
}</ul>
}



<a href="@Model.CurrentPage.Url">New search</a>
</div>
}
</div>

 

In the SurfaceController

[HttpPost]
public void HandleFormPost(SomePageModel model)
{
var page = QueryString<int>.Value(“page”, 1);

string longurl = CurrentPage.UrlAbsolute();
var uriBuilder = new UriBuilder(longurl);
var query = HttpUtility.ParseQueryString(uriBuilder.Query);

query[“page”] = page.ToString();

query[“search”] = “1”;

if (!string.IsNullOrEmpty(model.SearchFormVM.County))
{
query[“county”] = model.SearchFormVM.County;
}

uriBuilder.Query = query.ToString();
longurl = uriBuilder.ToString();

Response.Redirect(longurl);
}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Validate on client side that a user has checked the Google Recaptcha checkbox

This is just to see if the user has checked the check box for Google Recaptcha v2.0. You really need to have a better server side validation too!!

First set an id on your form (for example id google-response-form), then:

$(function () {
$(“#google-response-form”).submit(function (event) {

var $gcheck = $(‘#g-recaptcha-response’);
var googleResponse = $gcheck.val();
if (googleResponse === “”)
{
alert(“Verify that you’re not a robot”);
event.preventDefault();
}
});
});

 

More info

http://stackoverflow.com/questions/28602777/asp-net-mvc-4-set-onsubmit-on-form-submission