File size: 457 Bytes
0425a43
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import pxyq
# Examples for using the function call `pxyq.column('ASSET')`, read `pxyq.py` for more information about `columns` and `ASSET`

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