# The Proxy Quotes (pxyq) library includes a fuction for calling the cell value with respect to a column and row of the csv dataset table. It calls for proxy `stoploss distance, lotsize, and margins with leverages covering a betsize of 1 cash, commissions, swaps, spread,` and more. It only have one simple function call, and that is `pxyq.column('ASSET')`. - step 1: make sure you have `pxyq.py` in your directory. No need pip installations. - step 2: make an `import pxyq` is written on top of your code. - step 3: try calling the cell value by using the fuction call `pxyq.column('ASSET')`. The CSV file contents are in `dataset.csv`, and the only main python library is `pxyq.py`. --- # Sample dummy.py ##Function call exampple format: `pxyq.column('ASSET')` ```python import pxyq # Examples stoploss_distance = pxyq.proxy_stoploss_distance_covering_1_cash('NZDJPYc') print(stoploss_distance) # 0.041 dec_of_AUDJPYc = pxyq.true_decimal_digits('AUDJPYc') print(dec_of_AUDJPYc) # 3 margin_100 = pxyq.proxy_margin_with_leverage_1000_covering_1_cash('EURUSDc') print(margin_100) # 22.86 ``` --- # All ASSET for function call `pxyq.column('ASSET')` ```txt AUDCADc AUDCHFc AUDJPYc AUDNZDc AUDUSDc CADJPYc CHFJPYc EURAUDc EURCADc EURCHFc EURGBPc EURJPYc EURNZDc EURUSDc GBPAUDc GBPCADc GBPCHFc GBPJPYc GBPNZDc GBPUSDc NZDJPYc NZDUSDc USDCADc USDCHFc USDJPYc XAGUSDc XAUUSDc ``` --- # All columns for function call `pxyq.column('ASSET')` ```txt category true_decimal_digits proxy_stoploss_distance_covering_1_cash proxy_lotsize_covering_1_cash true_contract_size true_contract_type proxy_margin_with_leverage_50_covering_1_cash proxy_margin_with_leverage_100_covering_1_cash proxy_margin_with_leverage_200_covering_1_cash proxy_margin_with_leverage_1000_covering_1_cash true_tick_size proxy_bid_price proxy_ask_price proxy_spread_in_ticks proxy_spread_in_pips proxy_long_swap_in_pips_for_standard_accounts proxy_short_swap_in_pips_for_standard_accounts proxy_commission_per_lot_per_side_for_pro_accounts proxy_long_swap_in_pips_for_pro_accounts proxy_short_swap_in_pips_for_pro_accounts proxy_commission_per_lot_per_side_for_zero_accounts proxy_long_swap_in_pips_for_zero_accounts proxy_short_swap_in_pips_for_zero_accounts proxy_commission_per_lot_per_side_for_rawspread_accounts proxy_long_swap_in_pips_for_rawspread_accounts proxy_short_swap_in_pips_for_rawspread_accounts ``` # NOTE: the function call `pxyq.column('ASSET')` will get the value of a cell of the input column with its corresponding input ASSET (or the row) # Author: algorembrant