Implement PNL in Forex Trading System

Job ID: 38362253

Budget: $30 – $250 USD

Im paying $200 no more than this and expect this done within 4 days.

My forex trading system is custom-built and runs on node, a JavaScript runtime. I would like to display order execution details in the system's PNL (Profit and Loss).

Key Requirements:
- Implement PNL: The goal is to showcase order execution in the system's PNL.
- Node.js proficiency: Since the platform is built on node, the freelancer should be well-versed in JavaScript and node.js.

Ideal Skills and Experience:
- Experienced in Forex Trading Systems: Understanding of how forex trading systems operate is crucial.
- Proficient in JavaScript and Node.js: A solid grasp of JavaScript and node.js is necessary for successful implementation.

Note: Previous experience with similar projects or in-depth knowledge of algorithmic trading can be a plus. I'm looking forward to working with a capable freelancer who can deliver this task efficiently.

Trading engine or order management system (OMS)

For my trading system https://trading-lake.vercel.app/

You should be able to rebuild it using these:

Trading view library:
https://www.tradingview.com/lightweight-charts/



Live Data

We offer data usingAPI keys. There are two types of keys: a REST API Key and a LIVE Streaming API Key.
For Live Streaming API keys:
Here is our Tutorial: https://tradermade.com/tutorials/how-to-start-a-websocket-trial-and-subscription-plan

Documentation: https://tradermade.com/docs/streaming-data-api

For the REST API Key:
Here is our tutorial: https://tradermade.com/tutorials/how-to-signup-for-a-rest-plan-and-get-your-api-key-for-free
. (the steps are the same, but the tutorial was published before we revamped the website)
Documentation: https://tradermade.com/docs/restful-api

Please visit this to sign-up: https://tradermade.com/signup


APIs should mirror:

https://demo.dx.trade/developers/#/




Order Execution:
* Simulation: Orders are executed based on real market data, but no real transactions take place. The system simulates order fills based on current market prices and liquidity.
* Latency and Slippage: The system can also simulate latency and slippage to provide a more realistic trading experience.
Stop Loss and Take Profit Management:
* Simulated Triggers: Stop-loss and take-profit levels are set by the user and triggered based on simulated market price movements.
* Order Execution: When these levels are reached, the system simulates the closing of the position.
Pip Calculation:
* Virtual Calculation: The system calculates pips gained or lost based on the simulated trade entry and exit prices, just as it would in a live trading environment.
Leverage Management:
* Virtual Leverage: The system allows users to apply leverage to their simulated trades. It calculates the margin requirements and adjusts the simulated account balance accordingly.
* Margin Calls: If the account's equity falls below the required margin level, the system can simulate a margin call.
Order Matching:
* Internal Matching: The system matches buy and sell orders internally within the simulated environment, using real market data to determine prices and order fills.
Position Tracking:
* Virtual Positions: The system tracks open positions, margin used, and unrealized profits or losses based on the simulated trades.
* Account Balance: It updates the virtual account balance to reflect the results of simulated trades.
Risk Management:
* Simulated Limits: The system can impose risk limits, such as maximum position sizes or maximum daily losses, to help users manage their risk in a simulated environment.
Reporting and Analytics:
* Simulated Reports: The system generates detailed reports on trading performance, including metrics like profit and loss (P&L), win/loss ratio, average trade size, and more, based on simulated trades.
* Strategy Analysis: Users can analyze the effectiveness of their trading strategies using the generated reports and analytics.


Samples:

https://sterlingtradingtech.com/order-management-system

I have the code ready to send. All I need is buy and sell buttons on it, and maybe trading view light library instead of the one its on.
Related categories: Software Architecture Metatrader Node.js Trading