Sunteți pe pagina 1din 28

AI TRADING APPLICATION

Prepared by: Abhijeet Pradhan - 1605209014


Biswarup Khatua - 1605209003
Ipsa Mohapatra - 1725209025
Sangita Dash - 1725209018
CONTENTS

1. Introduction
2. Why this app?
3. Technologies Used
4. Modules included
5. Diagrams
6. Future work
7. Conclusion
INTRODUCTION

The goal of this project was to develop a python-tkinter based dashboard


application for non autonomous (manual) algorithmic trading of major forex
currency pairs, commodities and precious metals via the Oanda API. The
challenge was to create a platform through which the integration of streaming,
placing/editing orders, generating signals and basic charting functions could be
integrated into a single system.
WHY THIS APP ?

People generally invest on stocks which are dependent upon several factors
like the reputation of the company , may be an individual entity which can
create a critical situation because we can’t predict all the things. Text mining
is used to analyze the newspaper, magazines etc.

We are investing money on commodities or currency pairs known as


instruments in trade market. It has very less risk as well as the currency does
not depend upon an individual entity or any company.

Before a trader/investor places a trade order, he needs to understand how the


trade market behaves. There are various characteristic features of trade
through which we can predict the price values. We predict those by using
several deep learning and AI algorithms.

We are integrating three modules here i.e. UI dashboard, OANDA api, AI


prediction together to provide a system through which the user can place
buy/sell orders by seeing the predictions.
KEYS TO UNDERSTAND:
1. Stop loss : It is an order placed with a broker to sell a security
when it reaches a certain price. Stop-loss orders are
designed to limit an investor’s loss on a position in a
security. Although most investors associate a stop-loss
order with a long position, it can also protect a short
position , in which case the security gets bought if it
trades above a defined price.

1. Take profit :It is a type of limit order that specifies the exact price
at which to close out an open position for a profit.

2. Trailing stop loss : It sets the stop price at a fixed amount below
the market price with an attached trailing
amount. As the market price rises, the stop
price rises by the trail amount, but if the stock
price falls, the stop loss price doesn't change,
and a market order is submitted when
the stop price is hit.
4. Candle : It is a type of price chart used that displays the high, low, open and
closing prices of a security for a specific period. It originated from
Japanese rice merchants and traders to track market prices and
daily momentum hundreds of years before becoming popularized in
the United States.

5. Instrument : An instrument is a tradable asset or negotiable item such as


security, commodity, derivative or index, or any item that
underlies a derivative. An instrument is a means by which
something of value is transferred, held or accomplished.

6. Ask : In the context of stock trading on a stock exchange, the ask price is the
lowest price a seller of a stock is willing to accept for a share of that
given stock. For over-the-counter stocks, the asking price is the best
quoted price at which a market maker is willing to sell a stock.

7. Bid : A bid price is a price which is offered for a commodity, service, or


contract. It is colloquially known as a “bid” in many markets and
jurisdictions. Generally, a bid is lower than an asking price, or ask and
the difference between them is called a bid-ask spread. Bids can also
be made in cases where the seller is not looking to sell, in which case it
is considered an unsolicited offer or unsolicited bid.
TECHNOLOGIES USED
 Python 3
 Tkinter
 Matplotlib
 Oanda Api
MODULES INCLUDED
1. Trade Bar : Here, all the open trades and their status i.e Take
Profit, Stop Loss ,Trailing Stop Loss, current profit
position ( how far from take profit target is the target) are shown
here. Trade values will be updated every time the app is
updated.
2. Trade View : It shows the trade details in a table. That is, which order has
been converted into trade, which trade has been completed,
triggering the stop loss and take profit.
3. Trade Update : This is used to change an open trade values like Takeprofit
and StopLoss values
4.Buy View : It gives us a line on the graph to show a visual
representation to the user predicting the exact
position of the stop loss or take profit if it wishes to
buy an order.
5. Sell View : It gives us a line on the graph to show a visual
representation to the user predicting the exact position of the
stop loss or take profit if it wishes to sell an order.
6. Draw : Here the user can draw a line by plotting two dots on the
canvas .
7.Clear button: It clears all the lines drawn on the canvas.(Except the AI
prediction lines and trade view)
8. Buy order: Here an buy order is placed.
9. Sell order: Sell order is placed.
10. Close trade: It closes an open trade.

11. Candle: It gets updated every 2 minutes representing graphical


information about market price and the AI prediction
lines.
11.Update : It fetches the bid and ask values from the broker and shows
the values at the stop loss and take profit fields in the
canvas.
AI PREDICTION LINES
DIAGRAMS :
STRUCTURE CHART
DFD LEVEL 0 :
DFD LEVEL 1:
DFD LEVEL 2:
FUTURE WORK :

Currently we have made the app for a single currency pair i.e. EUR/USD .
So, the module is not yet dynamic in nature to actively support multiple
currency pairs. Hence, we are going to make it more dynamic. The
OANDA Api does not support crypto-currency, so we may try other
brokers which may provide more instruments.
CONCLUSION :
By this, we conclude that this app uses platforms compatible with
today’s on-going trends. Hence, with all the features provided by
this app it is expected to make people involved in trading much
easier to understand the market situation.
THANK YOU

S-ar putea să vă placă și