[WordPress] 外掛分享: Skloogs Trader

首頁外掛目錄 › Skloogs Trader
10+
安裝啟用
尚無評分
6120 天前
最後更新
問題解決
WordPress 2.7+ v1.1.1 上架:2009-01-13

內容簡介

這個 WordPress 外掛允許在文章、留言或博客的任何部分中使用專用標記:[sktrade],顯示巴西證券交易所(Bovespa)和其他證券交易所的股票股份。

從 0.4 版本開始,該插件可以顯示 Bovespa 的盤中動態報價和/或來自 Bovespa 或其他市場的靜態報價,時間長度各異。

將參數定義編輯到 CSS 樣式表中,可以自定義框架的特徵,這將在以後的版本中整合到管理面板中。

這個外掛程式可以使用新選項進行自定義設置,如使用說明部分所述。

靜態圖表也提供了一些選項。

請參閱可使用語法節段中的 語法 部分以獲取更多信息。

語法和目前支援的選項

插件語法非常基本。在想要查看圖表的正確位置使用 [sktrade <sharelist>]。共享列表是逗號分隔的股票列表和可能的選項列表,選項由等號字符與股票名稱分開,由垂直線分開。此外,選項可以在冒號字符後跟一個參數。

以下是選項列表:

s -> 使用小尺寸 (100×200),而不是標準尺寸 (180×400)來使用應用程式
w -> 應用程式寬度 (例如:w:300)
h -> 應用程式高度 (例如:w:150)
bg -> 應用程式背景色,由 3 個十進制 (0-255) 的冒號(:)分隔字符串定義(例如:bg:230:230:230)
tx -> 應用程式文字顏色,語法與 bg 相同
fi -> 應用程式圖表填充色,語法與 bg 相同
bd -> 應用程式邊框顏色,語法與 bg 相同

僅限靜態圖表的選項:

p -> 金融時期:i,m,2m,3m,6m,y,2y,3y,5y(盤中,1-2-3-6 個月,1-2-3-5 年)
v -> 在靜態圖表上顯示交易量(默認)
nv -> 在靜態圖表上不顯示交易量
q -> 使用靜態圖表(默認為盤中應用程式)
mk -> 股票交易所(市場):BOV(Bovespa),EURO(Euronext),等等。請在ADVFN Mundial Summary上檢查市場

所以,如果我想使用特殊的寬度和背景顏色來查看 ITAU4 股票,此將是語法:
[sktrade itau4=w:200|bg:20:20:20]

現在我想在過去一個月中得到 ITAU4 股票和過去一年中的 UBBR11 股票,並使用一些參數:
[sktrade itau4=q|p:m|w:300|txt:200:0:0|bg:255:255:255,ubbr11=s|q|p:y]

請務必小心分隔符號的選項(|)和共享(,)的分隔符號之間不要搞混!!
為了更清晰,可以將逗號替換為空格或加入逗號。
例如:[sktrade itau4=s, ubbr11, petr4]

關於外國證券交易所,到目前為止,您將無法獲得動態圖像,因此請使用 q 選項;在您需要盤中圖時,也請使用 p=i 選項。
例如:[sktrade satyamcomp=mk:NSE|q|p=i](非常感謝 Salman Siddiqui 的註釋!)

如果只獲得配有插件版權的框架,您可能做錯了什麼.....

最後提醒,只寫入標籤到 DB,演示在顯示頁面時進行,因此您隨時可以重新編輯您的頁面/文章以進行更改。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Skloogs Trader」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This wordpress plugin allows the display of shares from the Bovespa (Brazilian Stock Exchange) and
other Stock Exchanges, within your posts, comments, or any part of your blog,
by using a dedicated markup: [sktrade].
Starting with version 0.4, the plugin can show intraday dynamic quotes from the Bovespa and/or static
quotes from the Bovespa or from other markets, over various periods of time.
The frame’s characteristics can be customized by editing a CSS stylesheet, which will be integrated
into the admin panel in a future version.
The applet options can be customized using new options, as explained in the usage section.
The static charts also provide some options.
See SYNTAX section for more information.
Syntax and currently supported options
The plugin syntax is quite basic. Use [sktrade ] at the right place
you want to see the charts. The sharelist is a comma separated list of shares,
and possible options. The options are
separated from the share name by an = character and from one another by the |
character. Additionally, an option can take an argument after the : character.
The options are as follows:

s -> small size (100×200) instead of standard one (180×400) for the applet
w -> applet width (e.g.: w:300)
h -> applet height (e.g.: w:150)
bg -> applet background color, as 3 decimal (0-255) colon (:) separated numbers. (e.g.: bg:230:230:230)
tx -> applet text color, same syntax as bg
fi -> applet chart fill color, same syntax as bg
bd -> applet border color, same syntax as bg

Static charts only options:

p -> period: i,m,2m,3m,6m,y,2y,3y,5y (intraday, 1-2-3-6 months, 1-2-3-5 years)
v -> show volume on static chart (default)
nv -> no volume on static chart
q -> force static chart (default is intraday applet)
mk -> stock exchange (market): BOV (Bovespa), EURO (Euronext), etc… Check the markets
on the ADVFN Mundial Summary

So if I want a ITAU4 share with special width and bg colors, this would be the syntax:
[sktrade itau4=w:200|bg:20:20:20]
Now I’d like to get ITAU4 for the last month and UBBR11 for the last year, with some parameters:
[sktrade itau4=q|p:m|w:300|txt:200:0:0|bg:255:255:255,ubbr11=s|q|p:y]
Be careful not to mistakenly switch between options (|) and shares (,) separators!!
For more clarity, it’s authorized to put a space instead of or in addition to the comma.
e.g.: [sktrade itau4=s, ubbr11, petr4]
Regarding foreign exchanges, you won’t be able to have the dynamic graph so far, so please do use the
q option; in the case you want an intraday graph, also use the p=i option.
E.g.: [sktrade satyamcomp=mk:NSE|q|p=i] (A big thanks to Salman Siddiqui for the note!)
If you get a frame with just the plugin’s copyright, you probably did it wrong…
As a final note, please remember that only the tag is written to the DB, the presentation is made
at the time the page is displayed. So you’ll always be able to re-edit your page/post to change
the options.
Support
To get support on the installation and/or use of this plugin, please comment on the
plugin page. Do not send
an email, because your problem can be someone else’s problem too, and I cannot afford
answering each one personally, except in the comments section of the plugin page. Thanks!
About the author
Philippe Hilger is French, speaking fluently portuguese and english, and has been living in Rio de Janeiro, Brazil, since 2002, and use to trade
on the Bovespa (São Paulo Stock Exchange). He’s a Systems, Networks and Security Engineer, developping
programs and utilities during his free time and trying to make some money with it… After running his
own e-commerce company, which unfortunately wasn’t the expected success, he’s also looking for a job,
in Brazil, in Canada, or in the United States. Feel free to contact him: philippe(DOT)hilger(AROBA)gmail(DOT)com
If you like this plugin, and would like to help making it much better – and there is much to do! – why
not consider making a small donation…?

延伸相關外掛

文章
Filter
Apply Filters
Mastodon