// Base class for any catalog item
class CatalogItem {
constructor(name, description) {
this.name = name;
this.description = description;
}
render() {
const el = document.createElement('div');
el.className = 'product';
el.innerHTML = `${this.name}
${this.description}
`;
return el;
}
}
// Product class with price and ID
class Product extends CatalogItem {
constructor(name, description, price) {
super(name, description);
this.price = price;
this.id = Product.generateId();
}
static generateId() {
Product._lastId = (Product._lastId || 0) + 1;
return Product._lastId;
}
render() {
const el = super.render();
const priceEl = document.createElement('p');
priceEl.className = 'price';
priceEl.textContent = `Price: $${this.price.toFixed(2)}`;
el.appendChild(priceEl);
return el;
}
}
// Catalog class for managing products
class Catalog {
constructor() {
this.items = [];
}
addItem(item) {
if (item instanceof CatalogItem) {
this.items.push(item);
}
}
sortByPrice(asc = true) {
this.items.sort((a, b) => asc ? a.price - b.price : b.price - a.price);
}
filterByPrice(maxPrice) {
return this.items.filter(item => item.price < maxPrice);
}
render(containerId, items = null) {
const container = document.getElementById(containerId);
container.innerHTML = '';
(items || this.items).forEach(item => container.appendChild(item.render()));
}
}
Bespoke Trading Solutions
At White-label Prices
We build customized low-latency trading platforms with real-time trading functionality and custom features including:
Datahaus | iVest Plus | |
---|---|---|
Problem |
They wanted to create a trading platform based on Trading View but with bespoke functionality and incorporating elements of crypto trading.
|
They wanted to create a trading platform that featured an innovative line drawing tool that other trading platforms don’t have and many charting libraries don’t even offer.
|
Solution |
We worked collaboratively to brainstorm the best solutions and features on the market and built a comprehensive Front-end and Back-end platform.
|
We created a completely new complex annotation type with a lot of custom rules and bespoke features. In the end we created a completely unique trend tool for technical trading analysis.
|
Datahaus | |
---|---|
Problem |
They wanted to create a trading platform based on Trading View but with bespoke functionality and incorporating elements of crypto trading.
|
Solution |
We worked collaboratively to brainstorm the best solutions and features on the market and built a comprehensive Front-end and Back-end platform.
|
iVest Plus | |
---|---|
Problem |
They wanted to create a trading platform that featured an innovative line drawing tool that other trading platforms don’t have and many charting libraries don’t even offer.
|
Solution |
We created a completely new complex annotation type with a lot of custom rules and bespoke features. In the end we created a completely unique trend tool for technical trading analysis.
|
Let’s be clear, we are not
a SaaS Company
We are a highly specialized IT Services company and we are able to build trading solutions for our clients super fast because we use ready-made components from one of the best charting libraries in the world that we helped build!
As co-creators of Highcharts ↗ we have over 15 years of experience developing and delivering customized Stock Tools and Trading Solutions for over 170+ clients worldwide.
We’ll work with you to understand what you want to build, help scope your project, benchmark against the competition, collaborate on hi-fidelity designs before we even write a line of code to ensure that we deliver the best possible Trading Solution.