<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged algotrading</title>
<link>https://coderlegion.com/tag/algotrading</link>
<description>Powered by Question2Answer</description>
<item>
<title>AutoTradingKit</title>
<link>https://coderlegion.com/1852/autotradingkit</link>
<description>&lt;h2 id=&quot;atk---auto-trading-kit&quot;&gt;ATK - Auto Trading Kit&lt;/h2&gt;
&lt;hr&gt;
&lt;h3 id=&quot;introduction---elevate-your-trading-with-atk&quot;&gt;Introduction - Elevate Your Trading with ATK&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;ATK (Auto Trading Kit)&lt;/strong&gt; is a free, open-source platform engineered for &lt;strong&gt;traders and developers&lt;/strong&gt; seeking to automate, backtest, and optimize their trading strategies. Whether you are a seasoned trader or a coding enthusiast, ATK empowers you to design, test, and execute strategies across popular exchanges with real-time analytics and advanced tools.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; ATK is designed to &lt;strong&gt;reduce manual work, enhance strategy development, and enable efficient trade execution&lt;/strong&gt;. Built using Python and PySide6, ATK is cross-platform (Windows, MacOS, and Linux) and features an intuitive UI inspired by trading industry leaders.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h3 id=&quot;key-features-of-atk&quot;&gt;Key Features of ATK&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th&gt;&lt;strong&gt;Feature&lt;/strong&gt;                             &lt;/th&gt;&lt;th&gt;&lt;strong&gt;All Plan&lt;/strong&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Number of Charts                        &lt;/td&gt;&lt;td&gt;Unlimited (PC performance dependent)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Number of Indicators                     &lt;/td&gt;&lt;td&gt;Unlimited&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Alerts                                   &lt;/td&gt;&lt;td&gt;Under Development&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Historical Data                          &lt;/td&gt;&lt;td&gt;Unlimited&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Data Export                              &lt;/td&gt;&lt;td&gt;Under Development&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Customer Support                         &lt;/td&gt;&lt;td&gt;8/5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Real-time Data                           &lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Auto Trade                               &lt;/td&gt;&lt;td&gt;Under Development (API &amp;amp; Secret key required)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Backtesting                              &lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Drawing Tools (Basic &amp;amp; Advanced)         &lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Multiple Tabs                            &lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Timeframe Support                        &lt;/td&gt;&lt;td&gt;Yes (1m to 1M)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Buy/Sell (Market, Limit, Trailing Stop)  &lt;/td&gt;&lt;td&gt;Under Development&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Crypto                                   &lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Forex                                    &lt;/td&gt;&lt;td&gt;Under Development&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Stock                                    &lt;/td&gt;&lt;td&gt;Under Development&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;img src=&quot;images/README/1739977622209.png&quot; alt=&quot;Chart Example&quot;&gt;&lt;br&gt;
&lt;img src=&quot;images/README/1739977750678.png&quot; alt=&quot;Indicator Example&quot;&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;how-to-get-started-with-atk&quot;&gt;How to Get Started with ATK&lt;/h3&gt;
&lt;h4 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Python 3.12&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Windows 10/11 (64-bit), MacOS, or Linux&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;installation-steps&quot;&gt;Installation Steps&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Clone the repository:&lt;/strong&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;git clone https://github.com/Khanhlinhdang/AutoTradingKit
cd AutoTradingKit
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Set up a virtual environment:&lt;/strong&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;python -m venv .venv
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Activate the virtual environment:&lt;/strong&gt;&lt;ul&gt;
&lt;li&gt;Windows:&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;.venv\Scripts\activate
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;MacOS/Linux:&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;source .venv/bin/activate
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Install dependencies:&lt;/strong&gt;&lt;ul&gt;
&lt;li&gt;Windows:&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;pip install -r requirements.txt
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;MacOS/Linux:&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;pip install -r mac_linux_requirements.txt
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Run ATK:&lt;/strong&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;python ATK.py
# or
python3 ATK.py
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&quot;build-application&quot;&gt;Build Application&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Convert &lt;code&gt;.py&lt;/code&gt; to &lt;code&gt;.pyd/.so&lt;/code&gt; using Cython for performance.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;pyinstaller&lt;/code&gt; to build executable files for your OS.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id=&quot;supported-indicators&quot;&gt;Supported Indicators&lt;/h3&gt;
&lt;p&gt;ATK integrates a wide range of indicators, sourced from &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/twopirllc/pandas-ta/tree/main&quot;&gt;pandas-ta&lt;/a&gt; and custom conversions from TradingView, MT4, and MT5.&lt;/p&gt;
&lt;h4 id=&quot;current-indicator-list&quot;&gt;Current Indicator List&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Aroon&lt;/li&gt;
&lt;li&gt;Average Directional Index (ADX)&lt;/li&gt;
&lt;li&gt;Average True Range (ATR)&lt;/li&gt;
&lt;li&gt;Bollinger Bands (BB)&lt;/li&gt;
&lt;li&gt;Commodity Channel Index (CCI)&lt;/li&gt;
&lt;li&gt;Donchian Channel (DC)&lt;/li&gt;
&lt;li&gt;Keltner Channel (KC)&lt;/li&gt;
&lt;li&gt;Moving Averages (ALMA, DEMA, EMA, HMA, KAMA, SMA, SMMA, T3, TEMA, VWMA, WMA, ZLEMA)&lt;/li&gt;
&lt;li&gt;MACD&lt;/li&gt;
&lt;li&gt;Rate of Change (ROC)&lt;/li&gt;
&lt;li&gt;RSI&lt;/li&gt;
&lt;li&gt;Schaff Trend Cycle (STC)&lt;/li&gt;
&lt;li&gt;Stochastic Oscillator &amp;amp; Stochastic RSI&lt;/li&gt;
&lt;li&gt;SuperTrend&lt;/li&gt;
&lt;li&gt;TRIX&lt;/li&gt;
&lt;li&gt;True Strength Index (TSI)&lt;/li&gt;
&lt;li&gt;Ultimate Oscillator (UO)&lt;/li&gt;
&lt;li&gt;Vortex Indicator (VTX)&lt;/li&gt;
&lt;li&gt;VWAP&lt;/li&gt;
&lt;li&gt;Smart Money Concept (SMC)&lt;/li&gt;
&lt;li&gt;UTBOT&lt;/li&gt;
&lt;li&gt;...and more!&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;upcoming-indicators&quot;&gt;Upcoming Indicators&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;TTM Squeeze, Standard Deviation, SFX TOR, Pivots High/Low, Parabolic SAR, OBV, SOBV, Mean Deviation, McGinley Dynamic, Mass Index, KST, KVO, Ichimoku, Force Index, DPO, IBS, EMV, Chaikin Oscillator, Chande Kroll Stop, Choppiness Index, Coppock Curve, Awesome Oscillator, Balance of Power, ADL, etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id=&quot;how-to-add-a-new-indicator-to-atk&quot;&gt;How to Add a New Indicator to ATK&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;How-to Guide:&lt;/strong&gt;&lt;br&gt;
Adding a new indicator follows a standardized structure. For example, to create a new &quot;bop&quot; indicator, follow these steps:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Create the calculation module:&lt;/strong&gt;&lt;br&gt;
Add &lt;code&gt;bop.py&lt;/code&gt; in &lt;code&gt;atklip/controls/momentum&lt;/code&gt; referencing &lt;code&gt;pandas_ta&lt;/code&gt; calculations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Implement the chart component:&lt;/strong&gt;&lt;br&gt;
Add &lt;code&gt;bop.py&lt;/code&gt; in &lt;code&gt;atklip/graphics/chart_component/indicators/sub_indicators/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Register the model:&lt;/strong&gt;&lt;br&gt;
Update &lt;code&gt;atklip/controls/models.py&lt;/code&gt; with the new indicator class.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Update the indicator menu:&lt;/strong&gt;&lt;br&gt;
Add the indicator to &lt;code&gt;atklip/gui/top_bar/indicator/indicator_menu.py&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Register the IndicatorType:&lt;/strong&gt;&lt;br&gt;
If needed, update &lt;code&gt;atklip/controls/ma_type.py&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Add to sub panel:&lt;/strong&gt;&lt;br&gt;
Update &lt;code&gt;setup_indicator&lt;/code&gt; in &lt;code&gt;atklip/graphics/chart_component/sub_panel_indicator.py&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;FAQ:&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;How do I request a new indicator?&lt;/em&gt;&lt;br&gt;
Submit a &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/Khanhlinhdang/AutoTradingKit/issues&quot;&gt;GitHub Issue&lt;/a&gt; with your request.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h3 id=&quot;roadmap-2025&quot;&gt;Roadmap 2025&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Add more indicators (MT4, MT5, TradingView)&lt;/li&gt;
&lt;li&gt;Expand trading strategies&lt;/li&gt;
&lt;li&gt;Enable API/Secret integration with more exchanges (Binance, MEXC, ...)&lt;/li&gt;
&lt;li&gt;Enhance drawing tools and charting features&lt;/li&gt;
&lt;li&gt;Improve backtesting and replay&lt;/li&gt;
&lt;li&gt;Layout customization &amp;amp; theme settings&lt;/li&gt;
&lt;li&gt;Order/position management UI&lt;/li&gt;
&lt;li&gt;Secure login and account management&lt;/li&gt;
&lt;li&gt;Integrate AI-powered indicators and strategies&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id=&quot;support-amp-community&quot;&gt;Support &amp;amp; Community&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Get help or request features:&lt;/strong&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/Khanhlinhdang/AutoTradingKit/issues&quot;&gt;GitHub Issues&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Email:&lt;/strong&gt; &lt;em&gt;Emails are not allowed&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;YouTube:&lt;/strong&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/@AutoTradingKit&quot;&gt;AutoTradingKit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Facebook:&lt;/strong&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.facebook.com/che.linh.9096/&quot;&gt;Pham Cong Che&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Discord:&lt;/strong&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;https://discord.gg/bRDF7KxyQR&quot;&gt;ATK Community&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Facebook Group:&lt;/strong&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.facebook.com/groups/748831980507126&quot;&gt;ATK Facebook Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id=&quot;support-atk-development&quot;&gt;Support ATK Development&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;br&gt;
Maintaining and improving ATK requires resources. Your sponsorship helps us deliver new features, bug fixes, and better support for the community.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Ways to Sponsor:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/sponsors/Khanhlinhdang&quot;&gt;GitHub Sponsor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://opencollective.com/autotradingkit&quot;&gt;OpenCollective&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;amp;hosted_button_id=XTHUBP3TB5H7J&quot;&gt;Paypal Sponsor&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h3 id=&quot;author-amp-acknowledgement&quot;&gt;Author &amp;amp; Acknowledgement&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Pham Cong Che (BigD)&lt;/strong&gt;&lt;br&gt;
Trader, freelancer, and developer from Vietnam.  &lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;“Let’s build the future of algorithmic trading together!”&lt;/em&gt; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h3 id=&quot;license&quot;&gt;License&lt;/h3&gt;
&lt;p&gt;ATK is released under the &lt;a rel=&quot;nofollow&quot; href=&quot;LICENSE&quot;&gt;MIT License&lt;/a&gt;.&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;references&quot;&gt;References&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/twopirllc/pandas-ta&quot;&gt;pandas-ta Documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.tradingview.com/&quot;&gt;TradingView&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.metatrader4.com/&quot;&gt;MT4/MT5 Official&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.python.org/&quot;&gt;Python Official&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id=&quot;tags&quot;&gt;Tags&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;Python&lt;/code&gt; &lt;code&gt;Trading&lt;/code&gt; &lt;code&gt;Algorithmic Trading&lt;/code&gt; &lt;code&gt;Backtesting&lt;/code&gt; &lt;code&gt;Open Source&lt;/code&gt; &lt;code&gt;Indicators&lt;/code&gt; &lt;code&gt;Crypto&lt;/code&gt; &lt;code&gt;Forex&lt;/code&gt; &lt;code&gt;Stock&lt;/code&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h3&gt;
&lt;p&gt;In summary, &lt;strong&gt;ATK (Auto Trading Kit)&lt;/strong&gt; is a robust and extensible platform for algorithmic traders and developers. With its &lt;strong&gt;cross-platform compatibility, support for unlimited charts and indicators, and a growing ecosystem&lt;/strong&gt;, ATK is well-positioned for both beginners and professionals. The roadmap promises exciting features like AI-powered indicators and enhanced backtesting. &lt;strong&gt;Unlock your trading potential with ATK—explore, contribute, and join our thriving community today!&lt;/strong&gt;&lt;/p&gt;
&lt;hr&gt;
</description>
<category>Open Source Tools</category>
<guid isPermaLink="true">https://coderlegion.com/1852/autotradingkit</guid>
<pubDate>Tue, 15 Apr 2025 00:43:56 +0000</pubDate>
</item>
</channel>
</rss>