PageSourceSearch

https://aaafx.com/assets/commodities-12a2d4e2.js

js aaafx.com collected 2026-10-04 13:24:33 UTC 5,233 bytes, 1 lines download raw bytes

1import{P as S}from"./Pagination-40b511a6.js";import{t as v}from"./trading-account-types-1ee00cfb.js";import{a as I}from"./accountTypes-9675c9b5.js";import{_ as $,u as w,p as N}from"./index-010e327e.js";import{f as a,s as r,a as d,h as s,j as e,i as m,F as _,o as T,J as k,K as z,b as p,x as u}from"./vue-vendor-bd567a24.js";import"./act-trader-c9f89d53.js";import"./bootstrap-71154e5e.js";const F={name:"commodites",setup(){return{store:w(),priceFeed:N()}},data(){return{page:1,limit:8,type:"Commodities",isinsList:[]}},components:{Pagination:S,tradingAccountTypes:v,accountTypes:I},watch:{isinsList(t,i){this.store.currentSubscribed.length>0&&t?(this.unsubscribeISINS(this.store.currentSubscribed),this.subscribeISINS(t)):this.subscribeISINS(t)}},computed:{get_currencies(){try{let t=this.store.allIsins;return t&&Object.keys(t).length>0&&(t=Object.entries(t).filter(([i,o])=>o.type==this.type&&!o.mn.includes(".")).map(([i])=>i),this.isinsList=t),t}catch{return{}}}},methods:{async subscribe(){let t=[];this.store.currentSubscribed.length&&this.unsubscribeISINS(this.store.currentSubscribed.map(o=>o.mn)),this.store.allIsins&&this.store.allIsins!=""?t=this.store.allIsins||{}:(await this.store.GetIsinsList(),t=this.store.allIsins);let i=[];t&&t!=""?i=Object.keys(t).filter(o=>t[o].type===this.isisnActiveTab):i={},i=i.slice(0,4),this.store.currentSubscribed=[...new Set(i)],this.priceFeed.defaultList=this.store.currentSubscribed,this.subscribeISINS(this.store.currentSubscribed)},subscribeISINS(t){this.store.currentSubscribed=t,this.priceFeed.addIsin(t)},unsubscribeISINS(t){this.priceFeed.removeIsin(t)}}},L={class:"header-number"},j={class:"container-fluid"},A={class:"row gy-4"},B={class:"col-6 col-xl-auto"},x={class:"d-flex flex-column flex-lg-row align-items-center gap-lg-2 align-items-lg-end"},C={class:"col-6 col-xl-auto"},O={class:"d-flex flex-column flex-lg-row align-items-center gap-lg-2 align-items-lg-end"},P={class:"col-6 col-xl-auto"},V={class:"d-flex flex-column flex-lg-row align-items-center gap-lg-2 align-items-lg-end"},D={class:"col-6 col-xl-auto"},M={class:"d-flex flex-column flex-lg-row align-items-center gap-lg-2 align-items-lg-end"},R={class:"section bg-table"},E={class:"container-fluid"},G={class:"text-white-primary-95 mb-32 text-sm-center font-unbound"},H={class:"table-responsive"},J={class:"common-table"},K=s("th",null,null,-1),q={id:"pairBtn"},Q=s("i",{class:"fa fa-search"},null,-1),U=s("span",{id:"inputHead",class:"inputhead"},[s("i",{class:"fa fa-search"}),s("input",{type:"text",id:"myInput",placeholder:"search by pair"})],-1),W=["index"],X={style:{display:"none"}},Y={style:{"min-width":"50px"}},Z={class:"text-center"},ss=["src"],ts={class:""},es={class:""},is={class:""},os={class:""},ns={colspan:"9"},ls={class:"d-flex justify-content-between w-100"};function cs(t,i,o,h,n,g){const b=a("Pagination"),f=a("tradingAccountTypes"),y=a("accountTypes");return r(),d(_,null,[s("div",L,[s("div",j,[s("div",A,[s("div",B,[s("div",x,[s("h3",null,e(t.$t("commodities.zero_1")),1),s("h5",null,e
1(t.$t("commodities.min_lot_size")),1)])]),s("div",C,[s("div",O,[s("h3",null,e(t.$t("commodities.dollar_fifty")),1),s("h5",null,e(t.$t("commodities.min_deposit")),1)])]),s("div",P,[s("div",V,[s("h3",null,[m(e(t.$t("commodities.ten")),1),s("span",null,e(t.$t("commodities.ms")),1)]),s("h5",null,e(t.$t("commodities.min_execution_speed")),1)])]),s("div",D,[s("div",M,[s("h3",null,e(t.$t("commodities.one_hundredx")),1),s("h5",null,e(t.$t("commodities.max_leverage")),1)])])])])]),s("div",R,[s("div",E,[s("h1",G,[m(e(t.$t("commodities.commodities_contract"))+" ",1),s("span",null,e(t.$t("commodities.specification")),1)]),s("div",H,[s("table",J,[s("thead",null,[s("tr",null,[K,s("th",null,[s("span",q,[Q,m(" "+e(t.$t("commodities.pair")),1)]),U]),s("th",null,e(t.$t("commodities.bid")),1),s("th",null,e(t.$t("commodities.ask")),1),s("th",null,e(t.$t("commodities.spread")),1),s("th",null,e(t.$t("commodities.contract_size")),1),s("th",null,e(t.$t("commodities.min_trade_size")),1),s("th",null,e(t.$t("commodities.tick_val")),1),s("th",null,e(t.$t("commodities.trading_hours")),1)])]),s("tbody",null,[(r(!0),d(_,null,T(g.get_currencies,(l,c)=>k((r(),d("tr",{index:c},[s("td",X,e(t.isin=h.store.priceFeedList[l]||{})+" "+e(t.meta=h.store.allIsins[l]),1),s("td",Y,[s("div",Z,[s("img",{src:`https://finvasiaexpos.s3.eu-west-2.amazonaws.com/tradingsymbol/${l}.svg`,alt:"",width:"30"},null,8,ss)])]),s("td",null,e(l),1),s("td",null,[s("span",{class:p(t.isin.buy_increase_staus==1?"text-success":"text-danger")},e(t.isin.B),3)]),s("td",null,[s("span",{class:p(t.isin.sell_increase_staus==1?"text-success":"text-danger")},e(t.isin.A),3)]),s("td",null,e((t.isin.A-t.isin.B).toFixed(t.meta?.Tick_Size.split(".")[1].length)),1),s("td",ts,e(t.meta?.Contract_Size),1),s("td",es,e(t.meta?.Min_Trade_Size),1),s("td",is,e(t.meta?.Tick_Value),1),s("td",os,e(t.$t("commodities.time_shift")),1)],8,W)),[[z,c<n.page*n.limit&&c>=(n.page-1)*n.limit]])),256))]),s("tfoot",null,[s("tr",null,[s("th",ns,[s("div",ls,[u(b,{totalRecords:Object.keys(this.get_currencies).length,limit:n.limit,pageNo:n.page},null,8,["totalRecords","limit","pageNo"])])])])])])])])]),u(f),u(y)],64)}const ps=$(F,[["render",cs]]);export{ps as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.