Sunday, January 15, 2023

Algo trading

 Algorithmic trading, also known as algo trading or automated trading, is the use of computer programs to execute trades automatically based on pre-set rules and parameters. To implement algo trading on a Linux system, you will need to write code in a programming language such as Python, C++, or Java. This code will contain the trading logic and algorithms, as well as connectivity to the trading platform or exchange where the trades will be executed.

There are a variety of open-source libraries and frameworks available to assist with the development of algo trading systems on Linux, such as:

  • Backtrader: A Python-based backtesting and trading framework
  • Catalyst: An algorithmic trading library for Python
  • Zipline: A backtesting library for Python
  • TA-Lib: A library for technical analysis in multiple programming languages, including C++ and Java
  • AlgoTrader: A Java-based algorithmic trading platform that supports multiple exchanges and asset classes.

These libraries and frameworks can help with tasks such as data retrieval, backtesting, and order execution, allowing you to focus on developing your trading algorithms.

You may also need to set up a database to store historical market data, as well as a message queue or other communication mechanism to send orders to the trading platform.

Please also keep in mind that you need to comply with the laws and regulations of your country and the exchanges you are trading on, and you should know the risks of trading before start trading.

Forms of trading

 There are many forms of trading, but some common examples include:

  1. Stock trading: Buying and selling shares of publicly traded companies on a stock exchange.

  2. Options trading: Buying and selling contracts that give the buyer the right, but not the obligation, to buy or sell an underlying asset at a specific price and time.

  3. Futures trading: Buying and selling contracts that obligate the buyer to purchase an underlying asset at a specific price and time in the future.

  4. Currency trading (Forex): Buying and selling different currencies on the foreign exchange market.

  5. Commodity trading: Buying and selling physical goods such as metals, energy, and agricultural products.

  6. Cryptocurrency trading: Buying and selling digital assets such as Bitcoin and Ethereum on cryptocurrency exchanges.

  7. Social trading: Following and copying the trades of successful traders on a trading platform.

  8. Algo trading: Using computer programs to automatically execute trades based on mathematical algorithms and pre-set rules.




Check out my other blogs to get a deeper meaning of forms of trading

TRADING TIMES AND SESSIONS WITH EXAMPLES

 Trading times refer to the specific hours during the day when financial markets are open for trading. Trading sessions refer to the different periods of the day during which trading is conducted.

  1. New York Stock Exchange (NYSE) trading times: The NYSE is open for trading Monday through Friday from 9:30 AM to 4:00 PM Eastern Time (ET).

  2. Tokyo Stock Exchange (TSE) trading times: The TSE is open for trading Monday through Friday from 9:00 AM to 3:00 PM Japan Standard Time (JST).

  3. London Stock Exchange (LSE) trading times: The LSE is open for trading Monday through Friday from 8:00 AM to 4:30 PM Greenwich Mean Time (GMT).

  4. Frankfurt Stock Exchange (FSE) trading times: The FSE is open for trading Monday through Friday from 9:00 AM to 5:30 PM Central European Time (CET).

  5. Shanghai Stock Exchange (SSE) trading times: The SSE is open for trading Monday through Friday from 9:30 AM to 3:00 PM China Standard Time (CST).

  6. Sydney Stock Exchange (SSE) trading times: The SSE is open for trading Monday through Friday from 10:00 AM to 4:00 PM Australian Eastern Standard Time (AEST).

Examples of trading sessions:

  1. Pre-market trading session: This is a session that takes place before the regular trading session, usually from 4:00 AM to 9:30 AM ET for the NYSE.

  2. Day trading session: This is the regular trading session, which takes place during the day, usually from 9:30 AM to 4:00 PM ET for the NYSE.

  3. After-hours trading session: This is a session that takes place after the regular trading session, usually from 4:00 PM to 8:00 PM ET for the NYSE.

  4. Overnight trading session: This is a session that takes place outside of regular trading hours, usually from 8:00 PM to 4:00 AM ET for the NYSE.

Note: The trading times and sessions may vary depending on the stock exchange or financial market. It's always a good idea to check the specific trading times and sessions for the market you are interested in trading.

