diff --git a/libs/components/src/lib/action-sheet/bottom-sheet/index.tsx b/libs/components/src/lib/action-sheet/bottom-sheet/index.tsx
index 90b3a794f..a581b145d 100644
--- a/libs/components/src/lib/action-sheet/bottom-sheet/index.tsx
+++ b/libs/components/src/lib/action-sheet/bottom-sheet/index.tsx
@@ -5,20 +5,20 @@ export type BottomSheetProps = {
heading: string;
icon: ReactNode;
children?: ReactNode;
- placeholdericon?: ReactNode;
+ placeholderIcon?: ReactNode;
};
export const BottomSheet = ({
heading,
icon,
children,
- placeholdericon,
+ placeholderIcon,
}: BottomSheetProps) => {
return (
- {placeholdericon && placeholdericon}
+ {placeholderIcon && placeholderIcon}
{heading &&
{heading}}
{icon &&
{icon}
}
diff --git a/libs/components/src/lib/breadcrumbs/base/index.tsx b/libs/components/src/lib/breadcrumbs/base/index.tsx
index 103d534bb..d144e1493 100644
--- a/libs/components/src/lib/breadcrumbs/base/index.tsx
+++ b/libs/components/src/lib/breadcrumbs/base/index.tsx
@@ -23,20 +23,20 @@ export function Base({ size = 'sm', links = [], className }: BreadcrumbsProps) {
setRenderLinks(links);
if (hasExtra) {
- const limited_links = [
+ const limitedLinks = [
links[0],
{ content: '...', href: '' },
links[linksLen - 2],
links[linksLen - 1],
];
- setRenderLinks(limited_links);
+ setRenderLinks(limitedLinks);
- const remaining_links: LinkProps[] = links.filter(
- (item) => !new Set(limited_links).has(item),
+ const remainingLinks: LinkProps[] = links.filter(
+ (item) => !new Set(limitedLinks).has(item),
);
- setDropdownLinks(remaining_links);
+ setDropdownLinks(remainingLinks);
}
}, [links]);
diff --git a/libs/components/src/lib/card/base/index.tsx b/libs/components/src/lib/card/base/index.tsx
index 166cd10ba..e66c587b0 100644
--- a/libs/components/src/lib/card/base/index.tsx
+++ b/libs/components/src/lib/card/base/index.tsx
@@ -48,12 +48,6 @@ const textSizeVariant: { [key: string]: TextSize } = {
lg: 'lg',
};
-const linkTextSizeVariant = {
- sm: 'text-body-md',
- md: 'text-body-lg',
- lg: 'text-body-lg',
-};
-
export const BaseCard: React.FC
= ({
header,
description,
diff --git a/libs/components/src/lib/link/index.tsx b/libs/components/src/lib/link/index.tsx
index 4c8a1c7e2..8f2cde24c 100644
--- a/libs/components/src/lib/link/index.tsx
+++ b/libs/components/src/lib/link/index.tsx
@@ -59,7 +59,7 @@ export function CustomLink({
}
}
- const [is_hover, setHover] = useState(false);
+ const [isHover, setHover] = useState(false);
return (
)}
diff --git a/libs/components/src/lib/search-chip/index.tsx b/libs/components/src/lib/search-chip/index.tsx
index 7c3f6a2cb..839e2f36e 100644
--- a/libs/components/src/lib/search-chip/index.tsx
+++ b/libs/components/src/lib/search-chip/index.tsx
@@ -27,11 +27,11 @@ export const SearchChip = ({
className,
inputClassName,
}: InputProps) => {
- const [current_value, setValue] = useState(value);
- const search_input_ref = useRef(null);
+ const [currentValue, setValue] = useState(value);
+ const searchInputRef = useRef(null);
useEffect(() => {
- if (search_input_ref.current) {
- search_input_ref.current.focus();
+ if (searchInputRef.current) {
+ searchInputRef.current.focus();
}
}, []);
useEffect(() => {
@@ -57,13 +57,13 @@ export const SearchChip = ({
styles['bg-transparent'],
)}
- ref={search_input_ref}
+ ref={searchInputRef}
placeholder={placeholder}
- value={current_value}
+ value={currentValue}
onChange={(e) => {
- const input_value = e.target.value;
- setValue(input_value);
- onChange(input_value, e);
+ const inputValue = e.target.value;
+ setValue(inputValue);
+ onChange(inputValue, e);
}}
/>
diff --git a/libs/templates/src/lib/help-center/sections/answers/index.tsx b/libs/templates/src/lib/help-center/sections/answers/index.tsx
index 6a87b455e..381d6c220 100644
--- a/libs/templates/src/lib/help-center/sections/answers/index.tsx
+++ b/libs/templates/src/lib/help-center/sections/answers/index.tsx
@@ -4,12 +4,12 @@ import { FAQDataType } from '../../types';
import { AccordionProps } from '@deriv-com/components';
const AnswerSection = ({ header, questions, answers }: FAQDataType) => {
- const accordion_items: AccordionProps[] = [];
+ const accordionItems: AccordionProps[] = [];
questions.forEach((question, qk) => {
const answer = answers ? answers[qk] : () => <>>;
- accordion_items.push({
+ accordionItems.push({
title: question,
content: answer,
});
@@ -20,7 +20,7 @@ const AnswerSection = ({ header, questions, answers }: FAQDataType) => {
diff --git a/libs/templates/src/lib/help-center/sections/search/components.tsx b/libs/templates/src/lib/help-center/sections/search/components.tsx
index 4358a1796..a0d71d7ee 100644
--- a/libs/templates/src/lib/help-center/sections/search/components.tsx
+++ b/libs/templates/src/lib/help-center/sections/search/components.tsx
@@ -11,9 +11,9 @@ export const slugify = (input: string): string =>
.replace(/[\s]+/g, '-')
.trim();
-export const getHelpCentreLink = (page: string, sub_page?: string) => {
- const sub_link = sub_page ? `#${slugify(sub_page)}` : '';
- return `/help-centre/${slugify(page)}${sub_link}`;
+export const getHelpCentreLink = (page: string, subPage?: string) => {
+ const subLink = subPage ? `#${slugify(subPage)}` : '';
+ return `/help-centre/${slugify(page)}${subLink}`;
};
export const generateFaqs = (questions: string[], header: string) => {
diff --git a/libs/templates/src/lib/help-center/sections/search/data.tsx b/libs/templates/src/lib/help-center/sections/search/data.tsx
index f4a6f3fe4..245ce164b 100644
--- a/libs/templates/src/lib/help-center/sections/search/data.tsx
+++ b/libs/templates/src/lib/help-center/sections/search/data.tsx
@@ -2,7 +2,7 @@ import { CardContent, OptimizedImage } from '@deriv-com/components';
import { FAQDataType } from '../../types';
-import { card_setting, faqCardsMaxItems } from './types';
+import { cardSetting, faqCardsMaxItems } from './types';
import { FaqBox, FaqLink, FaqList, FaqText, generateFaqs } from './components';
export const FAQData: FAQDataType[] = [
@@ -1099,13 +1099,13 @@ export const FAQData: FAQDataType[] = [
];
export const CardsFAQ = [...FAQData].map(({ header, questions }, faqKey) => {
- const trimmed_questions = [...questions];
+ const trimmedQuestions = [...questions];
- trimmed_questions.length = faqCardsMaxItems[faqKey];
+ trimmedQuestions.length = faqCardsMaxItems[faqKey];
return {
header,
- children: generateFaqs(trimmed_questions, header),
- ...card_setting,
+ children: generateFaqs(trimmedQuestions, header),
+ ...cardSetting,
};
}) as CardContent[];
diff --git a/libs/templates/src/lib/help-center/sections/search/index.tsx b/libs/templates/src/lib/help-center/sections/search/index.tsx
index 6ca355510..307cbd82e 100644
--- a/libs/templates/src/lib/help-center/sections/search/index.tsx
+++ b/libs/templates/src/lib/help-center/sections/search/index.tsx
@@ -7,14 +7,14 @@ interface SearchSectionProps {
hasQuestionCards?: boolean;
}
const SearchSection = ({ hasQuestionCards = true }: SearchSectionProps) => {
- const [search_key, setSearchKey] = useState('');
+ const [searchKey, setSearchKey] = useState('');
const handleSearchKeyChange = (searchKey: string) => {
setSearchKey(searchKey);
};
return (
<>
- {!search_key && hasQuestionCards && (
+ {!searchKey && hasQuestionCards && (
{
const [searchKey, setSearchKey] = useState('');
const showSearchresults = (query: string) => {
- const final_matches: FAQSearchResults[] = [];
+ const finalMatches: FAQSearchResults[] = [];
FAQData.forEach(({ header, questions }) => {
const matches = searchString(query, questions);
if (matches.length) {
- final_matches.push({
+ finalMatches.push({
header,
questions: matches,
});
}
});
- setResults(final_matches);
+ setResults(finalMatches);
onSearchKeyChange(query);
};
diff --git a/libs/templates/src/lib/help-center/sections/search/types.tsx b/libs/templates/src/lib/help-center/sections/search/types.tsx
index ed91cf380..9b439707f 100644
--- a/libs/templates/src/lib/help-center/sections/search/types.tsx
+++ b/libs/templates/src/lib/help-center/sections/search/types.tsx
@@ -1,6 +1,6 @@
import { CardContent } from '@deriv-com/components';
-export const card_setting: Partial = {
+export const cardSetting: Partial = {
size: 'sm',
color: 'gray',
align: 'start',
diff --git a/libs/templates/src/lib/trade/app-download/index.tsx b/libs/templates/src/lib/trade/app-download/index.tsx
index 9bcd636a9..7cf958963 100644
--- a/libs/templates/src/lib/trade/app-download/index.tsx
+++ b/libs/templates/src/lib/trade/app-download/index.tsx
@@ -1,4 +1,4 @@
-import React, { HTMLAttributes } from 'react';
+import React from 'react';
import {
BodyTypographyProps,
FluidContainer,
diff --git a/libs/templates/src/lib/trade/data/data.tsx b/libs/templates/src/lib/trade/data/data.tsx
index b8904b476..d4fa09440 100644
--- a/libs/templates/src/lib/trade/data/data.tsx
+++ b/libs/templates/src/lib/trade/data/data.tsx
@@ -61,8 +61,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Australian Dollar vs Canadian Dollar',
icon: ,
},
- current_bid: 0.87451,
- current_ask: 0.87467,
+ currentBid: 0.87451,
+ currentAsk: 0.87467,
spread: 0.00016,
currency: 'CAD',
},
@@ -72,8 +72,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Australian Dollar vs Swiss Franc',
icon: ,
},
- current_bid: 0.56766,
- current_ask: 0.56779,
+ currentBid: 0.56766,
+ currentAsk: 0.56779,
spread: 0.00013,
currency: 'CHF',
},
@@ -83,8 +83,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Australian Dollar vs Japanese Yen',
icon: ,
},
- current_bid: 94.327,
- current_ask: 94.342,
+ currentBid: 94.327,
+ currentAsk: 94.342,
spread: 0.015,
currency: 'JPY',
},
@@ -94,8 +94,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Australian Dollar vs New Zealand Dollar',
icon: ,
},
- current_bid: 1.08749,
- current_ask: 1.08767,
+ currentBid: 1.08749,
+ currentAsk: 1.08767,
spread: 0.00018,
currency: 'NZD',
},
@@ -105,8 +105,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Australian Dollar vs Singapore Dollar',
icon: ,
},
- current_bid: 0.87393,
- current_ask: 0.87414,
+ currentBid: 0.87393,
+ currentAsk: 0.87414,
spread: 0.00021,
currency: 'SGD',
},
@@ -116,8 +116,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Australian Dollar vs US Dollar',
icon: ,
},
- current_bid: 0.642,
- current_ask: 0.6425,
+ currentBid: 0.642,
+ currentAsk: 0.6425,
spread: 0.0005,
currency: 'USD',
},
@@ -127,8 +127,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Canadian Dollar vs Swiss Franc',
icon: ,
},
- current_bid: 0.64909,
- current_ask: 0.6492,
+ currentBid: 0.64909,
+ currentAsk: 0.6492,
spread: 0.00011,
currency: 'CHF',
},
@@ -138,8 +138,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Canadian Dollar vs Japanese Yen',
icon: ,
},
- current_bid: 107.943,
- current_ask: 107.961,
+ currentBid: 107.943,
+ currentAsk: 107.961,
spread: 0.018,
currency: 'JPY',
},
@@ -149,8 +149,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Swiss Franc vs Japanese Yen',
icon: ,
},
- current_bid: 166.287,
- current_ask: 166.311,
+ currentBid: 166.287,
+ currentAsk: 166.311,
spread: 0.024,
currency: 'JPY',
},
@@ -160,8 +160,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Australian Dollar',
icon: ,
},
- current_bid: 1.68265,
- current_ask: 1.68283,
+ currentBid: 1.68265,
+ currentAsk: 1.68283,
spread: 0.00018,
currency: 'AUD',
},
@@ -171,8 +171,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Canadian Dollar',
icon: ,
},
- current_bid: 1.47083,
- current_ask: 1.47098,
+ currentBid: 1.47083,
+ currentAsk: 1.47098,
spread: 0.00015,
currency: 'CAD',
},
@@ -182,8 +182,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Swiss Franc',
icon: ,
},
- current_bid: 0.95518,
- current_ask: 0.95525,
+ currentBid: 0.95518,
+ currentAsk: 0.95525,
spread: 0.00007,
currency: 'CHF',
},
@@ -193,8 +193,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Great Britain Pound',
icon: ,
},
- current_bid: 0.85833,
- current_ask: 0.85841,
+ currentBid: 0.85833,
+ currentAsk: 0.85841,
spread: 0.00008,
currency: 'GBP',
},
@@ -204,8 +204,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Hong Kong Dollar',
icon: ,
},
- current_bid: 8.52078,
- current_ask: 8.52235,
+ currentBid: 8.52078,
+ currentAsk: 8.52235,
spread: 0.00157,
currency: 'HKD',
},
@@ -215,8 +215,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Israeli Shekel',
icon: ,
},
- current_bid: 4.12638,
- current_ask: 4.14888,
+ currentBid: 4.12638,
+ currentAsk: 4.14888,
spread: 0.0225,
currency: 'ILS',
},
@@ -226,8 +226,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Japanese Yen',
icon: ,
},
- current_bid: 158.909,
- current_ask: 158.922,
+ currentBid: 158.909,
+ currentAsk: 158.922,
spread: 0.013,
currency: 'JPY',
},
@@ -237,8 +237,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Mexican Peso',
icon: ,
},
- current_bid: 18.20247,
- current_ask: 18.20892,
+ currentBid: 18.20247,
+ currentAsk: 18.20892,
spread: 0.00645,
currency: 'MXN',
},
@@ -248,8 +248,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Norwegian Krone',
icon: ,
},
- current_bid: 11.56386,
- current_ask: 11.56733,
+ currentBid: 11.56386,
+ currentAsk: 11.56733,
spread: 0.00347,
currency: 'NOK',
},
@@ -259,8 +259,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs New Zealand Dollar',
icon: ,
},
- current_bid: 1.83124,
- current_ask: 1.83137,
+ currentBid: 1.83124,
+ currentAsk: 1.83137,
spread: 0.00013,
currency: 'NZD',
},
@@ -270,8 +270,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Polish Zloty',
icon: ,
},
- current_bid: 4.47103,
- current_ask: 4.47225,
+ currentBid: 4.47103,
+ currentAsk: 4.47225,
spread: 0.00122,
currency: 'PLN',
},
@@ -281,8 +281,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Singapore Dollar',
icon: ,
},
- current_bid: 1.47002,
- current_ask: 1.47051,
+ currentBid: 1.47002,
+ currentAsk: 1.47051,
spread: 0.00049,
currency: 'SGD',
},
@@ -292,8 +292,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs Swedish Krona',
icon: ,
},
- current_bid: 11.88361,
- current_ask: 11.88671,
+ currentBid: 11.88361,
+ currentAsk: 11.88671,
spread: 0.0031,
currency: 'SEK',
},
@@ -303,8 +303,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs US Dollar',
icon: ,
},
- current_bid: 1.08422,
- current_ask: 1.08427,
+ currentBid: 1.08422,
+ currentAsk: 1.08427,
spread: 0.00005,
currency: 'USD',
},
@@ -314,8 +314,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Euro vs South African Rand',
icon: ,
},
- current_bid: 20.174418,
- current_ask: 20.183,
+ currentBid: 20.174418,
+ currentAsk: 20.183,
spread: 0.008582,
currency: 'ZAR',
},
@@ -325,8 +325,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Great Britain Pound vs Australian Dollar',
icon: ,
},
- current_bid: 1.95456,
- current_ask: 1.9547,
+ currentBid: 1.95456,
+ currentAsk: 1.9547,
spread: 0.00014,
currency: 'AUD',
},
@@ -336,8 +336,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Great Britain Pound vs Canadian Dollar',
icon: ,
},
- current_bid: 1.71552,
- current_ask: 1.7158,
+ currentBid: 1.71552,
+ currentAsk: 1.7158,
spread: 0.00028,
currency: 'CAD',
},
@@ -347,8 +347,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Great Britain Pound vs Swiss Franc',
icon: ,
},
- current_bid: 1.11361,
- current_ask: 1.11379,
+ currentBid: 1.11361,
+ currentAsk: 1.11379,
spread: 0.00018,
currency: 'CHF',
},
@@ -358,8 +358,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Great Britain Pound vs Japanese Yen',
icon: ,
},
- current_bid: 184.458,
- current_ask: 184.47,
+ currentBid: 184.458,
+ currentAsk: 184.47,
spread: 0.012,
currency: 'JPY',
},
@@ -369,8 +369,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Great British Pound vs Norwegian Krone',
icon: ,
},
- current_bid: 13.47212,
- current_ask: 13.47637,
+ currentBid: 13.47212,
+ currentAsk: 13.47637,
spread: 0.00425,
currency: 'NOK',
},
@@ -380,8 +380,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Great Britain Pound vs New Zealand Dollar',
icon: ,
},
- current_bid: 2.13328,
- current_ask: 2.13367,
+ currentBid: 2.13328,
+ currentAsk: 2.13367,
spread: 0.00039,
currency: 'NZD',
},
@@ -391,8 +391,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Great British Pound vs Swedish Krona',
icon: ,
},
- current_bid: 13.84388,
- current_ask: 13.84835,
+ currentBid: 13.84388,
+ currentAsk: 13.84835,
spread: 0.00447,
currency: 'SEK',
},
@@ -402,8 +402,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Great British Pound vs Singapore Dollar',
icon: ,
},
- current_bid: 1.7105,
- current_ask: 1.71117,
+ currentBid: 1.7105,
+ currentAsk: 1.71117,
spread: 0.00067,
currency: 'SGD',
},
@@ -413,8 +413,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Great Britain Pound vs US Dollar',
icon: ,
},
- current_bid: 1.2599,
- current_ask: 1.25998,
+ currentBid: 1.2599,
+ currentAsk: 1.25998,
spread: 0.00008,
currency: 'USD',
},
@@ -424,8 +424,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'Hong Kong Dollar vs Japanese Yen',
icon: ,
},
- current_bid: 18.66,
- current_ask: 18.84,
+ currentBid: 18.66,
+ currentAsk: 18.84,
spread: 0.18,
currency: 'JPY',
},
@@ -435,8 +435,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'New Zealand Dollar vs Canadian Dollar',
icon: ,
},
- current_bid: 0.80407,
- current_ask: 0.80424,
+ currentBid: 0.80407,
+ currentAsk: 0.80424,
spread: 0.00017,
currency: 'CAD',
},
@@ -446,8 +446,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'New Zealand Dollar vs Swiss Franc',
icon: ,
},
- current_bid: 0.523,
- current_ask: 0.52312,
+ currentBid: 0.523,
+ currentAsk: 0.52312,
spread: 0.00012,
currency: 'CHF',
},
@@ -457,8 +457,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'New Zealand Dollar vs Japanese Yen',
icon: ,
},
- current_bid: 86.806,
- current_ask: 86.816,
+ currentBid: 86.806,
+ currentAsk: 86.816,
spread: 0.01,
currency: 'JPY',
},
@@ -468,8 +468,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'New Zealand Dollar vs US Dollar',
icon: ,
},
- current_bid: 0.58997,
- current_ask: 0.59007,
+ currentBid: 0.58997,
+ currentAsk: 0.59007,
spread: 0.0001,
currency: 'USD',
},
@@ -479,8 +479,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Canadian Dollar',
icon: ,
},
- current_bid: 1.361,
- current_ask: 1.3611,
+ currentBid: 1.361,
+ currentAsk: 1.3611,
spread: 0.0001,
currency: 'CAD',
},
@@ -490,8 +490,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Swiss Franc',
icon: ,
},
- current_bid: 0.88178,
- current_ask: 0.88186,
+ currentBid: 0.88178,
+ currentAsk: 0.88186,
spread: 0.00008,
currency: 'CHF',
},
@@ -501,8 +501,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Chinese Renminbi',
icon: ,
},
- current_bid: 7.30773,
- current_ask: 7.30892,
+ currentBid: 7.30773,
+ currentAsk: 7.30892,
spread: 0.00119,
currency: 'CNH',
},
@@ -512,8 +512,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Israeli Shekel',
icon: ,
},
- current_bid: 3.79241,
- current_ask: 3.79477,
+ currentBid: 3.79241,
+ currentAsk: 3.79477,
spread: 0.00236,
currency: 'ILS',
},
@@ -523,8 +523,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Singapore Dollar',
icon: ,
},
- current_bid: 1.35341,
- current_ask: 1.3536,
+ currentBid: 1.35341,
+ currentAsk: 1.3536,
spread: 0.00019,
currency: 'SGD',
},
@@ -534,8 +534,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Japanese Yen',
icon: ,
},
- current_bid: 146.368,
- current_ask: 146.377,
+ currentBid: 146.368,
+ currentAsk: 146.377,
spread: 0.009,
currency: 'JPY',
},
@@ -545,8 +545,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Hong Kong Dollar',
icon: ,
},
- current_bid: 7.84734,
- current_ask: 7.84236,
+ currentBid: 7.84734,
+ currentAsk: 7.84236,
spread: -0.00498,
currency: 'HKD',
},
@@ -556,8 +556,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Mexican Peso',
icon: ,
},
- current_bid: 16.8275,
- current_ask: 16.83108,
+ currentBid: 16.8275,
+ currentAsk: 16.83108,
spread: 0.00358,
currency: 'MXN',
},
@@ -567,8 +567,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Norwegian Krone',
icon: ,
},
- current_bid: 10.72642,
- current_ask: 10.72889,
+ currentBid: 10.72642,
+ currentAsk: 10.72889,
spread: 0.00247,
currency: 'NOK',
},
@@ -578,8 +578,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Polish Zloty',
icon: ,
},
- current_bid: 4.14253,
- current_ask: 4.14384,
+ currentBid: 4.14253,
+ currentAsk: 4.14384,
spread: 0.00131,
currency: 'PLN',
},
@@ -589,8 +589,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Swedish Krona',
icon: ,
},
- current_bid: 11.01484,
- current_ask: 11.018,
+ currentBid: 11.01484,
+ currentAsk: 11.018,
spread: 0.00316,
currency: 'SEK',
},
@@ -600,8 +600,8 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs Thai Baht',
icon: ,
},
- current_bid: 35.112,
- current_ask: 35.124,
+ currentBid: 35.112,
+ currentAsk: 35.124,
spread: 0.012,
currency: 'THB',
},
@@ -611,15 +611,15 @@ export const mainInfo: TableDataTypeProps = {
description: 'US Dollar vs South African Rand',
icon: ,
},
- current_bid: 18.58367,
- current_ask: 18.58873,
+ currentBid: 18.58367,
+ currentAsk: 18.58873,
spread: 0.00506,
currency: 'ZAR',
},
],
};
-export const trading_condition = {
+export const tradingCondition = {
data: [
{
instrument: {
@@ -627,13 +627,13 @@ export const trading_condition = {
description: 'Australian Dollar vs Canadian Dollar',
icon: ,
},
- spread_cost: -12.07,
+ spreadCost: -12.07,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '3,212.75',
- swap_long: -3.81,
- swap_short: 0.73,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '3,212.75',
+ swapLong: -3.81,
+ swapShort: 0.73,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -641,13 +641,13 @@ export const trading_condition = {
description: 'Australian Dollar vs Swiss Franc',
icon: ,
},
- spread_cost: -14.46,
+ spreadCost: -14.46,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '3,218.83',
- swap_long: 2.55,
- swap_short: -4.7,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '3,218.83',
+ swapLong: 2.55,
+ swapShort: -4.7,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -655,13 +655,13 @@ export const trading_condition = {
description: 'Australian Dollar vs Japanese Yen',
icon: ,
},
- spread_cost: -10.36,
+ spreadCost: -10.36,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '3,222.25',
- swap_long: 9.26,
- swap_short: -12.62,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '3,222.25',
+ swapLong: 9.26,
+ swapShort: -12.62,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -669,13 +669,13 @@ export const trading_condition = {
description: 'Australian Dollar vs New Zealand Dollar',
icon: ,
},
- spread_cost: -10.92,
+ spreadCost: -10.92,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '3,207.93',
- swap_long: -6.27,
- swap_short: 1.8,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '3,207.93',
+ swapLong: -6.27,
+ swapShort: 1.8,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -683,13 +683,13 @@ export const trading_condition = {
description: 'Australian Dollar vs Singapore Dollar',
icon: ,
},
- spread_cost: -15.48,
+ spreadCost: -15.48,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '3,228.62',
- swap_long: -2.79,
- swap_short: -3.1,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '3,228.62',
+ swapLong: -2.79,
+ swapShort: -3.1,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -697,13 +697,13 @@ export const trading_condition = {
description: 'Australian Dollar vs US Dollar',
icon: ,
},
- spread_cost: -50,
+ spreadCost: -50,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '3,210.00',
- swap_long: -3.52,
- swap_short: 1.47,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '3,210.00',
+ swapLong: -3.52,
+ swapShort: 1.47,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -711,13 +711,13 @@ export const trading_condition = {
description: 'Canadian Dollar vs Swiss Franc',
icon: ,
},
- spread_cost: -12.23,
+ spreadCost: -12.23,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '3,680.57',
- swap_long: 4.61,
- swap_short: -7.05,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '3,680.57',
+ swapLong: 4.61,
+ swapShort: -7.05,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -725,13 +725,13 @@ export const trading_condition = {
description: 'Canadian Dollar vs Japanese Yen',
icon: ,
},
- spread_cost: -12.43,
+ spreadCost: -12.43,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '3,687.38',
- swap_long: 13.41,
- swap_short: -17.2,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '3,687.38',
+ swapLong: 13.41,
+ swapShort: -17.2,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -739,13 +739,13 @@ export const trading_condition = {
description: 'Swiss Franc vs Japanese Yen',
icon: ,
},
- spread_cost: -16.57,
+ spreadCost: -16.57,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,680.44',
- swap_long: 5.54,
- swap_short: -11.82,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,680.44',
+ swapLong: 5.54,
+ swapShort: -11.82,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -753,13 +753,13 @@ export const trading_condition = {
description: 'Euro vs Australian Dollar',
icon: ,
},
- spread_cost: -11.91,
+ spreadCost: -11.91,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,401.31',
- swap_long: -4.09,
- swap_short: -1.49,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,401.31',
+ swapLong: -4.09,
+ swapShort: -1.49,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -767,13 +767,13 @@ export const trading_condition = {
description: 'Euro vs Canadian Dollar',
icon: ,
},
- spread_cost: -11.32,
+ spreadCost: -11.32,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,403.49',
- swap_long: -7.36,
- swap_short: 2.55,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,403.49',
+ swapLong: -7.36,
+ swapShort: 2.55,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -781,13 +781,13 @@ export const trading_condition = {
description: 'Euro vs Swiss Franc',
icon: ,
},
- spread_cost: -7.78,
+ spreadCost: -7.78,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,416.20',
- swap_long: 3.67,
- swap_short: -7.05,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,416.20',
+ swapLong: 3.67,
+ swapShort: -7.05,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -795,13 +795,13 @@ export const trading_condition = {
description: 'Euro vs Great Britain Pound',
icon: ,
},
- spread_cost: -10.09,
+ spreadCost: -10.09,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,407.05',
- swap_long: -4.89,
- swap_short: 2.2,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,407.05',
+ swapLong: -4.89,
+ swapShort: 2.2,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -809,13 +809,13 @@ export const trading_condition = {
description: 'Euro vs Hong Kong Dollar',
icon: ,
},
- spread_cost: -20.03,
+ spreadCost: -20.03,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,429.09',
- swap_long: 3.72,
- swap_short: -58.8,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,429.09',
+ swapLong: 3.72,
+ swapShort: -58.8,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -823,13 +823,13 @@ export const trading_condition = {
description: 'Euro vs Israeli Shekel',
icon: ,
},
- spread_cost: -608.21,
+ spreadCost: -608.21,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,440.31',
- swap_long: -16.19,
- swap_short: -13.1,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,440.31',
+ swapLong: -16.19,
+ swapShort: -13.1,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -837,13 +837,13 @@ export const trading_condition = {
description: 'Euro vs Japanese Yen',
icon: ,
},
- spread_cost: -8.98,
+ spreadCost: -8.98,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,428.41',
- swap_long: 14.56,
- swap_short: -19.8,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,428.41',
+ swapLong: 14.56,
+ swapShort: -19.8,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -851,13 +851,13 @@ export const trading_condition = {
description: 'Euro vs Mexican Peso',
icon: ,
},
- spread_cost: -37.67,
+ spreadCost: -37.67,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,408.55',
- swap_long: -468.86,
- swap_short: 306.73,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,408.55',
+ swapLong: -468.86,
+ swapShort: 306.73,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -865,13 +865,13 @@ export const trading_condition = {
description: 'Euro vs Norwegian Krone',
icon: ,
},
- spread_cost: -32.12,
+ spreadCost: -32.12,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,452.08',
- swap_long: -40.97,
- swap_short: -17.76,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,452.08',
+ swapLong: -40.97,
+ swapShort: -17.76,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -879,13 +879,13 @@ export const trading_condition = {
description: 'Euro vs New Zealand Dollar',
icon: ,
},
- spread_cost: -7.88,
+ spreadCost: -7.88,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,401.88',
- swap_long: -11.74,
- swap_short: 4.69,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,401.88',
+ swapLong: -11.74,
+ swapShort: 4.69,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -893,13 +893,13 @@ export const trading_condition = {
description: 'Euro vs Polish Zloty',
icon: ,
},
- spread_cost: -29.84,
+ spreadCost: -29.84,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,396.50',
- swap_long: -52.16,
- swap_short: 30.55,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,396.50',
+ swapLong: -52.16,
+ swapShort: 30.55,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -907,13 +907,13 @@ export const trading_condition = {
description: 'Euro vs Singapore Dollar',
icon: ,
},
- spread_cost: -36.13,
+ spreadCost: -36.13,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,430.80',
- swap_long: -5.65,
- swap_short: -3.89,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,430.80',
+ swapLong: -5.65,
+ swapShort: -3.89,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -921,13 +921,13 @@ export const trading_condition = {
description: 'Euro vs Swedish Krona',
icon: ,
},
- spread_cost: -28.54,
+ spreadCost: -28.54,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,394.36',
- swap_long: -23.46,
- swap_short: -34.24,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,394.36',
+ swapLong: -23.46,
+ swapShort: -34.24,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -935,13 +935,13 @@ export const trading_condition = {
description: 'Euro vs US Dollar',
icon: ,
},
- spread_cost: -5,
+ spreadCost: -5,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,421.10',
- swap_long: -6.62,
- swap_short: 3.45,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,421.10',
+ swapLong: -6.62,
+ swapShort: 3.45,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -949,13 +949,13 @@ export const trading_condition = {
description: 'Euro vs South African Rand',
icon: ,
},
- spread_cost: -45.73,
+ spreadCost: -45.73,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,428.00',
- swap_long: -322.62,
- swap_short: 209.74,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,428.00',
+ swapLong: -322.62,
+ swapShort: 209.74,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -963,13 +963,13 @@ export const trading_condition = {
description: 'Great Britain Pound vs Australian Dollar',
icon: ,
},
- spread_cost: -9.26,
+ spreadCost: -9.26,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '6,274.14',
- swap_long: 3.24,
- swap_short: -9.91,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '6,274.14',
+ swapLong: 3.24,
+ swapShort: -9.91,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -977,13 +977,13 @@ export const trading_condition = {
description: 'Great Britain Pound vs Canadian Dollar',
icon: ,
},
- spread_cost: -21.13,
+ spreadCost: -21.13,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '6,302.42',
- swap_long: -1.57,
- swap_short: -4.17,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '6,302.42',
+ swapLong: -1.57,
+ swapShort: -4.17,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -991,13 +991,13 @@ export const trading_condition = {
description: 'Great Britain Pound vs Swiss Franc',
icon: ,
},
- spread_cost: -20.02,
+ spreadCost: -20.02,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '6,314.56',
- swap_long: 8.82,
- swap_short: -12.85,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '6,314.56',
+ swapLong: 8.82,
+ swapShort: -12.85,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1005,13 +1005,13 @@ export const trading_condition = {
description: 'Great Britain Pound vs Japanese Yen',
icon: ,
},
- spread_cost: -8.29,
+ spreadCost: -8.29,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '6,301.17',
- swap_long: 24.5,
- swap_short: -30.77,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '6,301.17',
+ swapLong: 24.5,
+ swapShort: -30.77,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1019,13 +1019,13 @@ export const trading_condition = {
description: 'Great British Pound vs Norwegian Krone',
icon: ,
},
- spread_cost: -39.34,
+ spreadCost: -39.34,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '6,351.78',
- swap_long: 7.43,
- swap_short: -76.99,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '6,351.78',
+ swapLong: 7.43,
+ swapShort: -76.99,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1033,13 +1033,13 @@ export const trading_condition = {
description: 'Great Britain Pound vs New Zealand Dollar',
icon: ,
},
- spread_cost: -23.65,
+ spreadCost: -23.65,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '6,292.86',
- swap_long: -4.96,
- swap_short: -3.43,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '6,292.86',
+ swapLong: -4.96,
+ swapShort: -3.43,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1047,13 +1047,13 @@ export const trading_condition = {
description: 'Great British Pound vs Swedish Krona',
icon: ,
},
- spread_cost: -41.15,
+ spreadCost: -41.15,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '6,284.19',
- swap_long: 29.2,
- swap_short: -97.59,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '6,284.19',
+ swapLong: 29.2,
+ swapShort: -97.59,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1061,13 +1061,13 @@ export const trading_condition = {
description: 'Great British Pound vs Singapore Dollar',
icon: ,
},
- spread_cost: -49.4,
+ spreadCost: -49.4,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '6,319.22',
- swap_long: 0.4,
- swap_short: -11.66,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '6,319.22',
+ swapLong: 0.4,
+ swapShort: -11.66,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1075,13 +1075,13 @@ export const trading_condition = {
description: 'Great Britain Pound vs US Dollar',
icon: ,
},
- spread_cost: -8,
+ spreadCost: -8,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '6,299.50',
- swap_long: -2.56,
- swap_short: -1.23,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '6,299.50',
+ swapLong: -2.56,
+ swapShort: -1.23,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1089,13 +1089,13 @@ export const trading_condition = {
description: 'Hong Kong Dollar vs Japanese Yen',
icon: ,
},
- spread_cost: -124.31,
+ spreadCost: -124.31,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: 637.43,
- swap_long: 0.71,
- swap_short: -1.96,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: 637.43,
+ swapLong: 0.71,
+ swapShort: -1.96,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1103,13 +1103,13 @@ export const trading_condition = {
description: 'New Zealand Dollar vs Canadian Dollar',
icon: ,
},
- spread_cost: -12.83,
+ spreadCost: -12.83,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '2,953.97',
- swap_long: -0.73,
- swap_short: -2.53,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '2,953.97',
+ swapLong: -0.73,
+ swapShort: -2.53,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1117,13 +1117,13 @@ export const trading_condition = {
description: 'New Zealand Dollar vs Swiss Franc',
icon: ,
},
- spread_cost: -13.34,
+ spreadCost: -13.34,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '2,965.59',
- swap_long: 4.14,
- swap_short: -6.4,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '2,965.59',
+ swapLong: 4.14,
+ swapShort: -6.4,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1131,13 +1131,13 @@ export const trading_condition = {
description: 'New Zealand Dollar vs Japanese Yen',
icon: ,
},
- spread_cost: -6.91,
+ spreadCost: -6.91,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '2,965.33',
- swap_long: 11.5,
- swap_short: -15.05,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '2,965.33',
+ swapLong: 11.5,
+ swapShort: -15.05,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1145,13 +1145,13 @@ export const trading_condition = {
description: 'New Zealand Dollar vs US Dollar',
icon: ,
},
- spread_cost: -10,
+ spreadCost: -10,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '2,949.85',
- swap_long: -1.2,
- swap_short: -1,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '2,949.85',
+ swapLong: -1.2,
+ swapShort: -1,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1159,13 +1159,13 @@ export const trading_condition = {
description: 'US Dollar vs Canadian Dollar',
icon: ,
},
- spread_cost: -7.55,
+ spreadCost: -7.55,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: -0.38,
- swap_short: -3.88,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: -0.38,
+ swapShort: -3.88,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1173,13 +1173,13 @@ export const trading_condition = {
description: 'US Dollar vs Swiss Franc',
icon: ,
},
- spread_cost: -8.9,
+ spreadCost: -8.9,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: 7.56,
- swap_short: -10.57,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: 7.56,
+ swapShort: -10.57,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1187,13 +1187,13 @@ export const trading_condition = {
description: 'US Dollar vs Chinese Renminbi',
icon: ,
},
- spread_cost: -16.37,
+ spreadCost: -16.37,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: 23.81,
- swap_short: -69.2,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: 23.81,
+ swapShort: -69.2,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1201,13 +1201,13 @@ export const trading_condition = {
description: 'US Dollar vs Israeli Shekel',
icon: ,
},
- spread_cost: -63.79,
+ spreadCost: -63.79,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: 2.95,
- swap_short: -29.55,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: 2.95,
+ swapShort: -29.55,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1215,13 +1215,13 @@ export const trading_condition = {
description: 'US Dollar vs Singapore Dollar',
icon: ,
},
- spread_cost: -14.01,
+ spreadCost: -14.01,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: 1.18,
- swap_short: -9.82,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: 1.18,
+ swapShort: -9.82,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1229,13 +1229,13 @@ export const trading_condition = {
description: 'US Dollar vs Japanese Yen',
icon: ,
},
- spread_cost: -6.22,
+ spreadCost: -6.22,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: 20.37,
- swap_short: -25.03,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: 20.37,
+ swapShort: -25.03,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1243,13 +1243,13 @@ export const trading_condition = {
description: 'US Dollar vs Hong Kong Dollar',
icon: ,
},
- spread_cost: 63.53,
+ spreadCost: 63.53,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: 40.44,
- swap_short: -90.38,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: 40.44,
+ swapShort: -90.38,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1257,13 +1257,13 @@ export const trading_condition = {
description: 'US Dollar vs Mexican Peso',
icon: ,
},
- spread_cost: -20.91,
+ spreadCost: -20.91,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: -354.18,
- swap_short: 206.4,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: -354.18,
+ swapShort: 206.4,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1271,13 +1271,13 @@ export const trading_condition = {
description: 'US Dollar vs Norwegian Krone',
icon: ,
},
- spread_cost: -22.87,
+ spreadCost: -22.87,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: 12.68,
- swap_short: -65.63,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: 12.68,
+ swapShort: -65.63,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1285,13 +1285,13 @@ export const trading_condition = {
description: 'US Dollar vs Polish Zloty',
icon: ,
},
- spread_cost: -32.04,
+ spreadCost: -32.04,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: -28.73,
- swap_short: 9.27,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: -28.73,
+ swapShort: 9.27,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1299,13 +1299,13 @@ export const trading_condition = {
description: 'US Dollar vs Swedish Krona',
icon: ,
},
- spread_cost: -29.09,
+ spreadCost: -29.09,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: 30.13,
- swap_short: -82.09,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: 30.13,
+ swapShort: -82.09,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1313,13 +1313,13 @@ export const trading_condition = {
description: 'US Dollar vs Thai Baht',
icon: ,
},
- spread_cost: -33.66,
+ spreadCost: -33.66,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: 176.63,
- swap_short: -433.46,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: 176.63,
+ swapShort: -433.46,
+ daySwap: 'Wednesday',
},
{
instrument: {
@@ -1327,17 +1327,17 @@ export const trading_condition = {
description: 'US Dollar vs South African Rand',
icon: ,
},
- spread_cost: -26.96,
+ spreadCost: -26.96,
commission: '0',
- effective_leverage: '1 : 20',
- margin_requirement: '5,000.00',
- swap_long: -210.43,
- swap_short: 108.41,
- day_swap: 'Wednesday',
+ effectiveLeverage: '1 : 20',
+ marginRequirement: '5,000.00',
+ swapLong: -210.43,
+ swapShort: 108.41,
+ daySwap: 'Wednesday',
},
],
};
-export const additional_info = {
+export const additionalInfo = {
data: [
{
instrument: {
@@ -1345,11 +1345,11 @@ export const additional_info = {
description: 'Australian Dollar vs Canadian Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1357,11 +1357,11 @@ export const additional_info = {
description: 'Australian Dollar vs Swiss Franc',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1369,11 +1369,11 @@ export const additional_info = {
description: 'Australian Dollar vs Japanese Yen',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1381,11 +1381,11 @@ export const additional_info = {
description: 'Australian Dollar vs New Zealand Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1393,11 +1393,11 @@ export const additional_info = {
description: 'Australian Dollar vs Singapore Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1405,11 +1405,11 @@ export const additional_info = {
description: 'Australian Dollar vs US Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1417,11 +1417,11 @@ export const additional_info = {
description: 'Canadian Dollar vs Swiss Franc',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1429,11 +1429,11 @@ export const additional_info = {
description: 'Canadian Dollar vs Japanese Yen',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1441,11 +1441,11 @@ export const additional_info = {
description: 'Swiss Franc vs Japanese Yen',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1453,11 +1453,11 @@ export const additional_info = {
description: 'Euro vs Australian Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1465,11 +1465,11 @@ export const additional_info = {
description: 'Euro vs Canadian Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1477,11 +1477,11 @@ export const additional_info = {
description: 'Euro vs Swiss Franc',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1489,11 +1489,11 @@ export const additional_info = {
description: 'Euro vs Great Britain Pound',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1501,11 +1501,11 @@ export const additional_info = {
description: 'Euro vs Hong Kong Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1513,11 +1513,11 @@ export const additional_info = {
description: 'Euro vs Israeli Shekel',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1525,11 +1525,11 @@ export const additional_info = {
description: 'Euro vs Japanese Yen',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1537,11 +1537,11 @@ export const additional_info = {
description: 'Euro vs Mexican Peso',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1549,11 +1549,11 @@ export const additional_info = {
description: 'Euro vs Norwegian Krone',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1561,11 +1561,11 @@ export const additional_info = {
description: 'Euro vs New Zealand Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1573,11 +1573,11 @@ export const additional_info = {
description: 'Euro vs Polish Zloty',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1585,11 +1585,11 @@ export const additional_info = {
description: 'Euro vs Singapore Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1597,11 +1597,11 @@ export const additional_info = {
description: 'Euro vs Swedish Krona',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1609,11 +1609,11 @@ export const additional_info = {
description: 'Euro vs US Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1621,11 +1621,11 @@ export const additional_info = {
description: 'Euro vs South African Rand',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1633,11 +1633,11 @@ export const additional_info = {
description: 'Great Britain Pound vs Australian Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1645,11 +1645,11 @@ export const additional_info = {
description: 'Great Britain Pound vs Canadian Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1657,11 +1657,11 @@ export const additional_info = {
description: 'Great Britain Pound vs Swiss Franc',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1669,11 +1669,11 @@ export const additional_info = {
description: 'Great Britain Pound vs Japanese Yen',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1681,11 +1681,11 @@ export const additional_info = {
description: 'Great British Pound vs Norwegian Krone',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1693,11 +1693,11 @@ export const additional_info = {
description: 'Great Britain Pound vs New Zealand Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1705,11 +1705,11 @@ export const additional_info = {
description: 'Great British Pound vs Swedish Krona',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1717,11 +1717,11 @@ export const additional_info = {
description: 'Great British Pound vs Singapore Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1729,11 +1729,11 @@ export const additional_info = {
description: 'Great Britain Pound vs US Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1741,11 +1741,11 @@ export const additional_info = {
description: 'Hong Kong Dollar vs Japanese Yen',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1753,11 +1753,11 @@ export const additional_info = {
description: 'New Zealand Dollar vs Canadian Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1765,11 +1765,11 @@ export const additional_info = {
description: 'New Zealand Dollar vs Swiss Franc',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1777,11 +1777,11 @@ export const additional_info = {
description: 'New Zealand Dollar vs Japanese Yen',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1789,11 +1789,11 @@ export const additional_info = {
description: 'New Zealand Dollar vs US Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1801,11 +1801,11 @@ export const additional_info = {
description: 'US Dollar vs Canadian Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1813,11 +1813,11 @@ export const additional_info = {
description: 'US Dollar vs Swiss Franc',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1825,11 +1825,11 @@ export const additional_info = {
description: 'US Dollar vs Chinese Renminbi',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1837,11 +1837,11 @@ export const additional_info = {
description: 'US Dollar vs Israeli Shekel',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1849,11 +1849,11 @@ export const additional_info = {
description: 'US Dollar vs Singapore Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1861,11 +1861,11 @@ export const additional_info = {
description: 'US Dollar vs Japanese Yen',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1873,11 +1873,11 @@ export const additional_info = {
description: 'US Dollar vs Hong Kong Dollar',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1885,11 +1885,11 @@ export const additional_info = {
description: 'US Dollar vs Mexican Peso',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1897,11 +1897,11 @@ export const additional_info = {
description: 'US Dollar vs Norwegian Krone',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1909,11 +1909,11 @@ export const additional_info = {
description: 'US Dollar vs Polish Zloty',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1921,11 +1921,11 @@ export const additional_info = {
description: 'US Dollar vs Swedish Krona',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
{
instrument: {
@@ -1933,11 +1933,11 @@ export const additional_info = {
description: 'US Dollar vs Thai Baht',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 5,
- volume_step: 0.01,
- volume_limit: 5,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 5,
+ volumeStep: 0.01,
+ volumeLimit: 5,
},
{
instrument: {
@@ -1945,11 +1945,11 @@ export const additional_info = {
description: 'US Dollar vs South African Rand',
icon: ,
},
- contract_size: 100000,
- min_volume: 0.01,
- max_volume: 10,
- volume_step: 0.01,
- volume_limit: 15,
+ contractSize: 100000,
+ minVolume: 0.01,
+ maxVolume: 10,
+ volumeStep: 0.01,
+ volumeLimit: 15,
},
],
};
diff --git a/libs/templates/src/lib/trade/hooks/use-columns.tsx b/libs/templates/src/lib/trade/hooks/use-columns.tsx
index c33015a43..e7c2ed7d3 100644
--- a/libs/templates/src/lib/trade/hooks/use-columns.tsx
+++ b/libs/templates/src/lib/trade/hooks/use-columns.tsx
@@ -26,7 +26,7 @@ const UseColumns = (selected: string) => {
>
),
}),
- columnHelper.accessor('current_bid', {
+ columnHelper.accessor('currentBid', {
header: () => (
{
>
),
}),
- columnHelper.accessor('current_ask', {
+ columnHelper.accessor('currentAsk', {
header: () => (
{
),
}),
]
- : selected === 'trading_condition'
+ : selected === 'tradingCondition'
? [
columnHelper.accessor('instrument', {
header: () => (
@@ -105,7 +105,7 @@ const UseColumns = (selected: string) => {
>
),
}),
- columnHelper.accessor('spread_cost', {
+ columnHelper.accessor('spreadCost', {
header: () => (
{
>
),
}),
- columnHelper.accessor('effective_leverage', {
+ columnHelper.accessor('effectiveLeverage', {
header: () => (
{
>
),
}),
- columnHelper.accessor('margin_requirement', {
+ columnHelper.accessor('marginRequirement', {
header: () => (
{
>
),
}),
- columnHelper.accessor('swap_long', {
+ columnHelper.accessor('swapLong', {
header: () => (
{
>
),
}),
- columnHelper.accessor('swap_short', {
+ columnHelper.accessor('swapShort', {
header: () => (
{
),
}),
- columnHelper.accessor('day_swap', {
+ columnHelper.accessor('daySwap', {
header: () => (
{
>
),
}),
- columnHelper.accessor('contract_size', {
+ columnHelper.accessor('contractSize', {
header: () => (
{
>
),
}),
- columnHelper.accessor('min_volume', {
+ columnHelper.accessor('minVolume', {
header: () => (
{
>
),
}),
- columnHelper.accessor('max_volume', {
+ columnHelper.accessor('maxVolume', {
header: () => (
{
>
),
}),
- columnHelper.accessor('volume_step', {
+ columnHelper.accessor('volumeStep', {
header: () => (
{
>
),
}),
- columnHelper.accessor('volume_limit', {
+ columnHelper.accessor('volumeLimit', {
header: () => (
{
const [data, setData] = useState([]);
- const [selected_filter, setSelectedFilter] = useState(
+ const [selectedFilter, setSelectedFilter] = useState(
mainInfo.data,
);
const [selectedInfo, setSelectedInfo] = useState('mainInfo');
@@ -39,7 +39,7 @@ const TradingSpecTable = () => {
let updatedRowData = [];
if (searchValue.length >= 1) {
updatedRowData = [
- ...selected_filter.filter(
+ ...selectedFilter.filter(
(item) =>
item.instrument?.instrument?.match(new RegExp(searchValue, 'i')),
),
@@ -47,9 +47,9 @@ const TradingSpecTable = () => {
setData(updatedRowData);
} else {
- setData(selected_filter);
+ setData(selectedFilter);
}
- }, [searchValue, selected_filter]);
+ }, [searchValue, selectedFilter]);
const columns = UseColumns(selectedInfo);
@@ -108,13 +108,13 @@ const TradingSpecTable = () => {