Completed

NodeJS Listener as Forward Testing Server + Dashboard

Requirements:

1. Authenticated Users for Strategy Creation Panel.

2. APIKEY to receive/parse inbound requests.

Server Backend:

1. User Administration

- basic simple username/password

- ability to add/create/modify/delete (CRUD) users

- simple ACL so that users can only view rows/columns that their "account" is allowed. For instance, username=JohnDoeForex can see all tables with "account=JohnDoeForex".

- this is a manual parameter that can be input during user creation.

2. Strategy Panel

- ability to CRUD strategies.

- each strategy consist of the following:

CORE parameters

- user : {text}

- strategy_name : {text}

- slippage : {percentage}

- commision : {number}

- symbol : {text}

- validity_period : {range/timestamp}

OPTIONAL parameters (depending on how server is coded to handle state checker)

- status : active/inactive {text}

- direction : LONG / SHORT {text}

- entry_price : {float}

- exit_price : {float}

- realized_pnl : {float}

- trade_id : {text}

The reason why its OPTIONAL is heavily dependent on how the server is coded to handle incoming requests and update accordingly.

Database:

1. Strategy table (to store the strategies)

2. Historical_trade table (to keep track of active positions, closed positions)

3. User table (username, password, description)

Workflow:

1. Basically, I will be sending LONG/SHORT signals from Tradingview to this server. The format of the JSON payload will be as follow:

POST http://serverip/enterPosition)

{

"user" : "JohnDoeForex",

"apiKey" : "some-hash-text",

"strategy" : "EURUSD-M1",

"direction" : "LONG",

"entry_price" : 1.2,

"size" : "10"

}

The way it works is, once a trade is initiated, all subsequent trades are reversals. For instance:

LONG (1st) -> SHORT (2nd) -> LONG (3rd) -> SHORT (4th) -> close_all

Because the markets are trading on a 5x24 per week, all trades will be in reversal mode after the first trade opens during validity period. For instance,

actual trading period starts from Monday 12AM UTC till Friday 10PM UTC every week. We will set the validity period at Monday 1AM UTC till Friday 9PM UTC.

Basically for the first hour and last hour of the trading week, no new trades can be entered (not keeping positions over the weekend).

The signals could probably send a buy/sell signal during that +1/-1 hour off the validity period, but the server should not enter anything into the database.

2. As the JSON payload arrives at the server, the server should enter into the historical trades section with a unique trade_id and maintain the state of

the strategy.

When a new trade comes in :

account | strategy_name | trade_id | direction | entry_time | entry_price | size | exit_price | exit_time | realized_pnl

JohnDoeForex | EURUSD-M1 | {hash1234} | LONG | {{current time}} | $1.2 (1.2 + 0.5% slippage for LONG) | 10 | na | na | na

When a reversal trade comes in:

1. Add data to existing trade ID and close it, calculate PNL

JohnDoeForex | EURUSD-M1 | {hash1234} | {{previous time}} | 1.206 | 10 | 1.3 | {{current time}} | (1.4-1.2)*size = 2 (and then minus commision = final number)

2. Create new trade ID and repeat:

JohnDoeForex | EURUSD-M1 | {hash8888} | SHORT| {{current time}} | $1.393 ($1.4 -0.5% slippage for SHORT) | 10 | na | na | na

Dashboard:

1. I want a dashboard where historical trades can be filtered and searchable by user, or strategy name, tickers, trade_id or by direction.

The search filter will basically show the historical tradess and the realized PNL of each trade.

Users can only view their forward tested tradess that matches their username in the strategy.

Please read through this and let me know if you have any questions. I will spin up a Ubuntu server and give you the login so you can start working directly there.

A github repository is also recommended for future updates.

Skills: Node.js, JavaScript, AngularJS, NoSQL Couch & Mongo, Python

See more: flash testing server, specify testing server site dreamweaver, smartfox server system requirements, setup testing server php dreamweaver, testing server dreamweaver, forward url server, testing server linux virtualized, dreamweaver cs3 testing server setup, local machine testing server software, dreamweaver setting testing server, set local machine testing server, set testing server dreamweaver, open suse server system requirements, datasource performance point server dashboard designer, windows server dashboard, server dashboard php, setup voip server asterisk requirements, forward email server linux, setting phpfox testing server, testing server speed script

About the Employer:
( 3 reviews ) HOUSTON, United States

Project ID: #29519167

Awarded to:

xueyin

hello, I have rich experiences with mean stack, and I have carefully check your job description, your requirement are easy enough for me, and I am sure I can complete it in less than 2 or 3 days, hope you interivew me More

$250 USD in 3 days
(2 Reviews)
3.8

10 freelancers are bidding on average $682 for this job

seekdeveloper

Hi, I have read your post and understood your requirement. Looking for the freelancer to work on your next project? Or just need some issues/bugs/fixes ASAP? I have 11+ years of software experience in fortune 500 com More

$750 USD in 10 days
(37 Reviews)
8.0
techplusintl

Hi there, ★★★ MEAN Stack Expert ★★★ 6+ Years of Experience ★★★ I've read requirements and ready to work on your project. Websites we built with MEAN Stack: ✔ [login to view URL] ✔ [login to view URL] More

$750 USD in 7 days
(71 Reviews)
6.9
daydreamsofthiru

Hello, ****** Relevant example : [login to view URL] [login to view URL] [login to view URL] [login to view URL] This example demonstrates my command over Node .JS, Angular .JS, HTML, Java More

$500 USD in 7 days
(13 Reviews)
6.0
bozokrkeljas0504

Hi, Nicholas. I read your long description well. I can work on your project well. I am a NodeJS and VueJS programmer. I had already developed some projects with NodeJS. I can manage on system backend. And i am using a More

$2000 USD in 20 days
(3 Reviews)
5.5
baltickriscoder

-------------------------------------------------------------------------- Dear Client, Nice to meet you. I have just read your requirements and so interested in your job. I am full-stack developer with 8+years rich ex More

$500 USD in 7 days
(26 Reviews)
4.8
zeeshan411

Hi There! With more than 10 years of experience, I had build tons of responsive SEO optimized web sites from scratch or or based on famous CMS's like WordPress, most PHP CMS's, and Custom Website using PHP (Laravel, C More

$570 USD in 7 days
(10 Reviews)
4.8
DmitriiTols

Hello client! I am very interested in your project. I have 5+ years experience in web development with MERN, MEAN, MEVN stack. I am sure that I can satisfy any requirements with my skill and experience. My Technical More

$500 USD in 7 days
(12 Reviews)
4.4
zimenkoilya2

✨⭐⭐ Dear Employer ⭐⭐✨ I have just read your job posting and read your requirements with care. Working as a Web developer for over 5 years and have many experiences with REACT, LARAVEL, WEBSITE DESIGN, NODEJS, ANGULAR, More

$500 USD in 7 days
(10 Reviews)
4.2
LahiruD94

Hi there, I'm a fullsack developer with 5 years of experience in the industry. I have worked extensively on node.js and Angular.js in my previous projects. I went through your requirement and it is well within my capa More

$500 USD in 7 days
(4 Reviews)
4.3