<jupyter_start><jupyter_text>* Calling the `resolve()` method will resolve any relative parameters to absolute values and fill in unspecified parameters.* `resolve()` will change the state of the instrument object in place by default unless argument `in_place` is `False`.* `resolve` can be used to "fix" the instrument parameters when evaluating pricing & risk.<jupyter_code>my_swap = IRSwap(PayReceive.Pay, '13m', fixed_rate='atm+30')  
# note fixed_rate and termination_date are resolved to a float and date, respectively
print(my_swap.resolve(in_place=False).as_dict())<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09286898839137644, 'fraction_numerical': 0.006633499170812604, 'mean_word_length': 6.947368421052632, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '246556', 'license': 'Apache-2.0', 'n_tokens_mistral': 177, 'n_tokens_neox': 167, 'n_words': 65, 'path': 'gs_quant/examples/00_basics/0004_resolve-a-trade.ipynb', 'repo_name': 'jeamick/gs-quant', 'size': '603'}