FOREX, CURRENCIES, BROKERS SUMMARY

 Forex, or the foreign exchange market, is a decentralized global market where currencies are traded. It is the largest financial market in the world, with an average daily trading volume of over $5 trillion. The market operates 24 hours a day, five days a week, and allows traders to buy and sell currencies at current or determined prices.

The main currencies traded on the forex market include the U.S. dollar, the Euro, the Japanese yen, the British pound, and the Swiss franc. These currencies make up the majority of the market and are known as the “majors.” Other currencies, such as the Australian dollar, the Canadian dollar, and the New Zealand dollar, are also commonly traded and are referred to as the “commodity currencies.”

Forex trading is done through a broker, who acts as an intermediary between the trader and the market. The trader can buy or sell currencies using leverage, which means that they can trade larger amounts than the amount of money they have on deposit. This can magnify potential gains, but also increases the risk of losses.

Forex traders use technical and fundamental analysis to make trading decisions. Technical analysis involves studying charts and historical data to identify patterns and trends, while fundamental analysis looks at economic indicators and political events that can affect currency prices.

Forex trading can be done by individuals, as well as by institutions such as banks and hedge funds. It can also be used for speculative purposes or as a way to hedge against currency risk in other investments. Overall, the forex market offers a vast array of opportunities for traders to buy and sell currencies and make a profit

CURRENCY MEANING IN FOREX AND HOW TO READ THEM

 In the foreign exchange (forex) market, currencies are traded in pairs. The value of one currency is determined by its comparison to another currency. Some examples of currency pairs include:

  • EUR/USD (Euro/US Dollar)
  • GBP/USD (British Pound/US Dollar)
  • USD/JPY (US Dollar/Japanese Yen)
  • USD/CHF (US Dollar/Swiss Franc)
  • AUD/USD (Australian Dollar/US Dollar)
  • USD/CAD (US Dollar/Canadian Dollar)

These are some of the most commonly traded currency pairs in the forex market, but there are many other currencies that are traded as well.


In a currency pair, the first currency is known as the "base currency" and the second currency is known as the "quote currency" or "counter currency." The base currency is the currency that is being used as the reference for the exchange rate.

For example, in the currency pair EUR/USD, the Euro is the base currency and the US dollar is the quote currency. This means that the exchange rate represents how many US dollars can be bought for one Euro.

The quote currency, also known as counter currency, is the second currency in a currency pair, and its value is expressed in terms of the base currency.

For example in the currency pair EUR/USD, the value of 1 Euro (base currency) is quoted in terms of US dollars (quote currency).

It's important to note that in a currency pair, the base currency is the one you are buying or selling, and the quote currency is the one you are using to buy or sell the base currency.

FOREX

 Forex, also known as the foreign exchange market, is a decentralized market where the world's currencies are traded. It is the largest and most liquid market in the world, with an average daily trading volume of over $5 trillion.

Forex Market

In the forex market, one currency is exchanged for another. For example, if a trader buys 1 Euro (EUR) at 1.12 US Dollars (USD) they are essentially buying the right to exchange 1 Euro for 1.12 US Dollars at a later date. The value of currencies fluctuates based on various economic, political and social factors.

Traders in the forex market can take advantage of these fluctuations by buying and selling currencies with the goal of making a profit. This can be done through various trading strategies such as technical analysis, fundamental analysis, and algorithmic trading.

Forex is a decentralized market, which means that it is not controlled by a central authority. Instead, it operates through a network of banks, corporations, and individuals. This makes the forex market accessible to traders from all over the world.

Forex trading can be done through online platforms, and it can be done 24 hours a day, 5 days a week. This allows traders to take advantage of market fluctuations no matter where they are located.

It is important to note that Forex trading is considered a high-risk investment, as the market is highly volatile, and traders can incur significant losses if they do not have a proper understanding of the market. Additionally, It is important to have a trading plan and risk management strategy in place before starting to trade in the forex market.

Tuesday, October 11, 2022

Day Trading

 Vix 300(1s) is on my watchlist....my analysis


What do you think...I use 15min time frame